fix: account menu matches the redesigned board: System, Light, Dark stay in the menu and the sheet, and the visual-check exception on profile "Account menu" in web/visual/states.ts is removed
This commit is contained in:
1 parent
6dc47789ef
commit
27dadbbfa6
6 files changed
+68
-20
No files matched your search
@@ -102,12 +102,17 @@ capture must be within 10 %. Base session mock: GET /v1/auth/me 200 with id 1, u
|
||||
"marta", email "marta@renew.example", is_verified true, display_name "" (state-specific
|
||||
overrides below).
|
||||
|
||||
- [ ] Account menu: /home with `now: boardNow` and the home Default fixtures, session as above,
|
||||
menu opened by clicking the chip (on mobile: open the drawer, then the account row). Name
|
||||
"marta", initials "MA", email "marta@renew.example". The theme items kept by user decision
|
||||
are not drawn on the board, so the mobile capture is expected to exceed 10 %. The user has
|
||||
approved a per-state `exception` for it, to be added with `approvedBy` only after the
|
||||
real difference is measured and reported to the user with its cause.
|
||||
- [ ] Account menu: /home with `now: boardNow` and the home Default fixtures, session as above
|
||||
(id 1, "marta", "marta@renew.example", display_name ""), menu opened by clicking the chip
|
||||
(on mobile: open the drawer, then the account row). Name "marta", initials "MA", email
|
||||
"marta@renew.example". The board now draws System, Light and Dark, with Light checked in
|
||||
its sample. The `exception` block is removed from web/visual/states.ts, so the default 10 %
|
||||
gate applies. `task visual:check -- profile "Account menu"` must PASS on all four captures
|
||||
(desktop and mobile, light and dark). If the only remaining diff is the board's Profile
|
||||
highlight on Home (the app highlights Profile only on /profile), do NOT re-add an exception
|
||||
and do NOT highlight Profile on Home. Stop and ask the user.
|
||||
- [ ] Manual: item heights measured 32 px (desktop popover) and 48 px (mobile sheet); arrow keys move
|
||||
between items; Escape and outside click close; choosing a theme keeps the menu open.
|
||||
- [ ] Loading: /profile with GET /v1/auth/me hanging; three skeleton cards, 16 px apart.
|
||||
- [ ] Default, no display name: empty field, "0 / 60", the username footer, Save at 40 %.
|
||||
- [ ] Editing: type "Marta Alves"; field focused; "11 / 60"; "Unsaved changes"; Save enabled.
|
||||
|
||||
Reference in new issue
Block a user