4c4dcbbd14
Rows lead with a circular harness avatar, put the time beside the title, collapse metadata into one muted model · folder line and trail the actions menu. Unread chats are bold with an accent time and dot, running chats badge their avatar, and Star moves into the menu.
21 lines
1.2 KiB
Markdown
21 lines
1.2 KiB
Markdown
# Chat list rows: contact-list layout
|
|
|
|
Branch `chat/session-row-redesign`.
|
|
|
|
- Each row uses its native tile's slots: a circular harness avatar
|
|
(`ChatSessionAvatar`) leads, the title line carries the time at its trailing
|
|
edge, one muted line holds `model · folder`, and the actions menu trails.
|
|
- Unread: bold title, accent time and an accent dot (`chat-row-unread`) in
|
|
place of the old `New` word. Running: a small activity badge on the avatar
|
|
(`chat-row-working`). Closed: `Closed ·` leads the muted line. Starred: a
|
|
small star after the title (`chat-row-starred`).
|
|
- Star/Unstar moved into the row's actions menu; the separate star button is
|
|
gone. The backend name is no longer repeated as text (the avatar shows it).
|
|
- A narrow pane (< 240 px tile, e.g. a 640 px window's list beside the detail,
|
|
or its opening animation) drops the avatar and tightens the insets so the
|
|
menu stays reachable and Material's ListTile never asserts.
|
|
- Checks: `flutter test` 1997 passed; `flutter analyze` only the existing
|
|
artifacts info. Chrome captures of `tool/chat_sessions_probe_entry.dart`
|
|
(Material and Cupertino) show the new rows. `tool/chat_sessions_probe.mjs`
|
|
still targets the removed `chat-star-*` button. Not verified on a device.
|