gathering / gondul

Network management/monitoring system specialized for temporary events
http://tech.gathering.org
GNU General Public License v2.0
43 stars 10 forks source link

fix(nightmode): Respect user provided configuration for night mode if provided #226

Closed sklirg closed 1 year ago

sklirg commented 1 year ago

If user sets the cookie or URL query parameter for nightMode, we will respect that. Note that it is a bit cumbersome to clear this configuration (afaik?) if it is set.

This is also the case if the user toggles nightmode directly in Gondul (n). However, this last configuration is not persisted - so on a page reload, this setting is removed (no need to clear cookies/query params), and the system preference is again followed.