Skip to content

Refactor local preference storage - #3002

Merged
jake-low merged 2 commits into
mainfrom
jlow/refactor-prefs-storage
Nov 20, 2026
Merged

jake-low merged 2 commits into
mainfrom
jlow/refactor-prefs-storage

Conversation

@jake-low

Copy link
Copy Markdown
Contributor

There were a dozen or so places in the app where minor user settings (view modes, panel positions, etc) were being stored and loaded from localStorage. This consolidates them all in one place, fixing some quirks about how values are stored and named. A setup function converts old keys to their new formats.

This also fixes #2997 by making the challenge map's "tasks shown" setting default to "available" rather than "all", and be persisted across page loads and sessions.

@jake-low
jake-low force-pushed the jlow/refactor-prefs-storage branch from e13ee45 to 379f317 Compare November 20, 2026 06:59
@jake-low
jake-low merged commit 5256eb0 into main Nov 20, 2026
7 checks passed
@jake-low
jake-low deleted the jlow/refactor-prefs-storage branch November 20, 2026 07:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Make map settings permanent

1 participant