feat(tasks): persist view mode and support ?view=kanban URL parameter

View mode (list/kanban) is now saved to localStorage and restored on
page load. URL parameter ?view=kanban takes precedence, enabling tablet
kiosk setups to default to Kanban view. Toggle buttons reflect the
active view correctly on initial render.

Closes #17
This commit is contained in:
Ulas
2026-04-04 22:34:29 +02:00
parent 2c36fa0307
commit 0421b540cd
4 changed files with 26 additions and 9 deletions
+3 -3
View File
@@ -12,9 +12,9 @@
* API: Immer Netzwerk (kein Caching von Nutzerdaten)
*/
const SHELL_CACHE = 'oikos-shell-v24';
const PAGES_CACHE = 'oikos-pages-v24';
const ASSETS_CACHE = 'oikos-assets-v24';
const SHELL_CACHE = 'oikos-shell-v25';
const PAGES_CACHE = 'oikos-pages-v25';
const ASSETS_CACHE = 'oikos-assets-v25';
const ALL_CACHES = [SHELL_CACHE, PAGES_CACHE, ASSETS_CACHE];
// App-Shell: sofort benötigt für ersten Render