Claire
e6af69d56b
Use upstream's settings for CW auto-expand and column swiping ( #1770 )
...
* Use Mastodon server-side settings for automatically expanding toots with CWs
* Add modal warning about settings changes
* Use Mastodon server-side settings for disabling swiping
3 years ago
Claire
5dd7d6bc07
[Glitch] Fix reply button on media modal not giving focus to compose form
...
Port cbf951569e
to glitch-soc
Signed-off-by: Claire <claire.github-309c@sitedethib.com>
3 years ago
Claire
a57b3f5f4b
Fix and simplify browser history handling in relation to modals
...
This simplifies the logic to:
- when the last modal gets closed and we're in our history buffer state, go back
- whenever a modal is open, ensure we're in a history buffer state by
potentially pushing one
3 years ago
Eugen Rochko
f1c5ce7cea
[Glitch] Fix too low contrast on new media modal background in web UI
...
Port 9d12bbf0e2
to glitch-soc
Signed-off-by: Claire <claire.github-309c@sitedethib.com>
4 years ago
Eugen Rochko
65f497cac2
Change media modals look in web UI
...
Port af1fa584e9
to glitch-soc
Signed-off-by: Claire <claire.github-309c@sitedethib.com>
4 years ago
Eugen Rochko
11e0328fc7
[Glitch] Remove fade-in animation from modals in web UI
...
Signed-off-by: Thibaut Girka <thib@sitedethib.com>
4 years ago
Thibaut Girka
79e5f368ed
Fix deprecated use of createBrowserHistory
5 years ago
ThibG
df04f885a5
[Glitch] Fix lost focus when modals open/close
...
Port 6041cfb13d
to glitch-soc
Signed-off-by: Thibaut Girka <thib@sitedethib.com>
5 years ago
Gabriel Rubens
be32d811d1
[Glitch] Use inert polyfill
...
Port 84e3b5a358
to glitch-soc
Signed-off-by: Thibaut Girka <thib@sitedethib.com>
5 years ago
ThibG
2ff69c95ce
[Glitch] Trap tab in modals
...
Port 0da8fdc438
to glitch-soc
Signed-off-by: Thibaut Girka <thib@sitedethib.com>
5 years ago
Thibaut Girka
ae88690fa6
Fix opening/closing gifv sometimes making the timeline scroll
6 years ago
Thibaut Girka
d9a6c27f3b
Fix composer not getting focus after reply confirmation dialog
...
The modal-handling code gives back focus to the element focused when the
modal opened. However, in the case of reply confirmation, it would do so
*after* the composer code itself requested focus.
6 years ago
Thibaut Girka
4e8532cc1a
Allow modals to be closed by pressing “back”
6 years ago
Thibaut Girka
336d5fecdb
Fix root modal's keyup handling ( Fixes #478 )
7 years ago
Thibaut Girka
d6693f3ae3
[Glitch] Show media modal on public pages
...
Port 47d2277ef1
to glitch-soc
7 years ago