Skip to content

feat(user): require age_range when creating a user - #467

Merged
zigzagdev merged 2 commits into
mainfrom
feat/user-create-age-range
Jul 28, 2026
Merged

zigzagdev merged 2 commits into
mainfrom
feat/user-create-age-range

Conversation

@zigzagdev

Copy link
Copy Markdown
Owner

Summary

  • Add ageRange to CreateUserFormValues / age_range to CreateUserRequest, so it's collected and sent when creating a user
  • UserCreateForm gains a select field for age range, using the existing AGE_RANGES options
  • subscriptionTier is left out of the create flow (nullable, set/changed via a separate flow)

Related

Closes #466

Test plan

  • npx tsc --noEmit
  • npx jest src/app/features/user
  • npm run build
  • npm run format:check
  • npm run lint

@zigzagdev zigzagdev self-assigned this Jul 28, 2026

@zigzagdev zigzagdev left a comment

Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@zigzagdev
zigzagdev merged commit 9bd7777 into main Jul 28, 2026
1 check passed
@zigzagdev
zigzagdev deleted the feat/user-create-age-range branch July 28, 2026 00:27
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.

feat: ユーザー作成時にage_rangeを必須項目にする

1 participant