Commit Graph

45 Commits

Author SHA1 Message Date
Echo
8a50fb02ce [Glitch] Fixes handled link formatting
Port c858fc77ef to glitch-soc

Co-authored-by: Claire <claire.github-309c@sitedethib.com>
Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2025-10-09 18:03:39 +02:00
Echo
48bb64cde3 [Glitch] Emoji: Fixes issue with handled link not correctly showing remote users
Port 5bc7c4b7e8 to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2025-10-09 17:59:59 +02:00
Echo
f870904e5f [Glitch] Emoji: Bypass legacy emoji normalization
Port 3c9b828c71 to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2025-10-08 18:22:47 +02:00
Echo
7f5232c377 [Glitch] Emoji: Remove re: from handleElement in StatusContent
Port 9027d60420 to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2025-10-08 18:19:40 +02:00
Echo
0281768cfd [Glitch] Emoji: Link Replacement
Port ffac4cb05f to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2025-10-08 18:16:38 +02:00
Echo
7430e3c74d [Glitch] Emoji Component
Port c12b8f51c1 to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2025-10-01 19:40:20 +02:00
Echo
351dc60a2f [Glitch] Refactor emoji GIF animation
Port 6bd90940b6 to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2025-09-24 18:33:26 +02:00
Claire
4b85fcabff [Glitch] Move quote post fallback removal import-time
Port 1c8990927a to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2025-09-10 18:37:11 +02:00
Eugen Rochko
2f8fa59b85 [Glitch] Change design of quote posts in web UI
Port 92bf55afd0 to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2025-07-30 20:11:55 +02:00
Colin Dean
6f7ab952c8 [Glitch] Swap order of translation restoration and service credit on post card
Port b5cebf45ea to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2025-07-30 20:08:38 +02:00
Echo
ad0f2c5e02 [Glitch] Force modern emoji experimental to be dev mode only
Port dfaca794bf to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2025-07-24 18:21:51 +02:00
Echo
8a8453e3b1 [Glitch] Emoji Rendering
Port 760d00b7f7 to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2025-07-23 19:05:04 +02:00
Claire
e4a22e8068 Fix links in posts always having noreferrer in glitch flavor (#3135)
Fixes #3128
2025-07-16 22:56:36 +02:00
diondiondion
19aa68897b [Glitch] fix: Remove redundant focus stop within status
Port ed4788a342 to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2025-06-16 20:11:31 +02:00
Eugen Rochko
c0bb21ecd8 [Glitch] Add dropdown menu to hashtag links in web UI
Port a9cfaa6eed to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2025-04-21 14:37:59 +02:00
Echo
e673e6c993 [Glitch] Remove react-motion library
Port 902aab1245 to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2025-03-29 17:15:52 +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
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
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
40b3c206e4 Change Content Warning design to match upstream's (#2890) 2024-10-27 16:08:01 +01: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
Claire
7c148ed1cb Use new CW class in more places 2024-09-22 21:17:15 +02:00
Claire
8d2a93b0cb [Glitch] Add setting to disable hover cards
Port ad52b04a1c to glitch-soc

Co-authored-by: Eugen Rochko <eugen@zeonfederated.com>
2024-07-12 13:50:42 +02:00
Eugen Rochko
98185247b8 [Glitch] Add hover cards in web UI
Port e89317d4c1

Co-authored-by: Renaud Chaput <renchap@gmail.com>
Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2024-06-30 18:41:48 +02:00
Renaud Chaput
ca5955ed76 [Glitch] Use a modern React context for identity in the app
Port a178ba7cd5 to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2024-05-20 12:53:52 +02:00
Renaud Chaput
5b67389bba [Glitch] Add a new @/ alias for the root frontend directory and use it where possible
Port 01b6c83c36 to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2024-01-16 12:21:13 +01:00
Claire
a1920425ca [Glitch] Switch from 48px weight 600 material symbol icons to 24px weight 400 icons
Port 6bbcd9348e to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2024-01-15 20:53:08 +01:00
Renaud Chaput
8cad0a4d6b [Glitch] Change icon SVG imports to use a default import
Port 608f66f978 to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2024-01-15 20:20:38 +01:00
Claire
52c023a305 Convert Permalink to Typescript 2024-01-14 19:22:39 +01:00
Claire
6333900006 Fix glitch-soc CW media icons 2024-01-13 23:48:37 +01:00
Renaud Chaput
18462ee4b6 [Glitch] Remove hashtags from the last line of a status if it only contains hashtags
Port 061fd66ee6 to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2023-11-15 12:56:58 +01:00
Renaud Chaput
d6eacb79c6 [Glitch] Upgrade to react-router v5
Port 1b70d7ed7c to glitch-soc

Co-authored-by: Claire <claire.github-309c@sitedethib.com>
Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2023-10-21 22:14:24 +02:00
Renaud Chaput
0bfa4a990f [Glitch] Fix translate button position
Port 9f078e238d to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2023-07-12 15:05:24 +02:00
forsamori
ac74374311 [Glitch] Add at-symbol prepended to mention span title
Port d9a5c1acfa to glitch-soc

Co-authored-by: Sam BC <samuel.balbirnie-cumming@xdesign.com>
Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2023-07-05 12:38:54 +02:00
Christian Schmidt
7e25fd9b0c [Glitch] Translate CW, poll options and media descriptions
Port 69057467cb to glitch-soc

Co-authored-by: Claire <claire.github-309c@sitedethib.com>
Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2023-06-10 14:48:41 +02:00
Claire
7d7db8977b Fix import order with ESLint
Port d27216dc46 to glitch-soc
2023-05-28 16:38:10 +02:00
Claire
6001f5ff36 [Glitch] Use the new JSX transform everywhere
Port 8f66126b10 to glitch-soc
2023-05-28 14:18:43 +02:00
Renaud Chaput
5f2071d055 [Glitch] Enforce stricter rules for Typescript files
Port c8181eb0a4 to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2023-05-09 22:56:26 +02:00
Nick Schonning
bfe46d08f9 [Glitch] Ensure tabIndex is number instead of string
Port ec0c104bf2 to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2023-04-09 14:47:29 +02:00
neatchee
8215df76c0 [Glitch] Remove legacy decorators syntax
Port d1b057a0ac to glitch-soc
2023-03-27 08:51:57 +02:00
Christian Schmidt
8f97ffe91e [Glitch] Replace Status#translatable? with language matrix in separate endpoint
Port bd047acc35 to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2023-03-16 23:21:08 +01:00
Christian Schmidt
1317553f3a [Glitch] Only offer translation for supported languages
Port 5a8c651e8f to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2023-03-05 21:19:04 +01:00
Renaud Chaput
81ef21a0c8 [Glitch] Rename JSX files with proper .jsx extension
Port 44a7d87cb1 to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2023-02-25 14:35:31 +01:00