Resize chat list into compact rail and animate visible chat markers

This commit is contained in:
2026-11-07 13:20:12 +00:00
parent 19958e81c5
commit e2cfa90776
20 changed files with 555 additions and 173 deletions
+35
View File
@@ -0,0 +1,35 @@
# Chat sidebar resizing and visibility marks
The chat panel no longer offers a list-layout menu. Dragging its list divider
below the full-list threshold switches to the existing 72px compact rail; the
handle remains draggable there, and the existing Expand button opens the full
list. The same held drag can reverse through the threshold. Generic list/detail
destinations retain their original minimums. Tight desktop splits also retain
a rail handle. Legacy hidden sidebar snapshots restore to compact so they can
always be expanded.
Chat identity colours remain in row tints/avatars. A chat-specific animated edge
is absent for nonvisible sessions, 3px for visible sessions, and 7px for the
visible active session. BorderSide.none avoids a zero-width coloured hairline.
Compact rows retain their chat colours with native avatar circles, row tints,
and the same visible/active edge. Marker animation has a reduced-motion path.
Source includes a `_workspaceVisibilityChanged(Set<String>)` integration seam.
The mobile/workspace lane adds ChatWorkspace.onVisibleSessionIdsChanged; root
must wire that callback into this seam after combining candidates. Without that
wire, the sidebar safely falls back to the current active session, and analyzer
reports this otherwise-unreferenced method as one warning. This is an explicit
integration dependency, not a clean analyzer claim.
Checks before integration:
- Focused session UI, chat split integration, workspace restore, shell drag and
compact tests: 151 passed; peak1894MB;16s; `/tmp/memwatch/out.nuKAoq`.
- Final marker and shell resize/compact subset:14 passed; peak1061MB;5s;
`/tmp/memwatch/out.q78Y6z`.
- Regression coverage includes invisible-but-selected chat (no edge), edge width
interpolation, compact colour identity, same-press collapse/re-expand, expand
button, fresh drag from rail, draft/pane retention, tight600px desktop rail,
and hidden snapshot recovery.
- Analyzer: zero errors/infos; one expected unused integration-seam warning.
- Combined browser capture/review is left to root after true-visibility callback
integration, so no standalone rendered evidence is claimed here.