2.4 KiB
2.4 KiB
Active chat row highlight
Fix
The destination already passed its selected session ID to ChatSessionsScreen,
but the screen only used it for unread tracking. It never reached the row widgets.
The ID now flows through ChatSessionsBody into both native lists.
- Material uses
ListTile.selectedwith the theme's secondary-container surface and matching foreground. - Cupertino uses selected semantics, the native tertiary-system-fill background and the theme's primary icon color.
- Selection follows the routed session ID, not its title, hover, unread mark or list position. Opening another chat moves the highlight; closing the chat clears it. No navigation or Back behavior changed.
Verification
- Full
flutter test: 1,890 passed; chat/application subset: 560 passed. flutter analyze: clean. Release web build: passed, isolated outputbuild/chat-active-selection-web(not the served website).- New row tests cover Material/Cupertino, light/dark, an initially routed chat, duplicate titles, switching, refresh/reorder/rename, and clearing selection. Wide list/detail tests check switching; phone coverage checks Back clears it.
- Real browser interaction/captures in
build/chat-active-selection-{material,material-dark,cupertino-light,cupertino-dark}. Persistent selected semantics verified after moving the pointer away and after reloading the selected chat's URL. Screenshots inspected in all four themes. No pre-fix browser screenshot was captured; the source diff identifies the missing state propagation.
Pixel installation
- Built release 0.1.29882472,
net.awan.pipelines.next, with the existing signing certificate; installed usingadb -s 47241FDAS00DLK install -r. App data and sign-in preserved. APK:build/chat-active-selection-apk/pipelines.apk. - On the authorized Pixel 9 Pro XL, temporarily used 2000x2244 to expose the side-by-side layout. Opened Pipelines Claude, confirmed its row highlighted and selected=true; opened Pipelines OpenCode, confirmed selection moved and the Claude row became selected=false. No messages sent or modes changed.
- Native screenshots/XML:
build/chat-active-selection-pixel9/. Original display, density, power and timeout settings verified restored; test files removed from the device. The updated build remains installed. - No website deployment, public update-feed publication, or shared-service restart.