Skip to content

Welcome page: detailed map and full city list on by default - #41

Merged
davd-gzl merged 1 commit into
mainfrom
intro-defaults
Oct 23, 2026
Merged

davd-gzl merged 1 commit into
mainfrom
intro-defaults

Conversation

@davd-gzl

@davd-gzl davd-gzl commented Oct 23, 2026 •

Copy link
Copy Markdown
Collaborator

Before: on the welcome page, "Detailed map" and "Full city list" started off, and flipping either one on reached the network straight away.

After: on a first run both start switched on. Tapping "Get started" with them still on turns on the detailed map and downloads the full city list (about 17 MB). Either can be switched off first. "Skip" applies neither, and in offline mode nothing is turned on. When the welcome page is opened again later, its switches show and change the current settings as before.

The privacy rule still holds: nothing reaches the network until the newcomer taps "Get started" with both switches in view, and that tap is the opt-in.

How: IntroScreen keeps the two choices in local state on a first run and applies them in start(). New tests in tests/unit/introDefaults.spec.tsx. Typecheck and all 704 unit tests pass locally.

Both switches on the welcome page start on. Nothing reaches the network
until Start is tapped with them still on, which is the opt-in; Skip and
offline mode apply neither, and a later visit shows the current settings.
@davd-gzl
davd-gzl merged commit d121f4a into main Oct 23, 2026
1 check passed
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.

1 participant