115 Commits

Author SHA1 Message Date
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
975c7097b8 [Glitch] Refactor PrivacyDropdown to TypeScript
Port 8a235dd1873be73a3a4cbf607fcdc152e0150e35 to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2025-11-21 19:35:20 +01:00
Claire
c5a6519af9 [Glitch] Change private quote education modal to not show up on self-quotes
Port c820c66d3c54a7c5d8896d03b7d21327295bf145 to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2025-11-19 21:54:24 +01:00
Claire
5645a017b3 [Glitch] Fix inability to paste links
Port c87b05282909383353a9561e97b9f18a2db0766d to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2025-11-14 18:29:07 +01:00
Jeong Arm
f782c2c8e9 [Glitch] Allow drag&drop of link to quote in compose form
Port 4ab1d5d7242b07ebcb547d6d4866533f718a5ce9 to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2025-11-14 18:27:29 +01:00
Echo
58158eba00 [Glitch] Quote Posts: Add notifications for DMs and private posts
Port 3ab5ae1e4ab99b7c13ac48e74c1a340c54028633 to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2025-11-04 20:58:52 +01:00
Claire
d34b4f3fd0 [Glitch] Add feature to automatically attach quote on eligible link past in Web UI composer
Port cda07686dfbbc0b3f8dfbb38a54efa3d126f2c44 to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2025-10-08 18:18:23 +02:00
Echo
43034790a6 [Glitch] Composer Quote UI
Port d4b2e7f77139e27cbde83034fe96dbd189ac56c9 to glitch-soc

Co-authored-by: diondiondion <mail@diondiondion.com>
Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2025-08-19 19:13:58 +02:00
Echo
6c8a478273 [Glitch] Redirect on success for standalone compose
Port 7cf53dbf639aeb7c01a4d367226be667ed1dc7a2 to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2025-08-17 21:17:06 +02:00
Echo
fa33eff372 [Glitch] Prevent two composers from being shown
Port 8cf246e4d3305a71e647c2f374468141b8bc846c to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2025-06-11 23:02:09 +02:00
Eugen Rochko
4540d09cfd [Glitch] Refactor <ActionsModal> to TypeScript (#34559)
Port 926c67c64821debfd1eced6b8859ea48891fa9c0 to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2025-05-03 17:46:35 +02:00
Claire
dd3b51c944
Fix secondary post button appearing on reply despite being set to “None” (#3039)
Fixes #3005
2025-04-12 13:42:48 +02:00
Echo
e673e6c993 [Glitch] Remove react-motion library
Port 902aab1245a06319b7acd20045bd9ce051627300 to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2025-03-29 17:15:52 +01:00
Eugen Rochko
a3399ed560 [Glitch] Add reminder when about to post without alt text in web UI
Port 1e70da5e3c279c8e632abb6bdf90b1ddc67b035e to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2025-02-01 19:58:11 +01:00
Claire
c14c553c7e [Glitch] Convert LanguageDropdown to a functional component
Port db146046c4eaea8e980f3e7ab5f2254f93f4feae to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2025-01-27 18:20:00 +01:00
Claire
45093e7abf [Glitch] Fix language detection taking mentions and URLs into account
Port 3178acc5cb8415a72b646dbe77be05255d3966f3 to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2025-01-23 13:40:00 +01:00
Claire
38905ae658 [Glitch] Fix WebUI crash when language detection code returns undefined
Port 8dcfd3f246ff68d5bd190d57a8b7c422076a4943 to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2025-01-23 13:38:35 +01:00
Eugen Rochko
89b7f8884a [Glitch] Add warning when selected and detected language is different in web UI
Port 8962f1157816848b1eff8ee992410c120d4696e8 to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2025-01-20 18:07:59 +01:00
Eugen Rochko
c40016b785 [Glitch] Change search to use query params in web UI
Port 0636bcdbe1ddbd648b1bc1c26f9ee897a816306a to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2024-12-25 21:38:02 +01:00
Christian Schmidt
8e3c47aff5 [Glitch] frequentlyUsedLanguages not updated correctly
Port 8adf67f2dbde0ae249ccadd8cbd2156e14932f52 to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2024-09-03 21:55:32 +02:00
Claire
95984b729a [Glitch] Remove routerHistory parameters from composer actions
Port e768b23aa995130c14a7160165eabcf1e8570dfd to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2024-07-19 18:06:35 +02:00
Tianwei Dong
80179d53ba [Glitch] Change to use an unified constant for max media attachments per status
Port 36d819bef34279bb36cdfa3ed89711405ad79591 to glitch-soc

Co-authored-by: Renaud Chaput <renchap@gmail.com>
Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2024-07-08 19:49:56 +02:00
Claire
6662d604c1 [Glitch] Add loading indicator and empty result message to advanced interface search
Port 7d3fe2b4c3cd9511df8f8026890c71b2119719f3 to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2024-05-04 16:15:54 +02:00
Eugen Rochko
91531e9586 [Glitch] Add ability to reorder uploaded media before posting in web UI
Port 8e7e86ee354fca36b989b6de40904f38e6db103b to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2024-04-06 22:34:03 +02:00
Mashiro
1fc6edfa84 [Glitch] Fix unhandled nullable attachments limitation counter
Port b8bd94ca8edb5a675ef70aac9c941ed340efc127 to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2024-03-07 13:01:21 +01:00
Claire
c19787f3f4
Add doodle feature back (#2652) 2024-02-27 21:27:51 +01:00
Claire
ad0be125f5 [Glitch] Fix pixel alignment for some composer icons
Port 25ffe0af453cfdcad787913b57f217303bfa59a2 to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2024-02-24 15:53:42 +01:00
Claire
6da69967d0 [Glitch] Change compose form to use server-provided post character limit
Port 805dba7f8d2a2d5f910ec1396247b36417170345 to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2024-02-24 13:56:12 +01:00
Claire
6901930c8d Add back confirmation modal for missing media description 2024-02-23 23:04:32 +01:00
Claire
23dc650596 Restore preselect on reply option 2024-02-23 21:05:34 +01:00
Claire
118bb5bc81 Add secondary post button back 2024-02-23 21:05:33 +01:00
Claire
056f9bf3c2 Add back “spoilers always on” feature 2024-02-23 20:57:18 +01:00
Claire
380f4fc95c Reimplement sensitive checkbox 2024-02-22 23:49:06 +01:00
Eugen Rochko
9c10aaa4d5 [Glitch] Change design of compose form in web UI
Port 6936e5aa693ccc4aabd26ef18a65fbb8132f6f74 to glitch-soc

Co-authored-by: Claire <claire.github-309c@sitedethib.com>
Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2024-02-22 23:06:12 +01:00
Claire
7586d4348f Switch glitch-soc to upstream's old composer 2024-02-22 22:10:17 +01:00
Claire
f6f62002c7 Remove leftovers from glitch-soc's layout option 2024-02-08 19:21:35 +01:00
Eugen Rochko
22e419f95e [Glitch] Fix search form re-rendering spuriously in web UI
Port 01ce9df88008cee705b7e02a4581802afa07c3df to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2024-01-24 20:53:15 +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
3d3fa75c81
Reduce composer differences with upstream and simplify code (#2518) 2023-12-18 13:20:08 +01:00
Claire
9ab1aa15e9 Change ReplyIndicator implementation and markup to match upstream's 2023-11-20 13:24:02 +01:00
Claire
0d877a3076 [Glitch] Change compose form checkbox to native input with appearance: none
Port d3b4d4d4f3ccee19f272c66e7c9acd803661e65b to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2023-11-15 17:20:44 +01:00
Claire
a97b722ad5
Reduce differences with upstream due to import style (#2465)
Fix relative / VS absolute style imports, and fix whitespace discrepancies
2023-11-15 12:01:51 +01:00
Eugen Rochko
7384015505 [Glitch] Add recent searches in web UI
Port 9b2bc3d1de301c686208b43a8efef5bc808f8e4e to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2023-09-15 21:15:41 +02:00
Plastikmensch
ebfa184e74
Port search popout changes from upstream (#2333)
* [Glitch] Change search pop-out in web UI

Port 2b113764117c9ab98875141bcf1758ba8be58173 to glitch-soc

Signed-off-by: Plastikmensch <plastikmensch@users.noreply.github.com>

* [Glitch] Change logo version in header based on screen size in web UI

Port remaining change from 6028d047b9f7d14b2617f47b51f6098f686b1b4e to glitch-soc

Signed-off-by: Plastikmensch <plastikmensch@users.noreply.github.com>

* Rename `hashtags.js` to `hashtags.ts` and apply code style changes

Apply changes from e38b39194075bec88af2f3a5134137563024d391 (rename to ts), 51b83ed19536b06ce3f57b260400ecec2d1dd187 (code style change), 73b64b89170cb72854a1709186c62ce31f476889 (additional code style change)

Signed-off-by: Plastikmensch <plastikmensch@users.noreply.github.com>

* Remove strings for old search

Signed-off-by: Plastikmensch <plastikmensch@users.noreply.github.com>

---------

Signed-off-by: Plastikmensch <plastikmensch@users.noreply.github.com>
2023-07-30 18:42:35 +02:00
Claire
ee771f5bad
Fix closeModal invocation (#2239)
Fixes #2238

Some call sites where missed in 382b2a506a14cef96ed57d4c120b4b9e11eae4b5
2023-06-04 22:05:45 +02:00
Claire
5ed48e6878 Fix extraneous newlines 2023-05-28 18:06:09 +02:00
fusagiko / takayamaki
382b2a506a [Glitch] Rewrite actions/modal and reducers/modal with typescript
Port 38c6216082e67581e83d04b3096cdb020ad0edea to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2023-05-28 17:49:55 +02:00
Claire
7d7db8977b Fix import order with ESLint
Port d27216dc4616d80659c0cc5d2a55394e0e1ae874 to glitch-soc
2023-05-28 16:38:10 +02:00
Claire
6001f5ff36 [Glitch] Use the new JSX transform everywhere
Port 8f66126b1010e0aaaa8b5f2a2f4ea8a28824e2b7 to glitch-soc
2023-05-28 14:18:43 +02:00
Renaud Chaput
b509b96504 [Glitch] Enforce React Rules of Hooks with eslint
Port d9b93bd15e508bd19896950ca5c5d356e7e402d4 to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2023-05-09 22:28:53 +02:00