Files
pipelines/app/notes/sidebar-resize-highlights.md
T

34 lines
1.9 KiB
Markdown

# 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.
The workspace's actual visible-session callback is wired into
`_workspaceVisibilityChanged(Set<String>)` in the integrated ChatScreen. The
sidebar uses rendered visibility rather than all retained chats. Final combined
checks and captures are in `mobile-tape-integration.md`.
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.