fix(chat): double-back to close with a chat open beside the list

This commit is contained in:
2026-10-24 16:20:56 +01:00
parent 2740bb0673
commit 7bb95d4610
3 changed files with 120 additions and 1 deletions
+8
View File
@@ -34,3 +34,11 @@ user explicitly asked to remove chat Back interception; needs a decision.
- Browser: `tool/chat_list_detail_probe.mjs` on a loopback fixture,
captures in `build/chat-list-detail-1280/` and `build/chat-list-detail-800/`.
- Not deployed, no APK, no device verification.
## Follow-up: wide Back
User asked to fix the single-press exit. With a chat open beside the list the
router now applies the list root's double-back (`_chatBesideList`, read from the
window width in `AppRouterDelegate.build`); phones keep the pushed chat page and
stock Back with no root interception. No chat-specific Back callback was added.
Regression: `test/application/chat_wide_back_test.dart`; full suite 1,866 pass.