Claire
85e0bd73cf
Fix closeModal invocation ( #2239 )
...
Fixes #2238
Some call sites where missed in 62f386d44e
2023-06-04 22:05:45 +02:00
Claire
615a7d5795
Fix extraneous newlines
2023-05-28 18:06:09 +02:00
fusagiko / takayamaki
62f386d44e
[Glitch] Rewrite actions/modal and reducers/modal with typescript
...
Port a19c1671af
to glitch-soc
Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2023-05-28 17:49:55 +02:00
Claire
a7e6f3df20
Fix import order with ESLint
...
Port 7b5a274836
to glitch-soc
2023-05-28 16:38:10 +02:00
Claire
fb2bf621eb
[Glitch] Use the new JSX transform everywhere
...
Port 3b0c3e94e0
to glitch-soc
2023-05-28 14:18:43 +02:00
Renaud Chaput
a7d51b92f3
[Glitch] Enforce React Rules of Hooks with eslint
...
Port b785500809
to glitch-soc
Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2023-05-09 22:28:53 +02:00
Claire
db240323f6
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
e390c26429
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
295d193e7f
[Glitch] Rename JSX files with proper .jsx
extension
...
Port ae3812d182
to glitch-soc
Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2023-02-25 14:35:31 +01:00
Nick Schonning
a0bef6bdb6
[Glitch] Enable ESLint no-useless-escape
...
Port 1c2ca9557f
to glitch-soc
Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2023-02-18 16:02:12 +01:00
Claire
70984c6f65
[Glitch] Enable ESLint import recommended rules
...
Port 2663b421be
to glitch-soc
2023-02-18 16:02:12 +01:00
Claire
2862f0d94a
Further JS code style changes
2023-02-04 22:31:47 +01:00
Claire
5d7c0b3254
[Glitch] Run eslint --fix
...
I don't like it changing files this way, but it's basically what
9a5233f107
and a few others did.
2023-02-03 20:52:07 +01:00
Christian Schmidt
4051993833
[Glitch] Add lang attribute to image description textarea and poll option field
...
Port 6f08e79465
to glitch-soc
Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2023-02-03 19:23:36 +01:00
Claire
4b9c5fffde
[Glitch] Add lang attribute to compose textarea and CW field
...
Port 6feec4fd18
to glitch-soc
Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2023-01-24 20:40:48 +01:00
Plastikmensch
66d84db53a
Prevent doodle from closing on outside click ( #2047 )
...
Adds a new property to the dispatch, which when set to true, replaces the onClose handler with a no-op, preventing the modal from closing.
Signed-off-by: Plastikmensch <plastikmensch@users.noreply.github.com>
Signed-off-by: Plastikmensch <plastikmensch@users.noreply.github.com>
2023-01-04 11:59:43 +01:00
Claire
dd29c1d258
Port navigation bar from upstream ( #1986 )
...
Fixes #1977
2022-12-01 20:06:08 +01:00
Claire
cc21d9137f
Fix privacy dropdown in boost modal on mobile ( #1967 )
...
Fixes #1965
2022-11-22 11:26:14 +01:00
Claire
06c5841fbd
[Glitch] Add the ability to edit media attachment metadata for any unattached media
...
Port d55054b166
to glitch-soc
Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2022-11-12 14:01:47 +01:00
Eugen Rochko
b12ffe1fbf
[Glitch] Fix upload progress not communicating processing phase in web UI
...
Port 89ef2cf044
to glitch-soc
Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2022-10-30 18:30:58 +01:00
Claire
dc4e84cebd
Port various forgotten fixes from upstream ( #1864 )
...
* [Glitch] Fix crash when failing to load emoji picker
Port 09b322872a
to glitch-soc
Signed-off-by: Claire <claire.github-309c@sitedethib.com>
* [Glitch] Remove duplicate frequently used emojis
Port f7c306596f
to glitch-soc
Signed-off-by: Claire <claire.github-309c@sitedethib.com>
Signed-off-by: Claire <claire.github-309c@sitedethib.com>
Co-authored-by: Harmon <Harmon758@gmail.com>
2022-10-12 19:03:28 +02:00
Claire
74e5dc13d8
Move flavours/glitch/features/emoji_picker back to flavours/glitch/features/compose/containers/emoji_picker_dropdown_container
2022-10-11 14:17:27 +02:00
Claire
874cd0e883
Rename flavours/glitch/util into flavours/glitch/utils
2022-10-11 11:31:11 +02:00
Claire
3bf201ddaa
Move flavours/glitch/util/initial_state to flavours/glitch/initial_state
2022-10-11 10:17:04 +02:00
Eugen Rochko
c0a5c88364
[Glitch] Add language dropdown to compose in web UI
...
Port e4a9aa1ab4
to glitch-soc
Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2022-05-16 23:06:29 +02:00
Claire
a4c1a80a7f
Fix backend terms link not being used
2022-05-03 11:10:58 +02:00
Claire
6e8284756b
[Glitch] Rename toots to posts in various places, add or reword DM warnings
...
Port part of 07737bb6d1
and c33a26ed38
to glitch-soc
2022-05-03 10:59:23 +02:00
Claire
3ff513bd3b
[Glitch] Fix controls for unchangeable properties on status edit not being disabled
...
Port d10eb06cb4
to glitch-soc
Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2022-02-12 22:36:39 +01:00
Eugen Rochko
838f800808
[Glitch] Add editing for published statuses
...
Port cb76142d9e
to glitch-soc
Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2022-02-10 19:10:20 +01:00
Claire
1800e05513
[Glitch] Fix text being incorrectly pre-selected in composer textarea on /share
...
Port 335049cc33
to glitch-soc
Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2022-01-23 18:24:34 +01:00
Takeshi Umeda
f2cdc96537
[Glitch] Fix logout link not working in safari
...
Port 810945c95b
to glitch-soc
Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2021-08-09 23:45:58 +02:00
Claire
c58ad61ffc
[Glitch] Add confirmation modal when closing media edit modal with unsaved changes
...
Port 4166ecfedb
to glitch-soc
Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2021-07-25 12:59:03 +02:00
Mélanie Chauvel
2c7280ac42
[Glitch] Make “Mark media as sensitive” properly translatable
...
Port 6c072d8dec
to glitch-soc
Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2020-11-03 17:36:54 +01:00
Thibaut Girka
f2a9736f52
[Glitch] Fallback to previous, more approximative hashtag RE on older browsers
...
Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2020-08-05 13:43:32 +02:00
kedama
c61988629c
[Glitch] Fix the hashtag judgment of the compose form to be the same as the server side
...
Port a903875e3c
to glitch-soc
Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2020-08-02 14:33:22 +02:00
Thibaut Girka
03309b0dc5
Fix posting privacy on secondary button with missing description confirmation dialog
2020-03-14 12:33:50 +01:00
ThibG
c98e2faa41
[Glitch] Fix WebUI allowing to upload more items than the limit
...
Port 83a88426ca
to glitch-soc
Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2019-11-07 14:31:53 +01:00
Thibaut Girka
90ac926b1c
Update backend links and fix hardcoded ones
2019-08-31 18:23:24 +02:00
Thibaut Girka
2743b33722
Fix imports importing modules from vanilla flavour instead of glitch
2019-08-31 18:23:24 +02:00
ThibG
47ffc93705
[Glitch] Add confirmation modal when logging out from the web app
...
Port d255ce2f1a
to glitch-soc
Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2019-08-29 17:32:22 +02:00
Thibaut Girka
c2ecfa969b
Add button to edit media description from missing description confirmation dialog
2019-08-20 11:33:35 +02:00
Eugen Rochko
4982885bfa
[Glitch] Add media editing modal
...
Port da208e7d9b
to glitch-soc
Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2019-08-19 21:56:25 +02:00
Eugen Rochko
a71d66ab0e
[Glitch] Add search results pagination to web UI ( #11409 )
...
Port 5119a0608d
to glitch-soc
Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2019-07-28 17:10:52 +02:00
ThibG
a393529547
[Glitch] Add message telling FTS is disabled when no toot can be found because of this
...
Port 0943e994dd
to glitch-soc
2019-06-28 18:54:56 +02:00
Eugen Rochko
b02325e820
[Glitch] Add audio uploads
...
Port front-end changes from d7e2f554fb
to glitch-soc
Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2019-06-24 16:00:42 +02:00
Thibaut Girka
aefaa50f73
Fix replying not automatically switching to compose form on mobile
2019-06-14 20:37:54 +02:00
Thibaut Girka
a0b7246388
Refactor contentType selection in glitch composer
2019-05-20 10:27:31 +02:00
Thibaut Girka
dfeda8857f
Hide content-type dropdown by default
2019-05-17 23:51:14 +02:00
KokaKiwi
08a981dd25
Add status content type dropdown to compose box.
...
Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2019-05-17 23:51:14 +02:00
Thibaut Girka
46b5085ced
Use a checkbox for the “Mark media as sensitive” composer button
...
Fixes #1039
2019-05-11 12:35:38 +02:00