Skip to content

feat(mobile): register flow + onboarding redesign - #60

Merged
cafca merged 1 commit into
mainfrom
claude/keen-johnson-fe94dd
Apr 24, 2026
Merged

feat(mobile): register flow + onboarding redesign#60
cafca merged 1 commit into
mainfrom
claude/keen-johnson-fe94dd

Conversation

@cafca

@cafca cafca commented Apr 24, 2026

Copy link
Copy Markdown
Owner

Summary

  • Add a RegisterScreen (email + password, with email-taken / weak-password handling) so guests can create an account from the app itself.
  • Redesign the final onboarding slide into a three-tier CTA hierarchy: primary Create account, secondary Log in, tertiary Skip for now. No more inline form on the slide.
  • Mirror that hierarchy on the home-sheet guest state (side-by-side register + log in) and in Settings → Account (stacked register + log in). Logged-in settings still shows a single Log out button.
  • LoginScreen and RegisterScreen now accept an onSuccess callback so onboarding completes after either auth path succeeds.
  • Restores the pre-paint-mode onboarding copy (anonymous-session privacy bullet, "use without account" wording) now that painting is available on iOS — reverts PR feat(mobile): force login in onboarding + inline form #56 content-wise while keeping a prominent login path for returning users.
  • Localization: new registerTitle / registerSubmit / registerError* / onboardingCreateAccount / onboardingSkip (en + de). DE uses "Registrieren" on buttons because "Konto erstellen" overflows.

Why

Painting mode shipped on mobile (#55), so the "force login in onboarding" band-aid from #56 is no longer needed. At the same time the app was missing a register UI entirely — new users had to go to the web. This adds the missing piece, puts register as the primary action without forcing it, and makes the entry points consistent across onboarding, home, and settings.

Test plan

  • flutter analyze clean
  • just test-mobile — 172 tests pass, including new onboarding tests for all three paths (skip, login success, register success)
  • Manual on iOS sim: tap through onboarding → register → land on map
  • Manual on iOS sim: tap through onboarding → log in → land on map
  • Manual on iOS sim: tap through onboarding → skip → guest state on home sheet shows both buttons
  • Manual on iOS sim: Settings while anonymous → register + log in stacked; after login → Log out single button

Add a RegisterScreen with email + password. Rework the final onboarding
slide into a three-tier hierarchy: primary Create account, secondary Log
in, tertiary Skip for now. Mirror that hierarchy on the home sheet guest
state and in Settings > Account so guests can register from anywhere.

Login/Register screens accept an onSuccess callback so onboarding
completes after either auth path succeeds.

Restores the pre-paint-mode onboarding copy (anonymous-session bullet,
"use without account" wording) now that painting is available on iOS.
@cafca
cafca merged commit 2c8f4cb into main Apr 24, 2026
7 checks 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