about summary refs log tree commit diff
path: root/app/javascript/flavours/glitch/components/modal_root.js
AgeCommit message (Collapse)Author
2023-02-25[Glitch] Rename JSX files with proper `.jsx` extensionRenaud Chaput
Port 44a7d87cb1f5df953b6c14c16c59e2e4ead1bcb9 to glitch-soc Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2023-02-03[Glitch] Run eslint --fixClaire
I don't like it changing files this way, but it's basically what c49213f0ea311daba590db1d7a14a641cbd9fe93 and a few others did.
2022-05-15Use upstream's settings for CW auto-expand and column swiping (#1770)Claire
* 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
2022-02-26[Glitch] Fix reply button on media modal not giving focus to compose formClaire
Port 2cd31b31778cec3b282a44f03a03844d92a4e8cc to glitch-soc Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2021-07-12Fix and simplify browser history handling in relation to modalsClaire
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
2021-05-07[Glitch] Fix too low contrast on new media modal background in web UIEugen Rochko
Port 014733d1e4c54cd47d2afd361db26982f02166fd to glitch-soc Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2021-05-07Change media modals look in web UIEugen Rochko
Port 1e89e2ed988d2103ecd46e06476d863cb40c57c7 to glitch-soc Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2020-11-25[Glitch] Remove fade-in animation from modals in web UIEugen Rochko
Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2020-04-09Fix deprecated use of createBrowserHistoryThibaut Girka
2019-12-01[Glitch] Fix lost focus when modals open/closeThibG
Port 35b142a7ad19821483f900e81e915a7925fd4eaf to glitch-soc Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2019-11-06[Glitch] Use inert polyfillGabriel Rubens
Port 3cc9ff872f676d7ce56f7cf7875f85f804ea20a9 to glitch-soc Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2019-08-06[Glitch] Trap tab in modalsThibG
Port 5c73746b695e5bc540b41f5ae1406eac6220886e to glitch-soc Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2019-04-16Fix opening/closing gifv sometimes making the timeline scrollThibaut Girka
2018-12-21Fix composer not getting focus after reply confirmation dialogThibaut Girka
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.
2018-07-30Allow modals to be closed by pressing “back”Thibaut Girka
2018-05-11Fix root modal's keyup handling (Fixes #478)Thibaut Girka
2018-04-20[Glitch] Show media modal on public pagesThibaut Girka
Port ff7941e652af1d54d9c991254556e7932a8b183c to glitch-soc