Skip to content

feat(onboarding): compulsory date of birth, permanent-change warning - #17

Merged
pushpsood merged 2 commits into
mainfrom
feat/dob-onboarding
Oct 27, 2026
Merged

pushpsood merged 2 commits into
mainfrom
feat/dob-onboarding

Conversation

@pushpsood

Copy link
Copy Markdown
Owner

Onboarding collects the date of birth (18+) instead of age, behind an explicit 'can never be changed' warning and a required confirmation. Profile shows it locked; a provisional (backfilled) date can be replaced once. Maps State's 409 gate codes. Bumps onehook-api-client to 1.0.31.

Locally: lint, 614 tests, production build green (GitHub Actions blocked by billing).

…rning; DOB locked on profile

- Onboarding asks for the date of birth (18+) instead of age, with an explicit
  'this can never be changed' warning and a required confirmation checkbox
- Age is no longer sent; the server derives it from birthDetails.date
- Profile shows the DOB read-only; members with a provisional (estimated) DOB may enter
  their real date once, with the same warning
- Maps State's complete-onboarding 409 codes (BIRTH_DATE_REQUIRED, PROFILE_REQUIRED,
  PROFILE_CHECK_UNAVAILABLE)

Requires onehook-api-client with birthDetails (next release after 1.0.30).
@pushpsood

Copy link
Copy Markdown
Owner Author

Backend gamma is live with birthDetails (pipeline 433db6b1, Flyway V26). Local: lint, 614 tests, build green.

@pushpsood
pushpsood merged commit d0bee1f into main Oct 27, 2026
1 check passed
@pushpsood
pushpsood deleted the feat/dob-onboarding branch November 4, 2026 20:46
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