Claire
5ed48e6878
Fix extraneous newlines
1 year ago
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>
1 year ago
Claire
7d7db8977b
Fix import order with ESLint
...
Port d27216dc46
to glitch-soc
1 year ago
Claire
6001f5ff36
[Glitch] Use the new JSX transform everywhere
...
Port 8f66126b10
to glitch-soc
1 year ago
Christian Schmidt
4a1f4cb6a2
[Glitch] Fix UI crash in moderation interface when opening the media modal
...
Port 5241f7b2fd
to glitch-soc
Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2 years ago
Renaud Chaput
5f2071d055
[Glitch] Enforce stricter rules for Typescript files
...
Port c8181eb0a4
to glitch-soc
Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2 years ago
Claire
de74acbe0c
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
Eugen Rochko
34f8e696e2
[Glitch] Change all components to use the same error page in web UI
...
Port cee357d538
to glitch-soc
Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2 years ago
neatchee
8215df76c0
[Glitch] Remove legacy decorators syntax
...
Port d1b057a0ac
to glitch-soc
2 years ago
Christian Schmidt
0e476f3c4f
[Glitch] Add `lang` attribute to media and poll options
...
Port d3eefead30
to glitch-soc
Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2 years ago
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>
2 years ago
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.
2 years ago
Bramus!
1ced365371
[Glitch] Fix media markup
...
Port 7fbc17afa2
to glitch-soc
Co-authored-by: Effy Elden <effy@effy.space>
Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2 years ago
James Adney
2815ac4155
[Glitch] fix gif autoplay on iOS
...
Port c0dcf15d1e
to glitch-soc
Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2 years ago
Eugen Rochko
58e2b0973d
[Glitch] Fix media, following and followers tabs in web UI
...
Port 73de39e632
to glitch-soc
Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2 years ago
Claire
b75bf336bd
Move more modules from flavours/glitch/utils to flavours/glitch
2 years ago
Claire
d3879c07b1
Rename flavours/glitch/util into flavours/glitch/utils
2 years ago
Claire
26b687160b
Move flavours/glitch/util/initial_state to flavours/glitch/initial_state
2 years ago
Claire
188d66c9a8
[Glitch] Add aliases for WebUI routes that were renamed in #16171
...
Port 11502ae46e
to glitch-soc
Signed-off-by: Claire <claire.github-309c@sitedethib.com>
3 years ago
Eugen Rochko
a7f6524c6b
[Glitch] Change routing paths to use usernames in web UI
...
Port 52e5c07948
to glitch-soc
Signed-off-by: Claire <claire.github-309c@sitedethib.com>
3 years ago
Claire
84fbe4d030
Refactor shouldUpdateScroll stuff
3 years ago
Claire
99f28c17de
Fix scroll handling with modals
3 years ago
Eugen Rochko
50b100df00
Change media modals look in web UI
...
Port 1e89e2ed98
to glitch-soc
Signed-off-by: Claire <claire.github-309c@sitedethib.com>
4 years ago
Eugen Rochko
5ca7bc2bed
[Glitch] Change "Profile unavailable" string to "Account suspended" in web UI
...
Port 4fd3062003
to glitch-soc
Signed-off-by: Claire <claire.github-309c@sitedethib.com>
4 years ago
ThibG
adfaf9551c
[Glitch] Fix some account media gallery items having empty labels
...
Port 9d023ed4f6
to glitch-soc
Signed-off-by: Thibaut Girka <thib@sitedethib.com>
4 years ago
Eugen Rochko
6775de3fc9
[Glitch] Change web UI to show empty profile for suspended accounts
...
Port fcb9350ff8
to glitch-soc
Signed-off-by: Thibaut Girka <thib@sitedethib.com>
4 years ago
Eugen Rochko
dad3132046
[Glitch] Fix audio and video items in account gallery in web UI
...
Port 6cc5b822f5
to glitch-soc
Signed-off-by: Thibaut Girka <thib@sitedethib.com>
4 years ago
Sasha Sorokin
042c32ea3b
[Glitch] Replace repetitive blurhash code with component ( #14267 )
...
Port 61c07c3731
to glitch-soc
Signed-off-by: Thibaut Girka <thib@sitedethib.com>
4 years ago
BSKY
59946f9231
[Glitch] Add noopener and/or noreferrer
...
Port fccf83e1f2
to glitch-soc
Signed-off-by: Thibaut Girka <thib@sitedethib.com>
5 years ago
Eugen Rochko
90bdbddbfe
[Glitch] Fix scroll to top in single column UI
...
Port 2dee293c4c
to glitch-soc
Signed-off-by: Thibaut Girka <thib@sitedethib.com>
5 years ago
Eugen Rochko
360234d1bf
[Glitch] Fix audio attachments opening in video modal from media tab in web UI
...
Port c9b8ba50f8
to glitch-soc
Signed-off-by: Thibaut Girka <thib@sitedethib.com>
5 years ago
Thibaut Girka
2aa0cdf7e6
Use the `Icon` component instead of directly using `i` tag
5 years ago
Thibaut Girka
f2b307af25
Move “export” before decorators
...
As this is what upstream does.
See also https://github.com/tc39/proposal-decorators/issues/69
5 years ago
ThibG
f1528ea3c4
[Glitch] Fix handling of audio files in account media gallery
...
Port b48c7ee059
to glitch-soc
Signed-off-by: Thibaut Girka <thib@sitedethib.com>
5 years ago
Thibaut Girka
b1ab4d5ebe
Add visibility icon back in media gallery
6 years ago
Thibaut Girka
cbda1b8b66
Add back description on hover
6 years ago
ThibG
b7f69beebe
[Glitch] Make the cursor icon consistant across media types in account media gallery
6 years ago
Eugen Rochko
bc97fd641f
[Glitch] Add button to view context to media modal
...
Port eb63217210
to glitch-soc
Signed-off-by: Thibaut Girka <thib@sitedethib.com>
6 years ago
Eugen Rochko
a5da59f140
[Glitch] Change account gallery in web UI
...
Port 3f143606fa
to glitch-soc
Signed-off-by: Thibaut Girka <thib@sitedethib.com>
6 years ago
Eugen Rochko
92e1950194
[Glitch] Fix glitched out "not found" message for non-existing profiles in web UI
...
Port 56f29c38b6
to glitch-soc
6 years ago
Thibaut Girka
4849eb8e7f
Make clicking on the account and status column headers scroll to top
6 years ago
Mélanie Chauvel (ariasuni)
282ac61500
[Glitch] Make the column header of profile view look like the others, too
...
Signed-off-by: Thibaut Girka <thib@sitedethib.com>
6 years ago
Thibaut Girka
30de4e4dfc
[Glitch] Minor scrollable list fixes
...
* Make sure loading indicator has enough vertical space
* Respect reduce_motion setting for loading indicator
Port 4ede51743e
to glitch-soc
6 years ago
Thibaut Girka
1e656c3632
[Glitch] Fix “load more” button when no data has been fetched
6 years ago
Thibaut Girka
2d097c10d0
[Glitch] Make account media gallery more consistent with account timeline
...
Display “load more” more consistently, add a loading indicator on first load.
6 years ago
Thibaut Girka
5f581d7c3c
[Glitch] Fix LoadMore usage in account media gallery
...
(Even though that codepath is probably never actually used…)
6 years ago
Thibaut Girka
7cc7843109
Do not scroll timelines when *closing* media modals
...
Media modals push an history state so that pressing back on mobile closes them.
We made sure to not scroll when opening them, but not when *closing* them,
which caused some issues in rare cases.
6 years ago
Thibaut Girka
a9e8f98a9d
Make hidden media clickable in account media gallery
6 years ago
Thibaut Girka
d82c495c0f
Add media description (or status spoiler) in account media gallery
6 years ago
Thibaut Girka
eb85427576
[Glitch] Honour displayMedia setting in accountMedia gallery
...
Inspired by b79ab15859
6 years ago