The task
On the mobile PWA (m.html), remember the visitor's last-used filter chip (Core / a use case / All) across sessions, so reopening the app restores where they were.
Why
The mobile app already persists theme (kuber-theme) and My Map (kuber-mymap). Persisting the active filter is a small, self-contained UX win and a friendly first contribution.
Where to start
m.html only (desktop app.html is a separate UI — don't touch it).
- The active filter is the
active variable; chips are built in buildChips() and applied in matches()/render().
- Mirror the
kuber-theme localStorage pattern. Suggested key: kuber-filter. Fall back to core when absent or stale.
Done when
The task
On the mobile PWA (
m.html), remember the visitor's last-used filter chip (Core / a use case / All) across sessions, so reopening the app restores where they were.Why
The mobile app already persists theme (
kuber-theme) and My Map (kuber-mymap). Persisting the active filter is a small, self-contained UX win and a friendly first contribution.Where to start
m.htmlonly (desktopapp.htmlis a separate UI — don't touch it).activevariable; chips are built inbuildChips()and applied inmatches()/render().kuber-themelocalStorage pattern. Suggested key:kuber-filter. Fall back tocorewhen absent or stale.Done when
core(no crash).service-worker.jscache version.