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
2 years ago
Claire
12e8bcac9d
Fix some more Javascript linting issues and discrepancies with upstream ( #2209 )
...
* Fix typo in flavours/glitch/features/video/index.js
* Fix various linting issues and discrepancies with upstream
2 years ago
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
2 years ago
Nick Schonning
c4e35a3f68
[Glitch] Enable formatjs/prefer-pound-in-plural
...
Port 86d0a0b7d8
to glitch-soc
Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2 years ago
Plastikmensch
10259df1be
Change `drawer--header` to `drawer__header` ( #2189 )
...
Signed-off-by: Plastikmensch <plastikmensch@users.noreply.github.com>
2 years ago
Nick Schonning
3237eb3759
[Glitch] Ensure tabIndex is number instead of string
...
Port 53376db94c
to glitch-soc
Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2 years ago
neatchee
a73b29e8cc
[Glitch] Remove legacy decorators syntax
...
Port e272fc91e4
to glitch-soc
2 years ago
Claire
5548b2c73f
[Glitch] Add `lang` tag to native language names in language picker
...
Port 82c464d4d0
to glitch-soc
Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2 years ago
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>
2 years ago
Nick Schonning
a0bef6bdb6
[Glitch] Enable ESLint no-useless-escape
...
Port 1c2ca9557f
to glitch-soc
Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2 years ago
Claire
70984c6f65
[Glitch] Enable ESLint import recommended rules
...
Port 2663b421be
to glitch-soc
2 years ago
Claire
b525ce4bf9
[Glitch] Fix attached media uploads not being cleared when replying to a post
...
Port 3c1e48d304
to glitch-soc
Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2 years ago
Christian Schmidt
71629f6f99
[Glitch] Spell check input fields
...
Port 9b74ffa7e0
to glitch-soc
Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2 years ago
Claire
2862f0d94a
Further JS code style changes
2 years ago
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.
2 years ago
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>
2 years ago
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>
2 years ago
Connor Shea
d4932b3073
[Glitch] Add listing of followed hashtags
...
Port be280f10c5
to glitch-soc
Co-authored-by: Claire <claire.github-309c@sitedethib.com>
Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2 years ago
Claire
c0a441d90f
[Glitch] Add support for editing media description and focus point of already-posted statuses
...
Port 42aa864c84
to glitch-soc
Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2 years ago
Claire
05e9c71cfc
[Glitch] Remove hardcoded width from dropdown overlays
...
Port ff5f21d505
to glitch-soc
Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2 years ago
Peter Simonsson
37cd05b115
[Glitch] Fix dropdown menu positions when scrolling
...
Port 9d20c31f9c
to glitch-soc
Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2 years ago
Holden Foreman
67b5d82b42
[Glitch] Add aria-hidden to content warning field when dimmed so that it is not confusing to screen reader users
...
Port 4515ec2696
to glitch-soc
Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2 years ago
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>
2 years ago
Rens Groothuijsen
6e40a09c88
[Glitch] Display search popout at fixed screen position
...
Port 37e12ff0ae
to glitch-soc
Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2 years ago
Pleclown
99cd75cfc4
[Glitch] Adding 12 hours option for polls
...
Port 8993b7d630
to glitch-soc
Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2 years ago
Alex Stine
44b65e3b13
[Glitch] Fix hidden label causing accessibility issue for search inputs
...
Port ce1103a154
to glitch-soc
Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2 years ago
Claire
dd29c1d258
Port navigation bar from upstream ( #1986 )
...
Fixes #1977
2 years ago
Claire
cc21d9137f
Fix privacy dropdown in boost modal on mobile ( #1967 )
...
Fixes #1965
2 years ago
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>
2 years ago
Claire
905aa6616d
[Glitch] Remove “No description added” media warning in edit mode
...
Port 28ae058593
to glitch-soc
Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2 years ago
Claire
bef72dcabb
Fix styling of advanced options dropdown ( #1916 )
...
Fixes #1914
2 years ago
Claire
59e51cfea4
[Glitch] Fix opening the language picker scrolling the single-column view to the top
...
Port ffef3ac03b
to glitch-soc
Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2 years ago
Claire
ba394a191b
Change glitch-soc composer classes to match upstream
2 years ago
Sunny Ripert
1ad7f63551
[Glitch] Fix JavaScript console error on upload editing status
...
Port 343099eafa
to glitch-soc
Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2 years ago
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>
2 years ago
Eugen Rochko
a1fed002e8
[Glitch] Fix logged out search and changed logged-in search placeholder
...
Port 973d496b86
to glitch-soc
Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2 years ago
Eugen Rochko
97e7443443
[Glitch] Fix redirecting to `/publish` when compose form is visible in web UI
...
Port 2e0f4c286f
to glitch-soc
Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2 years ago
Eugen Rochko
104af53947
[Glitch] Change public accounts pages to mount the web UI
...
Port 0fdfbe555e
to glitch-soc
Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2 years ago
Eugen Rochko
d8338794a1
[Glitch] Fix logged-out web UI on smaller screens
...
Port 2d634b669b
to glitch-soc
Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2 years ago
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>
2 years ago
Claire
74e5dc13d8
Move flavours/glitch/features/emoji_picker back to flavours/glitch/features/compose/containers/emoji_picker_dropdown_container
2 years ago
Claire
bf6b66bf32
Move more modules from flavours/glitch/utils to flavours/glitch
2 years ago
Claire
61c3d9fc75
Move some modules from flavours/glitch/utils/ back to flavours/glitch/features/compose/util/
2 years ago
Claire
812b755bcb
Move some modules from flavours/glitch/utils/ back to flavours/glitch/features/ui/util/
2 years ago
Claire
874cd0e883
Rename flavours/glitch/util into flavours/glitch/utils
2 years ago
Claire
3bf201ddaa
Move flavours/glitch/util/initial_state to flavours/glitch/initial_state
2 years ago
Claire
e1d3397818
[Glitch] Add ability to filter individual posts
...
Port 522fbf9d13
to glitch-soc
Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2 years ago
Eugen Rochko
2184897fba
[Glitch] Change label of publish button to be "Publish" again
...
Port 8ec66981da
to glitch-soc
Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2 years ago
Claire
b1085e2dfa
Fix crash in glitch-soc search results when Elasticsearch is disabled ( #1780 )
3 years ago
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>
3 years ago