Commit Graph

774 Commits

Author SHA1 Message Date
Claire 0270bd2ee5 [Glitch] Require specific subtype of `formatMessage` in `timeAgoString`
Port 6b1ea8dd2c to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2025-01-10 20:56:20 +01:00
Claire dc14695f8a
Fix extraneous margins below CW in absence of mentions (#2936) 2025-01-08 18:24:57 +01:00
Claire 0327db3db0 [Glitch] Refactor status `handleClick` and `handleHotkeyOpen` handlers
Port 9712518b2f to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2025-01-04 15:30:32 +01:00
Claire 813921295e [Glitch] Remove old notifications actions and reducers
Port 7d6da219c0 to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2025-01-03 20:54:09 +01:00
Christian Schmidt 49c5791dec [Glitch] Localize language names
Port f9582bcfc3 to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2025-01-03 20:29:08 +01:00
Claire 04be5e7f12 [Glitch] Add `t` hotkey for post translations
Port 79a9069deb to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2025-01-03 12:36:12 +01:00
gunchleoc 216b1fcd45 [Glitch] Fix favorite & bookmark text toggle in timeline, status and image view
Port 3201485df2 to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2025-01-02 22:08:43 +01:00
Jeong Arm 539fa40623 [Glitch] Fix keyboard shortcut for open status
Port a557f9bbaa to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2025-01-02 21:16:56 +01:00
Claire b7afca0f05
Change status content markup to match upstream (#2923)
* Remove option to have media outside of CWs

Upstream adopted the media-in-CW design glitch-soc originally had.

* Move poll to StatusContent

* Refactor status media icons

* Rename `forceFilter` to `showDespiteFilter` for consistency with upstream

* Change media and status content markup to match upstream's

* Add mention placeholders back
2024-12-29 19:59:19 +01:00
Eugen Rochko c40016b785 [Glitch] Change search to use query params in web UI
Port 0636bcdbe1 to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2024-12-25 21:38:02 +01:00
Eugen Rochko 2f9efb721c [Glitch] Change animation on feed generation screen in web UI
Port 3cf6681736 to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2024-12-25 21:21:39 +01:00
Renaud Chaput 37070a7881 [Glitch] Convert polls to Typescript / Immutable Records
Port ded799f913 to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2024-12-25 21:21:39 +01:00
Eugen Rochko bb17ffac92 [Glitch] Change referrer policy to be controlled by header in web UI
Port 425311e1d9 to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2024-12-25 21:21:39 +01:00
Eugen Rochko 6868b4481c [Glitch] Add ability to search for all accounts when creating a list in web UI
Port 7135f513a4 to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2024-12-25 19:53:23 +01:00
Eugen Rochko 14fe8c7d4b [Glitch] Refactor `<Column>` to TypeScript
Port 346a27b6fc to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2024-12-25 19:37:18 +01:00
Claire 57c5905c19
Fix clicking on status prepends (“X boosted Y”) opening original account in a new tab (#2919) 2024-12-23 22:33:12 +01:00
Claire 5b93331a48 [Glitch] Fix middle-click handling conflicting with automatic scrolling
Port 9ff01403ea to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2024-12-22 20:42:25 +01:00
Eugen Rochko d2fd51691a [Glitch] Add ability to middle-mouse click posts in web UI
Port 683db3ab25 to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2024-12-22 20:39:23 +01:00
Claire d65f6c2f8a
Replace glitch-soc's collapsed toots with upstream's “Read more” (#2916)
* Remove glitch-soc's post collapse feature

* Get rid of the infamous `parseClick`

* Remove unused CSS

* Use upstream's “Read More” implementation

* Update translation strings
2024-12-22 20:27:32 +01:00
Claire 28751ff042
Remove status background feature (#2640) 2024-12-10 08:55:08 +01:00
Eugen Rochko 64fc79cbc2 [Glitch] Change design of modal loading and error screens in web UI
Port 7f2cfcccab to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2024-12-01 18:47:56 +01:00
Eugen Rochko f441e3db4e [Glitch] Change onboarding flow in web UI
Port 7a3dea385e to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2024-12-01 18:47:56 +01:00
Claire 217e0f87fd [Glitch] Change design of lists in web UI
Port 62603508c7 to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2024-11-24 19:59:23 +01:00
Claire e8c108d270
Fix collapse icon opening the post (#2899) 2024-11-16 21:39:12 +01:00
Claire 18aa0d8871 [Glitch] Fix Content Warning and filter states not applying to boosted posts properly (refactor only)
Port ec663eaba1 to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2024-11-15 19:03:39 +01:00
Claire 1ae5f84774
Fix clicking on avatar/display opening status instead of profile (#2897)
Fix regression from #2895
2024-11-11 16:11:24 +01:00
Claire b7a66c6eac
Fix status clickable area (#2895) 2024-11-10 22:43:27 +01:00
Claire 80378921e6 [Glitch] Fix out-of-view post contents being inconsistent with in-view post contents
Port d482211aa6 to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2024-11-10 13:50:14 +01:00
Eugen Rochko 3244926565 [Glitch] Add year in review feature to web UI
Port d6349c0e9a to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2024-11-10 13:50:14 +01:00
Claire d19d7a283e [Glitch] Fix alt-text pop-in not using the translated description
Port 0a1b5df202 to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2024-11-10 13:29:04 +01:00
Emelia Smith 9a5dcf0add [Glitch] Feat: Implement interaction modal for Polls
Port dc0b1948be to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2024-11-03 21:00:05 +01:00
Claire 40b3c206e4
Change Content Warning design to match upstream's (#2890) 2024-10-27 16:08:01 +01:00
Claire 1d3d549e96 [Glitch] Redesign Content Warning and filters
Port 393f0a0159 to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2024-10-26 14:09:46 +02:00
renovate[bot] e8d23f6bcb [Glitch] Update eslint (non-major)
Port 11a63b2db6 to glitch-soc

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Renaud Chaput <renchap@gmail.com>
Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2024-10-26 14:00:09 +02:00
Emelia Smith 28287eb3b2 [Glitch] Fix 'unknown' media attachment type rendering
Port 346cdb998c to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2024-10-26 13:49:07 +02:00
Claire 6bd185b423 [Glitch] Remove ability to get embed code for remote posts
Port 1fc165de02 to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2024-10-19 19:23:56 +02:00
Eugen Rochko ee17081793 [Glitch] Fix missing avatar fallback interfering with transparency in web UI
Port cae93e79a406a1156b51091784e35f8f0126ea12 to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2024-10-07 20:46:30 +02:00
Claire 7b40f14452 [Glitch] Fix media gallery items having incorrect borders when hidden
Port 51769e0670 to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2024-10-06 17:04:53 +02:00
Claire b22272fcdc [Glitch] Hide badges in media gallery when media are hidden
Port f768a6eb16 to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2024-10-06 17:04:53 +02:00
Nick Schonning 61a0c58dee [Glitch] Enable ESLlint no-case-declarations
Port f91f077985 to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2024-10-06 17:04:53 +02:00
Eugen Rochko 9e10fd59b7 [Glitch] Add ability to view alt text by clicking the ALT badge in web UI
Port a04433f995 to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2024-09-29 13:35:35 +02:00
Eugen Rochko 9b5f073cb3 [Glitch] Change design of media tab on profiles in web UI
Port 89df27a06c to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2024-09-29 12:57:58 +02:00
Eugen Rochko 157ecf255b [Glitch] Change responsive break points on navigation panel in web UI
Port 28c4eca0af to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2024-09-29 11:53:49 +02:00
Eugen Rochko 7b290cee47 [Glitch] Add preview of followers removed in domain block modal in web UI
Port 3426ea2912 to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2024-09-29 11:21:05 +02:00
Renaud Chaput 0b1310feb3 [Glitch] Keep the status action buttons at their position regardless of the counter size
Port 739ad0eed2 to glitch-soc

Co-authored-by: Claire <claire.github-309c@sitedethib.com>
Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2024-09-25 18:12:24 +02:00
Claire 7c148ed1cb Use new CW class in more places 2024-09-22 21:17:15 +02:00
Claire 4d754935a9 Replace new-style upstream CWs with old-style CWs for now 2024-09-22 20:55:06 +02:00
Eugen Rochko 7d97e3d82f [Glitch] Change how content warnings and filters are displayed in web UI
Partially apply 500f4925a5 to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2024-09-22 19:31:22 +02:00
Eugen Rochko a969c6a6a6 [Glitch] Change zoom icon in web UI
Port e7fd0985c9 to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2024-09-21 15:36:17 +02:00
Claire 86b9d3b4e5 [Glitch] Fix custom `history.push` and `history.replace` building bogus location if path is omitted
Port 57a38f071b to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2024-09-21 15:16:54 +02:00