- .mcp.json: Playwright MCP config - 08-UAT.md: Phase 8 UAT results - quick task summaries: 260630 user-settings, 260701 calendar domain Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
1.7 KiB
slug, date, status
| slug | date | status |
|---|---|---|
| user-settings-bugfix | 2026-06-30 | in-progress |
User Settings Bug Fixes
Fix two bugs found during Playwright verification of the account settings page.
Bug 1: Stale password error message
Problem: After a failed password submit (e.g. wrong current password), the error message stays visible while the user types new values. It only disappears on the next submit.
Fix: Add onChange handlers to all three password inputs in account-settings-form.tsx that clear pwError and pwMismatch state when the user starts typing.
File: apps/web/src/components/settings/account-settings-form.tsx
Bug 2: Header avatar no live update
Problem: After successful avatar upload, the avatar in the account settings form updates immediately, but the small header avatar (top-right) still shows the "A" initial until page reload. The header reads user.hasAvatar from the Zustand auth store, which is never updated after upload.
Fix:
- Add
avatarVersion: numberandbumpAvatarVersion: () => voidtoauth-store.ts - In
account-settings-form.tsx: after successful upload, callbumpAvatarVersion()AND updateuser.hasAvatar = truein the store viasetUser - In
header.tsx: useavatarVersionfrom the store as a cache-busting query param on the avatar img src
Files:
apps/web/src/lib/stores/auth-store.tsapps/web/src/components/settings/account-settings-form.tsxapps/web/src/components/layout/header.tsx
Tasks
- auth-store: add avatarVersion + bumpAvatarVersion
- account-settings-form: clear errors on input change; call bumpAvatarVersion + update store hasAvatar on upload success
- header: use avatarVersion as cache-busting param in avatar img src