54 Commits

Author SHA1 Message Date
diondiondion
ada096fd2b [Glitch] Refactor report modal heading translation
Port fe2db1e2e854fde6cdd82344bde0f9fee9ac2151 to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2026-06-17 14:44:24 +02:00
diondiondion
772106eb08 [Glitch] Add category selection to collection report modal
Port 97db9fb1a5bbe74ec4cdcbc498ea2e998d3ed510 to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2026-06-17 14:44:24 +02:00
diondiondion
adfc894a1f [Glitch] Navigation focus handling polish
Port 2994e8543deec8fb3c4228afd7c556a37904662f to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2026-06-10 19:07:57 +02:00
Claire
524d3a0d7f [Glitch] Fix server rules and custom closed registrations message
Port ab8f9d94ea4cd2e3664f1d1da945346ea3602750 to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2026-06-01 18:01:23 +02:00
Echo
c5f07296af [Glitch] Removes React Toggle library
Port bc09d3c5f2e48895d686f550a21af6c8155f2485 to glitch-soc

Co-authored-by: diondiondion <mail@diondiondion.com>
Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2026-04-22 20:35:02 +02:00
diondiondion
915fd0933a [Glitch] Fix regressions caused by rendering default translation wrapper element
Port 39ad873589ae30230c8de1679104ade5e99bfd35 to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2026-03-26 18:29:11 +01:00
Echo
f780570f2d [Glitch] Refactor: Update FormatJS
Port 1820a03622096a80e26167913bb06dda8eb4657f to glitch-soc

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2026-03-25 22:07:25 +01:00
diondiondion
83b4a7845c [Glitch] Add collection report modal
Port 919b1e69b84f1f11376f8ff370f5c5fc7dd7ec9c to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2026-02-25 19:11:38 +01:00
Claire
6ba575e0d3 [Glitch] Use more generic locale as fallback for rules
Port 6ab96ba647ae51ab3f09636ee10b1cd8e4e20488 to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2025-05-25 15:20:14 +02:00
Claire
7dfa5d6d1b [Glitch] Add ability to translate server rules
Port 8c51a8ba94a16ac94c865e37559a6e01e30884a9 to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2025-05-25 15:02:03 +02:00
Plastikmensch
5395154832
Fix media attachments in report modal
Media attachments weren't shown in the report modal since they were passed as `media` to `StatusContent`, but `StatusContent` doesn't use the media prop anymore.

Instead match the file with vanilla.

Signed-off-by: Plastikmensch <plastikmensch@users.noreply.github.com>
2025-01-14 23:47:09 +01:00
Claire
98cf4b7ba0 Reduce code differences with upstream 2024-03-08 12:42:03 +01:00
Renaud Chaput
5b67389bba [Glitch] Add a new @/ alias for the root frontend directory and use it where possible
Port 01b6c83c369061c2175d50dfb3ae1db502862664 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 6bbcd9348eb9e9afb8b061478f91cfe2ea06b93a 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 608f66f978e02e583f1c42c912b1daa22fbc0bad to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2024-01-15 20:20:38 +01:00
Eugen Rochko
d54414866c [Glitch] Change icons in web UI
Port 134de736dcbc6aa613fd5aec21d983d92d8b0be8 to glitch-soc

Co-authored-by: Renaud Chaput <renchap@gmail.com>
Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2024-01-13 23:19:01 +01:00
Renaud Chaput
09376a8207 [Glitch] Upgrade Redux packages
Port a0e237a96fca2774d3c9ed43063a45e395bb7f40 to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2024-01-10 18:34:23 +01:00
Claire
eb342a6082 Fix media attachments not being hidden in report modal in glitch flavor 2023-12-29 17:47:30 +01:00
Renaud Chaput
7fe5623a27 [Glitch] Use Immutable Record for accounts in Redux state
Port 3bf2a7296e6d80d5cd9d5d3cba1507af6ba83dfd to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2023-12-20 19:49:44 +01:00
Claire
df5c64fe57 Further reduce differences with upstream 2023-12-09 21:19:43 +01:00
Claire
786b42e2b5 Fix SCSS and JS linting issues 2023-12-03 11:23:12 +01:00
Claire
1023c2f90b Fix more whitespace and comment discrepancies 2023-11-15 17:16:21 +01:00
Renaud Chaput
9325cb5759 [Glitch] Convert <Button> to Typescript
Port 9d45a444f90ca6b939eecb52167fc7f39765c438 to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2023-10-24 19:03:16 +02:00
Renaud Chaput
7b325aa81b [Glitch] Autofix missing comma and indentation in JS files
Port 774e1189d26fffd914107a4236f6287043c988f8 to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2023-10-09 21:14:25 +02:00
Claire
c699dc0908 [Glitch] Add forward_to_domains parameter to POST /api/v1/reports
Port c27b82a43763b44b0b2a2929b9cde588260581b4 to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2023-07-12 15:47:43 +02:00
alfe
9bf63257fb [Glitch] Rewrite <LoadingIndicator/> as FC and TS (#25364)
Port a86886b1fdc927ed51810fb6b43a0458bedf1cbb to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2023-06-18 12:10:37 +02:00
Claire
5ed48e6878 Fix extraneous newlines 2023-05-28 18:06:09 +02:00
Claire
7d7db8977b Fix import order with ESLint
Port d27216dc4616d80659c0cc5d2a55394e0e1ae874 to glitch-soc
2023-05-28 16:38:10 +02:00
Claire
a0bc0619ca [Glitch] Use JSX syntax for Fragments
Port 5a16bd7bf4591feb852364da9b84407438c9b7d6 to glitch-soc
2023-05-28 14:56:24 +02:00
Claire
6001f5ff36 [Glitch] Use the new JSX transform everywhere
Port 8f66126b1010e0aaaa8b5f2a2f4ea8a28824e2b7 to glitch-soc
2023-05-28 14:18:43 +02:00
fusagiko / takayamaki
7d9b7f28b8 [Glitch] Add type annotation for DisplayName component
Port 349cae0b57ee65475a70311863959e7a0cf53065 to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2023-05-25 20:57:07 +02:00
Renaud Chaput
5f2071d055 [Glitch] Enforce stricter rules for Typescript files
Port c8181eb0a41c4f5c1655d4e400cab071aee4182a 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 ec0c104bf25f2689c31bb79f9f447be1a9b3da7f 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 d1b057a0ac41a5756b6a416d2f290b086cb59220 to glitch-soc
2023-03-27 08:51:57 +02:00
Renaud Chaput
81ef21a0c8 [Glitch] Rename JSX files with proper .jsx extension
Port 44a7d87cb1f5df953b6c14c16c59e2e4ead1bcb9 to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2023-02-25 14:35:31 +01:00
Claire
155424e52f [Glitch] Run eslint --fix
I don't like it changing files this way, but it's basically what
c49213f0ea311daba590db1d7a14a641cbd9fe93 and a few others did.
2023-02-03 20:52:07 +01:00
Eugen Rochko
6013eeea4c [Glitch] Fix missing rules in report modal in web UI
Port 9c7f4ab8e8d19d29a5b9367ebaec8fc8af70ab7f to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2022-10-28 19:24:02 +02:00
Eugen Rochko
2aa70c112a [Glitch] Fix error while server rules are loading in report modal in web UI
Port 4c7b5fb6c1787438ef130d9aecd5d0a4d54d08a9 to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2022-10-28 19:24:02 +02:00
Eugen Rochko
67b4ecdd21 [Glitch] Change about page to be mounted in the web UI
Port 1bd00036c284bcafb419eaf80347ba49d1b491d9 to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2022-10-28 19:24:02 +02:00
trwnh
0d0fac939d [Glitch] Fix crash in report modal
Port 99a43f0282d5115b75a564205ca7d2db31a3a945 to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2022-10-09 20:31:46 +02:00
Eugen Rochko
757e16a0b5 [Glitch] Add server banner to web app
Port d2528b26b6da34f34b5d7a392e263428d3c09d69 to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2022-10-09 20:26:15 +02:00
Claire
e18ba67727 [Glitch] Add privacy icons to report modal
Port d2f7e30a283a1dca1f7974884ac0c237b93903ad to glitch-soc
2022-10-02 19:36:29 +02:00
Claire
3fd2aadb23
Various code cleanup (#1782)
* Remove duplicate in_chosen_languages definition

* Use `DEFAULT_FIELDS_SIZE` instead of `MAX_FIELDS` to reduce code differences with upstream

* Remove duplicate annotation

* Fix incorrect cross-flavor imports

* Remove deprecated `hide_network` setting (replaced by account column)

* Remove unused KeywordMutesHelper

* Remove trailing spaces

* Remove commit_hash from InstancePresenter, as it has been unused since mid-2017
2022-05-25 12:27:11 +02:00
Claire
cb9a919ff2 Remove “I don't like it” option from report modal 2022-05-01 21:58:20 +02:00
Claire
01c2f47b7f [Glitch] Fix empty “Server rules violation” report option
Port eed5a4bf9c7e41a03ebab92dd45ebc1b899dc768 to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2022-04-28 23:43:49 +02:00
Eugen Rochko
2c5faa5594 [Glitch] Add polls and media attachments to edit comparison modal in web UI
Port 9f2791eb64d5d19418561270f79071c185876d20 to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2022-03-10 11:30:48 +01:00
Josh Soref
69a4f17988 [Glitch] Spelling
Port front-end changes from b5329e0035d455e72dad7249d88bd624b5cb59a0 to glitch-soc

Co-authored-by: Josh Soref <jsoref@users.noreply.github.com>
Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2022-03-08 20:36:31 +01:00
Eugen Rochko
c0a8fb2b59 [Glitch] Fix report submit button not being disabled during submission in web UI
Port 0883f057531d291e8793bd3113f4331c502ad8cf to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2022-03-01 10:01:06 +01:00
Eugen Rochko
470c0a8002 [Glitch] Change report modal to include category selection in web UI
Port a9a43de6d1502a6cbb388a5dbcd0e8532c236e64 to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2022-02-23 20:25:55 +01:00
Eugen Rochko
ccf4f3240a [Glitch] Add blurhash
Port front-end changes from fba96c808d25d2fc35ec63ee6745a1e55a95d707 to glitch-soc

Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2019-05-04 18:07:44 +02:00