Chat stack: the default, also on a wide phone or tablet; a close button where the pile was
Chat stack is now the default phone chat navigation (a stored choice is kept), and on Android or iOS it stays on a wide layout (an unfolded foldable) above the active pane, where floating is ignored too. When expanded, the pile turns into a close button at its own spot and the column rises above it; while a chat is dragged that button is the remove target, replacing the separate x at the bottom. Chat widget tests start on Quick switch (they run as Android); the stack's tests choose it. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -67,8 +67,11 @@ mixin _ChatScreenFloat on State<ChatScreen>, _ChatScreenWorkspace {
|
||||
|
||||
/// Called from build: a change between a phone and a wide layout moves
|
||||
/// the floating chats between panes and windows after the frame.
|
||||
@override
|
||||
void _trackFloatLayout() {
|
||||
_phoneLayout = !showsListBesideDetail(context);
|
||||
// A phone-width window, or the Chat stack on a wide phone or tablet
|
||||
// layout: both navigate one chat at a time and ignore floating.
|
||||
_phoneLayout = !showsListBesideDetail(context) || _stacked(context);
|
||||
if (widget.windows == null) return;
|
||||
final phone = _phoneIgnoresFloat;
|
||||
if (phone == _builtPhoneFloat) return;
|
||||
|
||||
Reference in New Issue
Block a user