- |
+ |
@@ -29,6 +34,10 @@
data-test-file-row
{{on "click" (fn this.handleFileClick file)}}
class={{if (can "read variable" path=file.absoluteFilePath namespace=file.variable.namespace) "" "inaccessible"}}
+ {{keyboard-shortcut
+ enumerated=true
+ action=(fn this.handleFileClick file)
+ }}
>
|
diff --git a/ui/app/services/keyboard.js b/ui/app/services/keyboard.js
index 1a9e077ec..78a6cc5af 100644
--- a/ui/app/services/keyboard.js
+++ b/ui/app/services/keyboard.js
@@ -72,6 +72,7 @@ export default class KeyboardService extends Service {
defaultPatterns = {
'Go to Jobs': ['g', 'j'],
'Go to Storage': ['g', 'r'],
+ 'Go to Variables': ['g', 'v'],
'Go to Servers': ['g', 's'],
'Go to Clients': ['g', 'c'],
'Go to Topology': ['g', 't'],
@@ -100,6 +101,10 @@ export default class KeyboardService extends Service {
action: () => this.router.transitionTo('csi.volumes'),
rebindable: true,
},
+ {
+ label: 'Go to Variables',
+ action: () => this.router.transitionTo('variables'),
+ },
{
label: 'Go to Servers',
action: () => this.router.transitionTo('servers'),
diff --git a/ui/app/templates/components/gutter-menu.hbs b/ui/app/templates/components/gutter-menu.hbs
index 215680212..561dea7dc 100644
--- a/ui/app/templates/components/gutter-menu.hbs
+++ b/ui/app/templates/components/gutter-menu.hbs
@@ -70,7 +70,7 @@
{{#if (can "list variables")}}
-
+
{{this.model.path}}
| |