Reserve global shortcuts for chat selection and search
This commit is contained in:
@@ -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',
|
||||
|
||||
Reference in New Issue
Block a user