Skip to content

Commit

Permalink
Variables keyboard nav added
Browse files Browse the repository at this point in the history
  • Loading branch information
philrenaud committed Aug 3, 2022
1 parent 0444b74 commit 68e5999
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions ui/app/services/keyboard.js
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,11 @@ export default class KeyboardService extends Service {
pattern: ['g', 'r'],
action: () => this.router.transitionTo('csi.volumes'),
},
{
label: 'Go to Variables',
pattern: ['g', 'v'],
action: () => this.router.transitionTo('variables'),
},
{
label: 'Go to Servers',
pattern: ['g', 's'],
Expand Down
2 changes: 1 addition & 1 deletion ui/app/templates/components/gutter-menu.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@
</LinkTo>
</li>
{{#if (can "list variables")}}
<li>
<li {{keyboard-shortcut menuLevel=true pattern=(array "g" "v") }}>
<LinkTo
@route="variables"
@activeClass="is-active"
Expand Down

0 comments on commit 68e5999

Please sign in to comment.