From b5821e5fb3882a744ce4f30367859c5cff66d765 Mon Sep 17 00:00:00 2001 From: Lukas Eipert Date: Fri, 18 May 2018 02:18:42 +0000 Subject: Add Keyboard shortcuts for "Kubernetes" and "Environments" --- app/views/help/_shortcuts.html.haml | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) (limited to 'app/views/help') diff --git a/app/views/help/_shortcuts.html.haml b/app/views/help/_shortcuts.html.haml index 1c5b4aecabb..2244d16f0a6 100644 --- a/app/views/help/_shortcuts.html.haml +++ b/app/views/help/_shortcuts.html.haml @@ -121,7 +121,7 @@ %tr %td.shortcut .key g - .key e + .key v %td Go to the project's activity feed %tr @@ -172,6 +172,18 @@ .key m %td Go to merge requests + %tr + %td.shortcut + .key g + .key e + %td + Go to environments + %tr + %td.shortcut + .key g + .key k + %td + Go to kubernetes %tr %td.shortcut .key g -- cgit v1.2.3 From f2479b608c042b2c4a7b85e38da92834c5c5ceb2 Mon Sep 17 00:00:00 2001 From: James Ramsay Date: Fri, 18 May 2018 14:27:30 +0000 Subject: Add web shortcut to docs and shortcut modal --- app/views/help/_shortcuts.html.haml | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'app/views/help') diff --git a/app/views/help/_shortcuts.html.haml b/app/views/help/_shortcuts.html.haml index 2244d16f0a6..9a3a03a7671 100644 --- a/app/views/help/_shortcuts.html.haml +++ b/app/views/help/_shortcuts.html.haml @@ -231,6 +231,17 @@ %td.shortcut .key y %td Go to file permalink + %tbody + %tr + %th + %th Web IDE + %tr + %td.shortcut + - if browser.platform.mac? + .key ⌘ p + - else + .key ctrl p + %td Go to file .col-lg-4 %table.shortcut-mappings %tbody.hidden-shortcut.network{ style: 'display:none' } -- cgit v1.2.3