Files
pipelines/app/notes/chat-floating-header.md
T
alan 4a85a12cf7 feat(chat): segmented chat header with back, title and model pills
The open conversation draws its own bar of separate rounded pieces: the
platform Back in a circle, a title pill with the folder that opens the
chat information, and a pill with the model and mode controls. Detail
pages drop only their app bar for it, keeping the body mounted.
2026-10-30 23:43:00 +00:00

20 lines
1.1 KiB
Markdown

# Chat: segmented header
Branch `chat/floating-header`.
- The open conversation draws its own bar (`ChatThreadHeader`): a round Back
pill (the platform's `BackButton` / `CupertinoNavigationBarBackButton`, only
where the page can go back; a pushed page keeps the stock pop action), a
title pill with the folder beneath it that opens the chat information
(`chat-info`), and a trailing pill with the model and mode controls (at most
45% of the bar; the model's label ellipsises first).
- `ShellBar(barless: true)` tells `DetailPane` to drop only its app bar; the
scaffold and body position stay identical so the conversation is never
remounted (a remount re-subscribed and re-read history).
- The bar sits above the transcript rather than over it: content scrolling
underneath put rows under the pills, where taps hit the header.
- Checks: `flutter test` 2016 passed, `flutter analyze` only the existing
artifacts info; Chrome captures of `tool/chat_composer_probe_entry.dart`
(now given a session with model and folder) in Material and Cupertino.
Not verified on a device.