Echo
fa33eff372
[Glitch] Prevent two composers from being shown
...
Port 8cf246e4d3 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 926c67c648 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 902aab1245 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 1e70da5e3c 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 db146046c4 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 3178acc5cb 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 8dcfd3f246 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 8962f11578 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 0636bcdbe1 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 8adf67f2db 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 e768b23aa9 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 36d819bef3 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 7d3fe2b4c3 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 8e7e86ee35 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 b8bd94ca8e 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 25ffe0af45 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 805dba7f8d 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 6936e5aa69 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 01ce9df880 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 a0e237a96f 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 d3b4d4d4f3 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 9b2bc3d1de 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 2b11376411 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 6028d047b9 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 e38b391940 (rename to ts), 51b83ed195 (code style change), 73b64b8917 (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 382b2a506a
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 38c6216082 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 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
b509b96504
[Glitch] Enforce React Rules of Hooks with eslint
...
Port d9b93bd15e to glitch-soc
Signed-off-by: Claire <claire.github-309c@sitedethib.com >
2023-05-09 22:28:53 +02:00
Claire
16c5354b8c
Fix some more JS linting issues ( #2211 )
...
* Minor refactor and linting fixup in `flavours/glitch/actions/accounts.js`
This is some added boilerplate but it's much more consistent with the remaining
of the code, and avoids the linting issue.
* Fix missing /privacy-policy link in DM warning because of wrongly-named import
* Fix unnecessary import
* Fix regexp in flavours/glitch/utils/hashtag.js
2023-05-08 14:02:41 +02:00
Claire
3fb7fe14c6
Fix some of the Javascript linting issues, as well as bugs and unneeded divergences with upstream ( #2208 )
...
* Run eslint --fix
* Fix linting issues in video player and reduce divergences with upstream
This includes a behavior change of not auto-looping videos anymore. I don't
remember loops being ever intended, and they have been removed from upstream
a while ago, but we somehow missed the change.
* Fix lint issues in `app/javascript/flavours/glitch/selectors/index.js`
Those were basically caused by dead code that isn't present upstream, so
that brings us closer to upstream as well.
* Fix linting issue and bug in streaming/index.js
* Fix linting issues in config/webpack/shared.js
* Fix unused import in flavours/glitch/features/ui/index.js
* Fix linting issues and reduce divergences from upstream in flavours/glitch/features/ui/components/video_modal.jsx
* Fix linting issues in flavours/glitch/reducers
* Fix linting issues in glitch-soc onboarding modal
* Fix linting issues in flavours/glitch/features/ui/components/navigation_panel.jsx
* Remove dead code for unused local setting navbar_under
* Fix various linting issues
* Fix linting issues in flavours/glitch/components/scrollable_list.jsx and reduce divergences with upstream
2023-05-07 18:22:25 +02: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
Nick Schonning
7e64eef73b
[Glitch] Enable ESLint no-useless-escape
...
Port db2c58d47a to glitch-soc
Signed-off-by: Claire <claire.github-309c@sitedethib.com >
2023-02-18 16:02:12 +01:00
Claire
587f6b3b06
[Glitch] Enable ESLint import recommended rules
...
Port eddfb33dfe to glitch-soc
2023-02-18 16:02:12 +01:00
Claire
fa433ac5a6
Further JS code style changes
2023-02-04 22:31:47 +01:00
Claire
155424e52f
[Glitch] Run eslint --fix
...
I don't like it changing files this way, but it's basically what
c49213f0ea and a few others did.
2023-02-03 20:52:07 +01:00
Christian Schmidt
fb9c786baf
[Glitch] Add lang attribute to image description textarea and poll option field
...
Port 2a4f2216d6 to glitch-soc
Signed-off-by: Claire <claire.github-309c@sitedethib.com >
2023-02-03 19:23:36 +01:00
Claire
853d0f28c5
[Glitch] Add lang attribute to compose textarea and CW field
...
Port 83a8efa9ca to glitch-soc
Signed-off-by: Claire <claire.github-309c@sitedethib.com >
2023-01-24 20:40:48 +01:00