Files
pipelines/app/notes/chat-polish-followup.md
T

3.3 KiB
Raw Blame History

Chat polish follow-up

The mobile peek now lays out at its actual visible height, so scrolling reaches the newest content. Both header and composer release their space in the inactive pane. Swapping uses one 360 ms easing curve for geometry and chrome, preserves interrupted positions, and keeps one temporary bounded backdrop during crossover.

Settings has a device-wide 0.5×–2× animation-speed slider and Reset. Larger values are faster. Flutter's scheduler scales all tickers once, including native routes, implicit animations and springs; timers, clocks, networking and retry delays stay in real time. Existing reduced-motion behavior takes precedence.

Other changes:

  • Files now follows late-arriving session directory metadata without remounting the chat. The live server already returned valid directories; the old immutable controller had captured an empty path before the session list loaded.
  • Model and permission controls share an island before Files and More. Secondary pane/sidebar actions move into native More menus. Next chat is removed from the bar; keyboard switching remains available.
  • Fenced and inline backtick code expose Copy on hover, with Copied feedback. Clipboard text excludes Markdown delimiters and preserves whitespace. Inline code remains a selectable TextSpan; popup controls do not change text layout.
  • The workspace restores and consumes the system bottom inset once. Android gesture navigation and keyboard-open placement have regression coverage.
  • The active pane border uses the chat's own theme-adjusted color, falling back to the theme accent for uncolored chats.

Focused checks passed for metadata arrival, actual peek scroll extents, retained state/interrupted motion, Android inset geometry, colors, slider persistence and clock behavior, both native header/menu families and exact clipboard bytes. Independent source/rendered review found no remaining blockers.

Inspected browser evidence includes:

  • /tmp/review/chat-polish-final/01-colored-panes.png, 02-peek-bottom.png, 03-colored-swap-sheet.png, 04-swapped.png; the capture report asserts that the inactive viewport is 198.8 px and its bottom offset reaches its real max.
  • /tmp/review/animation-speed-cupertino-drag/01-faster.png and 02-reset.png.
  • /tmp/review/header-final-material-wide/01-header.png and 02-more.png, plus narrow Material/Cupertino captures under /tmp/review/header-islands-*.
  • /tmp/review/code-hover-material-glyph/02-inline-copied.png and /tmp/review/code-hover-cupertino-inline/03-inline-copied.png.

No physical-device installation or verification was performed. Android inset checks use the real shell/widget layout with simulated platform padding/insets; browser captures do not establish physical-device rendering or frame timing. Deployment receipts and rollback files are kept under the installation's private backups directory. This client-only release does not require a server restart.

Integrated acceptance: tool/analyze.sh is clean; the full watchdog suite passed 3,119 tests with zero failures/skips (220 seconds, peak 2,410 MB). The combined split-chat integration file passed all seven tests. A 60 px peek regression ensures its hidden retained chrome can measure naturally without overflowing at large text sizes; this does not enlarge the transcript's scroll viewport.