Reserve global shortcuts for chat selection and search

This commit is contained in:
2026-11-06 17:58:12 +00:00
parent 51ee950a5b
commit f668e1eef8
12 changed files with 412 additions and 172 deletions
+5 -3
View File
@@ -99,7 +99,9 @@ void main() {
expect(exits, ['SystemNavigator.pop']);
});
testWidgets('Ctrl+Tab tab changes are part of the history', (tester) async {
testWidgets('Ctrl+Tab no longer switches destinations or changes history', (
tester,
) async {
final exits = _recordExits(tester);
await tester.pumpWidget(
MaterialApp(home: AdaptiveShell(destinationBodies: _bodies())),
@@ -108,11 +110,11 @@ void main() {
await tester.sendKeyEvent(LogicalKeyboardKey.tab);
await tester.sendKeyUpEvent(LogicalKeyboardKey.controlLeft);
await tester.pumpAndSettle();
_expectShown(AppDestination.runs);
_expectShown(AppDestination.pipelines);
await _back(tester);
_expectShown(AppDestination.pipelines);
expect(exits, isEmpty);
expect(exits, ['SystemNavigator.pop']);
});
testWidgets('a page open in the tab closes before Back changes tabs', (