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