Commit cdf46649 by Carl Bergquist Committed by GitHub

Merge pull request #11371 from towolf/add-duplicate-panel-hints

Add hints for the 'pd' Duplicate Panel command from PR #11264
parents 44eb3326 03b2561a
...@@ -42,6 +42,7 @@ Hit `?` on your keyboard to open the shortcuts help modal. ...@@ -42,6 +42,7 @@ Hit `?` on your keyboard to open the shortcuts help modal.
- `e` Toggle panel edit view - `e` Toggle panel edit view
- `v` Toggle panel fullscreen view - `v` Toggle panel fullscreen view
- `p` `s` Open Panel Share Modal - `p` `s` Open Panel Share Modal
- `p` `d` Duplicate Panel
- `p` `r` Remove Panel - `p` `r` Remove Panel
### Time Range ### Time Range
......
...@@ -31,6 +31,7 @@ export class HelpCtrl { ...@@ -31,6 +31,7 @@ export class HelpCtrl {
{ keys: ['e'], description: 'Toggle panel edit view' }, { keys: ['e'], description: 'Toggle panel edit view' },
{ keys: ['v'], description: 'Toggle panel fullscreen view' }, { keys: ['v'], description: 'Toggle panel fullscreen view' },
{ keys: ['p', 's'], description: 'Open Panel Share Modal' }, { keys: ['p', 's'], description: 'Open Panel Share Modal' },
{ keys: ['p', 'd'], description: 'Duplicate Panel' },
{ keys: ['p', 'r'], description: 'Remove Panel' }, { keys: ['p', 'r'], description: 'Remove Panel' },
], ],
'Time Range': [ 'Time Range': [
......
...@@ -190,6 +190,7 @@ export class PanelCtrl { ...@@ -190,6 +190,7 @@ export class PanelCtrl {
text: 'Duplicate', text: 'Duplicate',
click: 'ctrl.duplicate()', click: 'ctrl.duplicate()',
role: 'Editor', role: 'Editor',
shortcut: 'p d',
}); });
menu.push({ menu.push({
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment