Chat: a phone layout tiles floating chats; a wide one floats them again

At phone width (Quick switch or Chat stack) floating windows are hidden,
so a floating chat could not be opened from the list, the stack or the
peek. The phone now holds each floating chat as an ordinary pane while
the server set keeps it floating; widening floats it again.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-12-03 20:47:17 +00:00
parent ae5d0190fa
commit f8e4d78466
4 changed files with 410 additions and 5 deletions
+1
View File
@@ -550,6 +550,7 @@ class _ChatScreenState extends State<ChatScreen>
(_) => _publishWorkspaceRoute(),
);
}
_trackFloatLayout();
_offeredNext = selected != null && _nextAfter(selected) != null;
// A phone opens a chat as a real Navigator page with stock Back. A wide
// window keeps the destination rail and the chat list beside the open