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
@@ -29,6 +29,7 @@ class SearchBarControls extends StatelessWidget {
required this.onCleared,
required this.onKind,
this.autofocus = true,
this.focusNode,
});
final bool cupertino;
@@ -39,6 +40,7 @@ class SearchBarControls extends StatelessWidget {
final VoidCallback onCleared;
final ValueChanged<SearchKind> onKind;
final bool autofocus;
final FocusNode? focusNode;
@override
// The pill grows with the bar, so the field and the results share both
@@ -55,6 +57,7 @@ class SearchBarControls extends StatelessWidget {
clearKey: const ValueKey('search.clear'),
controller: text,
autofocus: autofocus,
focusNode: focusNode,
inBar: true,
cupertino: cupertino,
placeholder: 'Search pipelines, runs, artifacts and chats',