Commit Graph

290 Commits (a230f5879a838a0b8df18c219e85401febd15275)

Author SHA1 Message Date
Eugen Rochko 779423204a [Glitch] Change conversations UI
Port 5d5af651f1 to glitch-soc

Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2019-09-30 17:01:16 +02:00
Thibaut Girka af4934f742 Fix using wrong component in ColumnBackButtonSlim 2019-09-30 15:58:29 +02:00
ThibG 1aa14b5873 [Glitch] Add voters count support
Port front-end changes from f088e090e4 to glitch-soc

Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2019-09-30 15:58:29 +02:00
ThibG 8c38db77c1 [Glitch] Change vote results to display ex-aequo leading options as leading
Port 812a7828d1 to glitch-soc

Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2019-09-30 15:58:29 +02:00
ThibG c8030f582c [Glitch] Fix vote checkmark in poll results
Port 03d3481688 to glitch-soc

Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2019-09-30 15:58:29 +02:00
ThibG 404dbc5e96 [Glitch] Show user what options they have voted
Port front-end changes from c596206f8c to glitch-soc

Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2019-09-30 15:58:29 +02:00
ThibG 073df8d25b [Glitch] Fix “slow mode” issues
Port 7f7f8cac37 to glitch-soc

Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2019-09-18 17:27:51 +02:00
ThibG a0c4e5b0fd [Glitch] Fix expiring polls not being displayed as such in the WebUI
Port ba7a1f9f75 to glitch-soc

Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2019-09-18 17:27:26 +02:00
Thibaut Girka 8605a25800 Fix wrong icons from last refactoring
Fix regressions from 6b45aa450b
2019-09-10 14:56:08 +02:00
Thibaut Girka 9b0b130299 Use the `Icon` component instead of directly using `i` tag 2019-09-09 19:00:20 +02:00
Thibaut Girka 6b45aa450b Use upstream's Icon component
Rework the codebase to avoid unnecessary differences with upstream
2019-09-09 19:00:20 +02:00
Thibaut Girka 080bdf6949 Move “export” before decorators
As this is what upstream does.

See also https://github.com/tc39/proposal-decorators/issues/69
2019-09-09 18:36:43 +02:00
Eugen Rochko f0806c8de1 [Glitch] Fix wrong sum of usage in hashtag component in web UI
Port b5651654f7 to glitch-soc

Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2019-09-05 14:12:18 +02:00
Eugen Rochko 2e2795a887 [Glitch] Fix wrong pluralization in hashtag component in web UI
Port 17df40e74e to glitch-soc

Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2019-09-05 14:11:52 +02:00
Eugen Rochko e7c79b11e5 [Glitch] Change hashtag component in web UI to show numbers for 2 last days
Port 8d61ef6dda to glitch-soc

Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2019-09-05 14:02:54 +02:00
Eugen Rochko 8f54a3efe0 [Glitch] Fix uncached media in web UI not being clickable
Port acf168f1a2 to glitch-soc

Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2019-09-05 14:02:04 +02:00
Eugen Rochko 8ecdf54a75 [Glitch] Add "not available" label on unknown media attachments
Port 59d873e1e5 to glitch-soc

Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2019-09-05 13:06:41 +02:00
ThibG 7d388731dc [Glitch] Restore hashtag suggestions from local tag history
Port d94a4763f6 to glitch-soc

Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2019-09-02 10:57:44 +02:00
Eugen Rochko f0c559250c [Glitch] Fix emoji autosuggestions
Port 32d2260a8c to glitch-soc

Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2019-09-02 10:57:44 +02:00
Eugen Rochko cc3ca37cda [Glitch] Add autosuggestions for hashtags
Port 450b8a70a5 to glitch-soc

Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2019-09-02 10:57:44 +02:00
Thibaut Girka 2743b33722 Fix imports importing modules from vanilla flavour instead of glitch 2019-08-31 18:23:24 +02:00
Eugen Rochko 2cdbfb39e8 [Glitch] Add profile directory to web UI
Port 79922ae20f to glitch-soc

Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2019-08-31 18:23:23 +02:00
Thibaut Girka c544962ee9 Fix clicking on the new audioplayer opening the toot in detailed view 2019-08-29 17:32:22 +02:00
Eugen Rochko 478fa5f839 [Glitch] Fix more visual issues with the audio player
Port eaa759ffd4 to glitch-soc

Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2019-08-29 17:32:22 +02:00
Eugen Rochko 024b9a24e0 [Glitch] Add audio player
Port f13761d84b to glitch-soc

Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2019-08-29 17:32:22 +02:00
Thibaut Girka 5de49ea272 Add option to rewrite mentions to mentioned user's username or acct
Fixes #666
2019-08-29 11:59:29 +02:00
Thibaut Girka 558aa2bcfd [Glitch] Fix hidden statuses losing focus
Port d8153b99b3 to glitch-soc

Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2019-08-19 21:56:25 +02:00
Eugen Rochko 284233f309 [Glitch] Fix "cancel follow request" button having unreadable text in web UI
Port aed7dca53b to glitch-soc

Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2019-08-12 16:49:12 +02:00
Eugen Rochko 37294ee595 [Glitch] Fix hashtag links always being lowercase
Port 277acb8772 to glitch-soc

Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2019-08-07 15:35:44 +02:00
ThibG ceed029a36 [Glitch] Improve focus handling with dropdown menus
Port b169874828 to glitch-soc
2019-08-07 15:11:59 +02:00
Thibaut Girka 558628eb6d Implement keyboard navigation in glitch-soc composer 2019-08-06 16:36:18 +02:00
ThibG c9a755c8a0 [Glitch] Port changes to IconButton
Port changes to IconButton from 13811f4d7b to glitch-soc

Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2019-08-06 15:09:30 +02:00
ThibG 5df5ab88f5 [Glitch] Improve dropdown menu keyboard navigation
Port 61f7ff6522 to glitch-soc

Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2019-08-06 15:09:30 +02:00
ThibG 2ff69c95ce [Glitch] Trap tab in modals
Port 0da8fdc438 to glitch-soc

Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2019-08-06 15:09:30 +02:00
Thibaut Girka bd0a478252 Fix up try/catch block in invalid URL handling 2019-08-06 13:09:49 +02:00
Thibaut Girka e6272f1af0 Remove href attribute of invalid links instead of crashing 2019-08-06 12:32:06 +02:00
ThibG 56734351d3 [Glitch] Change icon button styles to make hover/focus states more obvious
Port ebc78b6f2b to glitch-soc

Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2019-08-05 14:20:21 +02:00
Thibaut Girka 50553e097d Remove link rewriting option as it is easily bypassable 2019-08-04 22:25:56 +02:00
Thibaut Girka aad48a1d5b Perform case-insensitive comparison for international domain names
Note: this uses `toLowerCase()` instead of doing proper case folding
2019-08-04 22:25:56 +02:00
Thibaut Girka ac64cdae72 Perform case-insensitive comparison of non-International domain names 2019-08-04 22:25:56 +02:00
Thibaut Girka 69c03e0ef4 Ensure link rewriting setting changes are immediately applied 2019-08-04 22:25:56 +02:00
Thibaut Girka 9e2e7f6628 Handle Mastodon-generated links for targets starting with “www.” properly 2019-08-04 22:25:56 +02:00
Thibaut Girka 2f4cb78803 Add options to highlight misleading links in statuses
Fixes #1162
2019-08-04 22:25:56 +02:00
ThibG 1c3117f682 [Glitch] Change contrast of status links that are not mentions nor hashtags
Port 6701b9329d to glitch-soc

Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2019-07-28 16:47:36 +02:00
Thibaut Girka df7b27753c Fix links in status media having their title rewritten 2019-07-24 21:46:09 +02:00
Thibaut Girka bf93e0c7c0 Handle animated emoji on mouse hover in CWs and poll options 2019-07-23 16:24:21 +02:00
ThibG b01e5e372f [Glitch] Play animated custom emoji on hover
Port 99b3dd5b00 to glitch-soc
2019-07-23 16:24:21 +02:00
Thibaut Girka 09a68ce895 Refactor DisplayName component to make it closer to upstream 2019-07-23 10:51:12 +02:00
Thibaut Girka 4daf8b17e3 Fix filtering behaviors 2019-07-19 19:21:20 +02:00
Thibaut Girka 1e3372feb9 Fix *another* typo and crash in StatusIcons 2019-07-18 09:54:59 +02:00