Ver Fonte

change(shortcuts): changed CTRL+F search shortcut to just F

Torkel Ödegaard há 10 anos atrás
pai
commit
cc125f5fd7

+ 2 - 2
docs/sources/reference/keyboard_shortcuts.md

@@ -17,7 +17,7 @@ Press `Shift`+`?` to open the keyboard shortcut dialog from anywhere within the
 |Shortcut|Action|
 |---|---|
 |`Esc`|Exit fullscreen edit/view mode, close search or any editor view|
-|`CTRL`+`F`|Open dashboard search view (also contains import/playlist controls)|
+|`F`|Open dashboard search view (also contains import/playlist controls)|
 |`CTRL`+`S`|Save dashboard|
 |`CTRL`+`H`|Hide row controls|
 |`CTRL`+`Z`|Zoom out|
@@ -29,4 +29,4 @@ Press `Shift`+`?` to open the keyboard shortcut dialog from anywhere within the
 **Note**: Grafana keyboard shortcuts are the same across operating system. For example, `CTRL`+`F` will open the dashboard picker on a Mac as well, **not** `⌘`+`F`
 
 
-Have a suggestion for a new keyboard shortcut? Let us know. 
+Have a suggestion for a new keyboard shortcut? Let us know.

+ 1 - 1
public/app/features/dashboard/keybindings.js

@@ -33,7 +33,7 @@ function(angular, $) {
 
       }, { inputDisabled: true });
 
-      keyboardManager.bind('ctrl+f', function() {
+      keyboardManager.bind('f', function() {
         scope.appEvent('show-dash-search');
       }, { inputDisabled: true });
 

+ 1 - 1
public/app/partials/help_modal.html

@@ -21,7 +21,7 @@
 				<td>Exit fullscreen edit/view mode, close search or any editor view</td>
 			</tr>
 			<tr>
-				<td><span class="label label-info">CTRL+F</span></td>
+				<td><span class="label label-info">F</span></td>
 				<td>Open dashboard search view (also contains import/playlist controls)</td>
 			</tr>
 			<tr>