Files
pipelines/app/notes/chat-state-navigation.md

2.4 KiB

Chat identity, state and compact-rail legibility

User identity colors and the animated visible/active edges remain unchanged. Normal rows now state Active or Visible with a neutral shape/text marker; Working, background task counts and New are explicit independent facts. A running row with unread content retains the prior quiet avatar behavior but now still says Working, so unread and execution are not conflated.

Compact avatars retain neutral pane-state shapes, a foreground spinner or background count, and a separate unread mark. Native button tooltips/accessibility labels contain full title, model, directory, recency and current activity facts. Expand is visible text, not just an icon. An optional navigation footer lets the shell supply its destination launcher without this feature opening routes.

Background avatars show an actual count instead of an indistinct ellipsis. Cupertino secondary metadata and recency now use the native label at .82 alpha; Material retains onSurfaceVariant. Neutral state text uses native onSurface or label. The new calculation test covers both native hosts, light/dark and eight identity colors at the strongest active gradient tint: 64 foreground/background combinations meet at least 4.5:1. This is a bounded palette check, not a complete accessibility audit of custom themes, focus or disabled controls.

Tests: 132 session tests passed (/tmp/memwatch/out.CVA6FK); six final state, compact-facts and native palette tests passed (/tmp/memwatch/out.iFGOhB). Analyzer clean (flutter-analyze.WdYBd8). Parent owns integrated browser captures and shell launcher testing. No server or device operations performed.

Follow-up: expanded chat lists now consume the shell's measured bottom media inset as a real clipped viewport through ChatListViewport/SafeArea, rather than allowing rows to paint beneath opaque navigation and merely appending scroll padding. The consumed inset is removed for the inner list, avoiding a double footer. Existing top/side behavior and resting scroll position remain. The last row and its metadata can scroll fully clear and remain tappable; resizing preserves the Scrollable state and offset. Compact rail controls also publish their full Active/Visible/Working labels and tap action explicitly, so the shape indicators are not their sole accessible meaning. 139 focused list/session tests pass (/tmp/memwatch/out.VxtAN0), including both hosts at normal and enlarged text. Analyzer clean (flutter-analyze.bYWSTe).