Eugen Rochko
f9d95f82d6
[Glitch] Fix various issues with logged-out Web UI
...
Port fixes from cd9a0f136d
to glitch-soc
Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2 years ago
Mélanie Chauvel
f808214a8f
[Glitch] Improve hover and focus style in columns settings
...
Port 6f00276f06
to glitch-soc
Signed-off-by: Claire <claire.github-309c@sitedethib.com>
3 years ago
ThibG
8fb1cbf6fe
[Glitch] Fix browser notification permission request logic
...
Port 592fa427e3
to glitch-soc
Signed-off-by: Thibaut Girka <thib@sitedethib.com>
4 years ago
Thibaut Girka
9f924a3283
Refactor notifications cleaning mode
5 years ago
ThibG
f6b0fc204d
[Glitch] Fix “new items glow” being displayed above settings and announcements
...
Port 234f1be486
to glitch-soc
Signed-off-by: Thibaut Girka <thib@sitedethib.com>
5 years ago
ThibG
1b1c7353a8
[Glitch] Fix crash when switching back/from mobile layout
...
Port 2673b89971
to glitch-soc
Signed-off-by: Thibaut Girka <thib@sitedethib.com>
5 years ago
Eugen Rochko
69bcef3525
[Glitch] Fix thread column showing pin button
...
Port 35bc382e57
to glitch-soc
Signed-off-by: Thibaut Girka <thib@sitedethib.com>
5 years ago
Eugen Rochko
2d701e88f5
[Glitch] Fix column header scrolling with the page
...
Port cf45e39dd5
to glitch-soc
Signed-off-by: Thibaut Girka <thib@sitedethib.com>
5 years ago
Thibaut Girka
9b0b130299
Use the `Icon` component instead of directly using `i` tag
5 years ago
Thibaut Girka
080bdf6949
Move “export” before decorators
...
As this is what upstream does.
See also https://github.com/tc39/proposal-decorators/issues/69
5 years ago
Thibaut Girka
619d55358f
Shift+click on column Back button to return to last pinable column
6 years ago
Thibaut Girka
7d437f7fc9
[Glitch] Back to the getting-started when pins the timeline
...
Port f579f1b10e
to glitch-soc
6 years ago
Thibaut Girka
37dc96b71b
Use history.state to decide whether we should goBack() or go to / ( fixes #247 )
...
So far, glitch-soc used history.length to decide whether to call `goBack()` or
go to / in order to not leave the webUI. This made clicking the “Back” button
go to the “Getting started” column instead of going back in the browser's
history when such an action would leave the web UI, but also when:
- The WebUI is refreshed (F5)
- A tab is restored
- The history length reaches its maximum (e.g., 50 in Firefox)
This commit fixes these shortcomings by checking `window.history.state`.
Indeed, we only want to go back in the browser's history when the current
location has been reached from within the WebUI, which only happens via
`pushState` as far as I know. Since browser store the serialized state in
the browser history, this also survives page reload and session restoration.
7 years ago
Thibaut Girka
4e4a5fc1ad
Add show more/less toggle for entire threads in web UI
...
Inspired from b9b01bf14a
but using component
properties instead of redux store for hidden/revealed state.
7 years ago
Thibaut Girka
a51aa91caf
[Glitch] Fix button hiding when header title is too long
...
Port 95da1b3351
to glitch-soc
7 years ago
Thibaut Girka
8c190e6235
[Glitch] Fix column headers accessibility
...
Port c6d5ea8695
to glitch-soc.
SCSS fix inspired by 4cf5144099
.
7 years ago
kibigo!
882055afd0
Rename themes -> flavours ? ?
7 years ago