Merge main: keep pane moves and the floating chat; Float sits beside the move items
This commit is contained in:
@@ -34,6 +34,7 @@ import 'conversation/chat_add_pane_picker.dart';
|
||||
import 'conversation/chat_sidebar_controls.dart';
|
||||
import 'ui/sessions/chat_compact_sidebar.dart';
|
||||
import 'workspace/chat_workspace.dart';
|
||||
import 'workspace/chat_pane_move_actions.dart';
|
||||
import 'workspace/chat_workspace_entrance.dart';
|
||||
import 'ui/sessions/chat_adaptive.dart';
|
||||
import 'conversation/chat_row_widgets.dart';
|
||||
@@ -525,6 +526,11 @@ class _ChatScreenState extends State<ChatScreen>
|
||||
materialIcon: Icons.view_quilt_outlined,
|
||||
cupertinoIcon: CupertinoIcons.square_split_2x2,
|
||||
),
|
||||
...chatPaneMoveActions(
|
||||
ChatWorkspacePaneScope.maybeOf(paneContext ?? context),
|
||||
onMove: (target) => _movePane(pane.id, target),
|
||||
),
|
||||
..._floatControls(pane),
|
||||
if (_workspace.paneCount > 1)
|
||||
ChatBarAction(
|
||||
label: 'Close pane',
|
||||
@@ -532,7 +538,6 @@ class _ChatScreenState extends State<ChatScreen>
|
||||
materialIcon: Icons.close,
|
||||
cupertinoIcon: CupertinoIcons.xmark,
|
||||
),
|
||||
..._floatControls(pane),
|
||||
],
|
||||
);
|
||||
return ChatComposerFocusScope(
|
||||
|
||||
Reference in New Issue
Block a user