mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
Keybindings: Replace mod+h as help shortcut with ? (#85449)
HelpModal: Remove cmd+h as help shortcut
This commit is contained in:
parent
5a416731f4
commit
c75bc5a6cf
@ -62,7 +62,7 @@ The following image and descriptions highlight all dashboard features.
|
||||
|
||||
## Keyboard shortcuts
|
||||
|
||||
Grafana has a number of keyboard shortcuts available. Press `?` or `Ctrl+h` on your keyboard to display all keyboard shortcuts available in your version of Grafana.
|
||||
Grafana has a number of keyboard shortcuts available. Press `?` on your keyboard to display all keyboard shortcuts available in your version of Grafana.
|
||||
|
||||
- `Ctrl+S`: Saves the current dashboard.
|
||||
- `f`: Opens the dashboard finder / search.
|
||||
|
@ -27,7 +27,7 @@ const getShortcuts = (modKey: string) => {
|
||||
description: t('help-modal.shortcuts-description.exit-edit/setting-views', 'Exit edit/setting views'),
|
||||
},
|
||||
{
|
||||
keys: [`${modKey} + h`],
|
||||
keys: ['?'],
|
||||
description: t('help-modal.shortcuts-description.show-all-shortcuts', 'Show all keyboard shortcuts'),
|
||||
},
|
||||
{ keys: ['c', 't'], description: t('help-modal.shortcuts-description.change-theme', 'Change theme') },
|
||||
|
@ -40,7 +40,7 @@ export class KeybindingSrv {
|
||||
|
||||
// Chromeless pages like login and signup page don't get any global bindings
|
||||
if (!route.chromeless) {
|
||||
this.bind(['?', 'mod+h'], this.showHelpModal);
|
||||
this.bind('?', this.showHelpModal);
|
||||
this.bind('g h', this.goToHome);
|
||||
this.bind('g d', this.goToDashboards);
|
||||
this.bind('g e', this.goToExplore);
|
||||
|
Loading…
Reference in New Issue
Block a user