diff --git a/public/app/core/components/help/HelpModal.tsx b/public/app/core/components/help/HelpModal.tsx index c05a3cfa736..d78d3d74c4c 100644 --- a/public/app/core/components/help/HelpModal.tsx +++ b/public/app/core/components/help/HelpModal.tsx @@ -9,6 +9,7 @@ const getShortcuts = (modKey: string) => { return { Global: [ { keys: ['g', 'h'], description: 'Go to Home Dashboard' }, + { keys: ['g', 'd'], description: 'Go to Dashboards' }, { keys: ['g', 'e'], description: 'Go to Explore' }, { keys: ['g', 'p'], description: 'Go to Profile' }, { keys: [`${modKey} + k`], description: 'Open search' }, diff --git a/public/app/core/services/keybindingSrv.ts b/public/app/core/services/keybindingSrv.ts index 0cd96bbd712..5874414764f 100644 --- a/public/app/core/services/keybindingSrv.ts +++ b/public/app/core/services/keybindingSrv.ts @@ -38,9 +38,10 @@ export class KeybindingSrv { if (!route.chromeless) { this.bind(['?', 'h'], this.showHelpModal); this.bind('g h', this.goToHome); + this.bind('g d', this.goToDashboards); + this.bind('g e', this.goToExplore); this.bind('g a', this.openAlerting); this.bind('g p', this.goToProfile); - this.bind('g e', this.goToExplore); this.bind('t a', this.makeAbsoluteTime); this.bind('esc', this.exit); this.bindGlobalEsc(); @@ -88,6 +89,10 @@ export class KeybindingSrv { this.locationService.push('/alerting'); } + private goToDashboards() { + this.locationService.push('/dashboards'); + } + private goToHome() { this.locationService.push('/'); }