Commit Graph

2119 Commits

Author SHA1 Message Date
Bofh f4677e45f4 Filter #fedilove on federated timeline and direct messages
to-do: think about leaving this client side?
Is there a way to filter federated toots on Mastodon by searching a name containing X string?
2020-12-31 01:22:13 +01:00
Bofh 3d0eaaea66 Change Chat page UI 2020-12-30 23:17:58 +01:00
Bofh 136d51e2bc Improved UI when first loading WebApp (you could see the no-script base blue theme) + some cleanup 2020-12-30 20:14:48 +01:00
Bofh 58c4049d09 Fixed race condition where the chat update function could not be used 2020-12-30 15:43:59 +01:00
Bofh 7649f30323 Add chat enter to send + chat ctrl or shift enter to keep writing 2020-12-30 15:35:48 +01:00
Bofh cc04ede6f2 Make all chat messages the same (no highlighted msg) + Put like icon to all messages 2020-12-30 12:04:02 +01:00
Bofh bcbe400d76 Mom!! I think i fixed a race condition (a.k.a bug) 2020-12-29 18:02:52 +01:00
Bofh b15694c349 Add acct @user@domain on chat header + allow more messages even if party did not respond any 2020-12-29 17:49:35 +01:00
Bofh 719b9f21f0 Improved message send on chat feature + caching and UI improvements 2020-12-29 16:13:04 +01:00
Bofh 34a9411d32 Now chat avatar and name corresponds to the real one (+ emojis + custom_emojis) 2020-12-29 01:07:16 +01:00
Bofh 71cc36c7f8 Added "back" button on 1v1 chat + some UI improvements 2020-12-29 00:23:00 +01:00
Bofh c205f3ecc7 Improved the chat + added basic test layer of party information header 2020-12-28 23:07:37 +01:00
Bofh 389a276542 UI improvements on chat feature + don't send empty messages xD 2020-12-28 16:05:31 +01:00
Bofh efe1ace42a Emoji feature done! (well enough) + some fixes 2020-12-28 15:01:15 +01:00
Bofh 30887e640e Improved chatting and added toolbar for message composition (not working yet) 2020-12-28 12:26:04 +01:00
Bofh 03c239bac2 Fixed chat responder messages are real-time now! + a few fixes 2020-12-27 19:12:03 +01:00
Bofh 6b562194ff Temporary way to update chat feed on new message (should be improved) 2020-12-25 18:53:20 +01:00
Bofh 71670ebfbf Implemented message sending via a custom text box to the highlighted status
Added event to recieve notifications so we can update the chat feed on this event
2020-12-25 18:08:21 +01:00
Bofh a50b24d0c3 Commit the rest, upss 2020-12-25 15:22:07 +01:00
Bofh 4bc36e3ae0 Added Like feature and animation emulating a Fav on Mastodon
Added jquery library to handle UI changes
2020-12-25 15:21:04 +01:00
Bofh c4e38372be New feature! chats now have different style for me and the other user 2020-12-25 02:59:12 +01:00
Bofh e696005c13 JS for each page hook + Chat UI improve
Hooked custom plain javascript listener on every page to handle modifications without using React + Chat UI improvements
2020-12-25 01:42:30 +01:00
Bofh 89e32e480e Improved chat screen + added send message bottom fixed layer 2020-12-24 19:52:22 +01:00
Bofh 4aa5f4d341 Deleted unused pages + UI structure changes + Direct Chat styles! 2020-12-24 16:50:17 +01:00
Bofh 1e19fc7dbc Icon added <3 and a bit more UI changes 2020-12-24 00:44:38 +01:00
Bofh 259c336e87 First modifications to emulate a federated Tinder 2020-12-23 23:00:14 +01:00
Nolan Lawson 0afaef350a
perf: remove lookup-closest-locale (#1911) 2020-12-20 15:33:41 -08:00
Nolan Lawson a028a7e880
feat: intl support for emoji picker (#1910)
* feat: intl support for emoji picker

Fixes #1908

* fix: update emoji-picker-element

* fix: fix typo
2020-12-18 20:02:36 -08:00
dependabot[bot] 2de875795b
chore(deps): bump ini from 1.3.5 to 1.3.7 (#1907)
Bumps [ini](https://github.com/isaacs/ini) from 1.3.5 to 1.3.7.
- [Release notes](https://github.com/isaacs/ini/releases)
- [Commits](https://github.com/isaacs/ini/compare/v1.3.5...v1.3.7)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-12-13 11:33:12 -08:00
Nolan Lawson 6433a9c644
test: fix timeago unit test (#1906) 2020-11-29 18:50:13 -08:00
Nolan Lawson 0022286b46
fix: first stab at i18n, extract English strings, add French (#1904)
* first attempt

* progress

* working

* working

* test timeago

* rm

* get timeago working

* reduce size

* fix whitespace

* more intl stuff

* more effort

* more work

* more progress

* more work

* more intl

* set lang=LOCALE

* flatten

* more work

* add ltr/rtl

* more work

* add comments

* yet more work

* still more work

* more work

* fix tests

* more test and string fixes

* fix test

* fix test

* fix test

* fix some more strings, add test

* fix snackbar

* fix }

* fix typo

* fix english

* measure perf

* start on french

* more work on french

* more french

* more french

* finish french

* fix some missing translations

* update readme

* fix test
2020-11-29 14:13:27 -08:00
Nolan Lawson 583285a09c
chore: update testcafe to 1.9.4 (#1905) 2020-11-27 19:13:55 -08:00
Nolan Lawson 5bf5e1d36e
test: add test for relative timeago date formatting (#1903) 2020-11-25 16:43:12 -08:00
Nolan Lawson 69aad56421
fix: fix tainted canvas error with OCR (#1902)
* fix: fix tainted canvas error with OCR

fixes #1901

* fix: minor tweaks
2020-11-24 15:37:10 -08:00
Nolan Lawson d3ce112f60
chore: fix bundler caching in circleci (#1899) 2020-11-23 18:07:38 -08:00
Nolan Lawson a124ba9dc8
chore: cache bundler correctly in CircleCI (#1898) 2020-11-23 16:29:03 -08:00
Nolan Lawson f2e51bbbfe 1.20.0 2020-11-23 14:47:45 -08:00
Nolan Lawson de2c58be6a
chore: commit vercel.json, update husky (#1896) 2020-11-23 14:43:39 -08:00
Nolan Lawson ac08a53014
chore: switch from travis to circleci (#1895)
* chore: update to circleci

* chore: fixup

* chore: fixup

* chore: remove travis.yml

* chore: wait for redis

* chore: fix postgres

* chore: try to fix db

* chore: debug

* chore: debug

* chore: try another node

* chore: try 2.5

* chore: fix node

* chore: fix node

* chore: fix node

* chore: fix node

* chore: fix node

* chore: fix node

* chore: fix node

* chore: fix node

* chore: fix node

* chore: fix node

* chore: cleanup

* chore: cleanup

* chore: remove travis stuff

* chore: fix emoji

* chore: fix cache

* chore: update readme
2020-11-23 12:45:01 -08:00
Nolan Lawson 006f0deee8
fix: fix tappable area between toolbar buttons (#1893)
fixes #1884

If "disable entire toot area" is on, then the cursor becomes default between the buttons, and clicking does nothing. If it is off (default), then the cursor is always pointer and clicking between the buttons clicks the whole toot.
2020-11-14 17:22:12 -08:00
Nolan Lawson 01ba161520
chore: update vercel token (#1892) 2020-11-14 15:04:28 -08:00
Nolan Lawson 9cb16ea91c
fix: move "bookmark" button past "report" (#1891)
fixes #1879
2020-11-14 14:13:45 -08:00
Nolan Lawson 870fa0e93c
feat: add "i" as shortcut to open media (#1890)
fixes #1883
2020-11-14 14:13:38 -08:00
Nolan Lawson 742a76b4dd
chore: update tesseract (#1889) 2020-11-14 14:13:31 -08:00
Nolan Lawson 57b75ade1b
chore: update emoji-picker-element to v1.3.0 (#1888) 2020-11-14 14:13:22 -08:00
Timo Tijhof 9acb3faac8
fix: change dark grayscale to use have a brighter action-button color (#1881)
The pressed state, such as used for the "Unfollow" button, was effectively
identical to the background, thus making it invisible.

Brighten it up to fix this. The relative differences are kept the same as
before and match the default theme,, e.g. the brightness ranges from
(darkest) Unfollow > Unfollow-hover > Follow > Follow-hover (brightest)

Fixes https://github.com/nolanlawson/pinafore/issues/1880.
2020-11-14 11:35:55 -08:00
Nolan Lawson f09e1bd975 1.19.2 2020-09-20 19:49:16 -07:00
Nolan Lawson ef3cecae74
chore: update deps of deps (#1876)
* chore: update deps of deps

* chore: pin testcafe for now
2020-09-20 19:37:45 -07:00
Nolan Lawson 04b56f5dc5
fix: remove license files from service worker (#1875) 2020-09-20 14:31:15 -07:00
Nolan Lawson 620dfafd09
chore: update emoji-picker-element (#1871) 2020-09-13 16:23:01 -07:00