Skip to content

Commit

Permalink
parameterized jobs keyboard nav
Browse files Browse the repository at this point in the history
  • Loading branch information
philrenaud committed Jun 24, 2022
1 parent ac9f28c commit 36b0d2e
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
5 changes: 5 additions & 0 deletions ui/app/services/keyboard.js
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,11 @@ export default class KeyboardService extends Service {
pattern: ['g', 'j'],
action: () => this.router.transitionTo('jobs'),
},
{
label: 'Go to Storage',
pattern: ['g', 'r'],
action: () => this.router.transitionTo('csi.volumes'),
},
{
label: 'Go to Servers',
pattern: ['g', 's'],
Expand Down
4 changes: 2 additions & 2 deletions ui/app/templates/components/job-page/parts/children.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -65,8 +65,8 @@
Summary
</th>
</t.head>
<t.body @key="model.id" as |row|>
<JobRow data-test-job-row @job={{row.model}} @context="child" />
<t.body @key="model.id" as |row iter|>
<JobRow data-test-job-row @job={{row.model}} @context="child" @iter={{iter}} />
</t.body>
</ListTable>
<div class="table-foot">
Expand Down

0 comments on commit 36b0d2e

Please sign in to comment.