Repository navigation
feat(ui): apply the view colour and count rules across the UI - #315
Conversation
Rules: colour means an open view, a state or a person, never decoration; action icons are neutral until their view is open; one colour per view; counts at the right end of full-width rows and right after block headings. - Block-heading counts render through one HeadingCount (muted, small, no parentheses): Task review and Learn sections, profile groups, stored remarks, both agenda sections, folder task groups, a person's recordings, billing groups. - Full-width rows put their count at the right end: Needs review filter, agenda disclosure (wraps at narrow widths), arrival overflow, the transcript chapter bar (title first, position at the right). - Neutral at rest: item header Share (magenta only for an existing person share) and Knowledge; folder menu agenda and share icons; item menu share; received-item filing; delete/revoke icons and destructive menu items, red only on hover/focus (contrast >= 4.5:1 in both themes). - Item header Knowledge takes --knowledge and a pressed look while open. - Inline editors keep their trigger visible but inactive while open (InlineEditorTrigger): task Note, meeting note, Edit summary, Add person, Add thing, nickname; focus returns to the trigger after save or cancel. - Tasks orange only on links into Tasks; Task review labels, note borders and disclosures (agenda, show dropped) stay neutral; formatted mail and the access/archived-profile toggles use the neutral pressed look. - Access settings ignore stale detail responses when switching people. - Guide text for the inactive editor triggers; screenshots retaken where the UI changed; capture.sh follows the new Needs review label.
Switching to another person while a change for the first one was saving dropped its error, success and session messages. The outcome of a write the admin made is now always reported (a sign-in prompt applies to the whole page); only the first person's detail is no longer reloaded or shown.
Review: feat(ui): apply the view colour and count rules across the UILarge but mechanical PR (70 files, mostly styling/aria swaps to the new Verdict: COMMENT Findings: Blocker 0 | Critical 0 | Major 1 | Minor 0 | Nit 0 Findings
Verified clean (no issues)
Missing testsNone beyond the text-color gap above ( |
The inactive trigger only reset its hover background, so ghost and outline triggers (Edit summary, Add thing, Add a nickname) still changed text colour on hover. While its editor is open the trigger now has pointer-events: none: no hover state of any variant, keyboard focus unchanged, clicks were already ignored.
|
Review: feat(ui): apply the view colour and count rules across the UI Re-review after the last push ( Verdict: APPROVE Findings: Blocker 0 | Critical 0 | Major 0 | Minor 0 | Nit 0 Findings None. The sole MAJOR from the prior round ( Missing tests None beyond what the prior round already covered. |
What
Applies the UI rules agreed on the screenshot review page to the rest of the UI (the folder header part shipped in #314):
Fixes marked on the review page
HeadingCount: Task review and Learn sections, profile groups, stored remarks, both agenda sections, folder task groups, a person's Recordings, billing groups.--knowledge) with a pressed look, matching the folder header.InlineEditorTrigger, same look as Add task from feat(ui): folder header action row and folder Tasks panel #314). This covers task Note, meeting note, Edit summary, Add person, Add thing and nickname. Focus returns to the trigger after Save/Cancel.Not on the review page (easy to reverse)
These came from the audit's other clear violations; please check them:
bg-accent,aria-pressed). Access rows close on a second click.Reviewer calls (where I overrode the implementer and the cross review)
aria-pressed, onlyaria-expanded. They reveal content in place, like the widget chevrons.border-border) instead of orange/teal.Kept as is (marked fine on the review page)
R1-2 folder chips, R1-3 Knowledge tabs, R1-5 Learn pills, R1-6 Almanac Review badge, R2-5 speaker colours, R2-6 overdue pill, R2-7 Invitations launcher, R2-9 transcript chevron, R3-2 agenda actions, R3-3 Tasks page Add task, R3-4 review counts. Also kept: filled destructive buttons, scope marks and workflow colours.
Also
capture.shfollows the new "Needs review 1" label.Tests
src/tests/ui/covers the rules, the shared primitives, access selection races and destructive menu contrast. Run against the pre-change components, 52 + 27 of the new cases fail.tsc --noEmitand Biome are clean.Upgrade steps
None: no schema, migration, env or deployment change.