feat(13.1): add UserMenu component with avatar, Settings link, and Sign Out
- Install @radix-ui/react-dropdown-menu and add shadcn/ui dropdown-menu component - Create src/components/user-menu.tsx: avatar button showing user initial, DropdownMenu with name/email label, Settings link (/app/settings), Sign Out (calls signOut with redirect to /login) - Replace placeholder div in src/app/app/layout.tsx with <UserMenu /> - Remove now-redundant standalone Settings link from nav bar (Settings is in dropdown) - Mark task 13.1 done in openspec/changes/user-accounts/tasks.md Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
fba0b29d64
commit
9884f47d5a
6 changed files with 393 additions and 20 deletions
|
|
@ -75,7 +75,7 @@
|
|||
|
||||
## 13. App Layout & User Menu
|
||||
|
||||
- [ ] 13.1 `[sonnet]` Create user menu component: avatar/initial, dropdown with "Settings" and "Sign Out" links
|
||||
- [x] 13.1 `[sonnet]` Create user menu component: avatar/initial, dropdown with "Settings" and "Sign Out" links
|
||||
- [ ] 13.2 `[haiku]` Add settings gear icon to sidebar (near theme toggle)
|
||||
- [ ] 13.3 `[haiku]` Wire `signOut()` in user menu to destroy session and redirect to `/login`
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue