feat: tabbed profile page with PIN setup and auto employee numbers #11

Merged
ryan merged 1 commits from feature/user-profile into main 2026-04-05 19:43:54 +00:00
Owner

Summary

  • Profile page split into Account, Security, Appearance tabs
  • Security tab: change password + set/change/remove POS PIN
  • Warning banner with link to Security tab when no PIN is set
  • /auth/me now returns employeeNumber and hasPin
  • Migration 0046: Postgres trigger auto-assigns sequential employee numbers (starting at 1001), backfills existing users
  • Added shadcn Alert component

Test plan

  • Profile page loads with 3 tabs
  • Account tab shows avatar, name, email, employee number
  • Security tab: change password works
  • Security tab: set/change/remove PIN works
  • PIN warning banner shows when no PIN set, links to Security tab
  • New users get auto-assigned employee numbers
  • Existing users without employee numbers get backfilled on migration

🤖 Generated with Claude Code

## Summary - Profile page split into Account, Security, Appearance tabs - Security tab: change password + set/change/remove POS PIN - Warning banner with link to Security tab when no PIN is set - `/auth/me` now returns `employeeNumber` and `hasPin` - Migration 0046: Postgres trigger auto-assigns sequential employee numbers (starting at 1001), backfills existing users - Added shadcn Alert component ## Test plan - [ ] Profile page loads with 3 tabs - [ ] Account tab shows avatar, name, email, employee number - [ ] Security tab: change password works - [ ] Security tab: set/change/remove PIN works - [ ] PIN warning banner shows when no PIN set, links to Security tab - [ ] New users get auto-assigned employee numbers - [ ] Existing users without employee numbers get backfilled on migration 🤖 Generated with [Claude Code](https://claude.com/claude-code)
ryan added 1 commit 2026-04-05 19:42:08 +00:00
feat: tabbed profile page with PIN setup and auto employee numbers
All checks were successful
CI / ci (pull_request) Successful in 25s
CI / e2e (pull_request) Successful in 55s
96d2a966d7
- Profile page split into Account, Security, Appearance tabs
- Security tab: change password + set/change/remove POS PIN
- Warning banner with link to Security tab when no PIN is set
- /auth/me returns employeeNumber and hasPin
- Migration 0046: Postgres trigger auto-assigns sequential employee
  numbers starting at 1001, backfills existing users
- Added shadcn Alert component

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
ryan merged commit 7bca854058 into main 2026-04-05 19:43:54 +00:00
Sign in to join this conversation.
No Reviewers
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: ryan/lunarfront-app#11