Commit fc95bf76 authored by Paul Slaughter's avatar Paul Slaughter

Merge branch 'keyboard-shortcuts-2-ee' into 'master'

EE Port: Improve Keyboard shortcut help screen

See merge request gitlab-org/gitlab-ee!15102
parents a43ada89 4a2edbb9
...@@ -46,7 +46,6 @@ export default class Shortcuts { ...@@ -46,7 +46,6 @@ export default class Shortcuts {
$(document).on('click.more_help', '.js-more-help-button', function clickMoreHelp(e) { $(document).on('click.more_help', '.js-more-help-button', function clickMoreHelp(e) {
$(this).remove(); $(this).remove();
$('.hidden-shortcut').show();
e.preventDefault(); e.preventDefault();
}); });
} }
...@@ -104,7 +103,6 @@ export default class Shortcuts { ...@@ -104,7 +103,6 @@ export default class Shortcuts {
return results; return results;
} }
$('.hidden-shortcut').show();
return $('.js-more-help-button').remove(); return $('.js-more-help-button').remove();
}); });
} }
......
...@@ -6,7 +6,7 @@ import { CopyAsGFM } from '../markdown/copy_as_gfm'; ...@@ -6,7 +6,7 @@ import { CopyAsGFM } from '../markdown/copy_as_gfm';
import { getSelectedFragment } from '~/lib/utils/common_utils'; import { getSelectedFragment } from '~/lib/utils/common_utils';
export default class ShortcutsIssuable extends Shortcuts { export default class ShortcutsIssuable extends Shortcuts {
constructor(isMergeRequest) { constructor() {
super(); super();
Mousetrap.bind('a', () => ShortcutsIssuable.openSidebarDropdown('assignee')); Mousetrap.bind('a', () => ShortcutsIssuable.openSidebarDropdown('assignee'));
...@@ -14,12 +14,6 @@ export default class ShortcutsIssuable extends Shortcuts { ...@@ -14,12 +14,6 @@ export default class ShortcutsIssuable extends Shortcuts {
Mousetrap.bind('l', () => ShortcutsIssuable.openSidebarDropdown('labels')); Mousetrap.bind('l', () => ShortcutsIssuable.openSidebarDropdown('labels'));
Mousetrap.bind('r', ShortcutsIssuable.replyWithSelectedText); Mousetrap.bind('r', ShortcutsIssuable.replyWithSelectedText);
Mousetrap.bind('e', ShortcutsIssuable.editIssue); Mousetrap.bind('e', ShortcutsIssuable.editIssue);
if (isMergeRequest) {
this.enabledHelp.push('.hidden-shortcut.merge_requests');
} else {
this.enabledHelp.push('.hidden-shortcut.issues');
}
} }
static replyWithSelectedText() { static replyWithSelectedText() {
......
...@@ -23,7 +23,5 @@ export default class ShortcutsNavigation extends Shortcuts { ...@@ -23,7 +23,5 @@ export default class ShortcutsNavigation extends Shortcuts {
Mousetrap.bind('g e', () => findAndFollowLink('.shortcuts-environments')); Mousetrap.bind('g e', () => findAndFollowLink('.shortcuts-environments'));
Mousetrap.bind('g l', () => findAndFollowLink('.shortcuts-metrics')); Mousetrap.bind('g l', () => findAndFollowLink('.shortcuts-metrics'));
Mousetrap.bind('i', () => findAndFollowLink('.shortcuts-new-issue')); Mousetrap.bind('i', () => findAndFollowLink('.shortcuts-new-issue'));
this.enabledHelp.push('.hidden-shortcut.project');
} }
} }
...@@ -11,7 +11,5 @@ export default class ShortcutsNetwork extends ShortcutsNavigation { ...@@ -11,7 +11,5 @@ export default class ShortcutsNetwork extends ShortcutsNavigation {
Mousetrap.bind(['down', 'j'], graph.scrollDown); Mousetrap.bind(['down', 'j'], graph.scrollDown);
Mousetrap.bind(['shift+up', 'shift+k'], graph.scrollTop); Mousetrap.bind(['shift+up', 'shift+k'], graph.scrollTop);
Mousetrap.bind(['shift+down', 'shift+j'], graph.scrollBottom); Mousetrap.bind(['shift+down', 'shift+j'], graph.scrollBottom);
this.enabledHelp.push('.hidden-shortcut.network');
} }
} }
...@@ -6,8 +6,6 @@ export default class ShortcutsWiki extends ShortcutsNavigation { ...@@ -6,8 +6,6 @@ export default class ShortcutsWiki extends ShortcutsNavigation {
constructor() { constructor() {
super(); super();
Mousetrap.bind('e', ShortcutsWiki.editWiki); Mousetrap.bind('e', ShortcutsWiki.editWiki);
this.enabledHelp.push('.hidden-shortcut.wiki');
} }
static editWiki() { static editWiki() {
......
...@@ -2,6 +2,12 @@ ...@@ -2,6 +2,12 @@
max-width: 98%; max-width: 98%;
} }
.modal-1040 {
@include media-breakpoint-up(xl) {
max-width: 1040px;
}
}
.modal-header { .modal-header {
background-color: $modal-body-bg; background-color: $modal-body-bg;
......
#modal-shortcuts.modal{ tabindex: -1 } #modal-shortcuts.modal{ tabindex: -1 }
.modal-dialog.modal-lg .modal-dialog.modal-lg.modal-1040
.modal-content .modal-content
.modal-header .modal-header
%h4.modal-title %h4.modal-title
...@@ -11,104 +11,100 @@ ...@@ -11,104 +11,100 @@
.modal-body .modal-body
.row .row
.col-lg-4 .col-lg-4
%table.shortcut-mappings %table.shortcut-mappings.text-2
%tbody %tbody
%tr %tr
%th %th
%th= _('Global Shortcuts') %th= _('Global Shortcuts')
%tr %tr
%td.shortcut %td.shortcut
%kbd s %kbd ?
%td= _('Focus Search') %td= _('Toggle this dialog')
%tr %tr
%td.shortcut %td.shortcut
%kbd f %kbd shift p
%td= _('Focus Filter') %td= _('Go to your projects')
%tr %tr
%td.shortcut %td.shortcut
%kbd p %kbd shift g
%kbd b %td= _('Go to your groups')
%td= _('Toggle the Performance Bar')
%tr %tr
%td.shortcut %td.shortcut
%kbd ? %kbd shift a
%td= _('Show/hide this dialog') %td= _('Go to the activity feed')
%tr %tr
%td.shortcut %td.shortcut
- if browser.platform.mac? %kbd shift l
%kbd ⌘ shift p %td= _('Go to the milestone list')
- else
%kbd ctrl shift p
%td= _('Toggle Markdown preview')
%tr %tr
%td.shortcut %td.shortcut
%kbd %kbd shift s
%i.fa.fa-arrow-up %td= _('Go to your snippets')
%td= _('Edit last comment (when focused on an empty textarea)')
%tr %tr
%td.shortcut %td.shortcut
%kbd shift t %kbd s
%td %td= _('Start search')
= _('Go to todos')
%tr %tr
%td.shortcut %td.shortcut
%kbd shift a %kbd shift i
%td %td= _('Go to your issues')
= _('Go to the activity feed')
%tr %tr
%td.shortcut %td.shortcut
%kbd shift p %kbd shift m
%td %td= _('Go to your merge requests')
= _('Go to projects')
%tr %tr
%td.shortcut %td.shortcut
%kbd shift i %kbd shift t
%td %td= _('Go to your To-Do list')
= _('Go to issues')
%tr %tr
%td.shortcut %td.shortcut
%kbd shift m %kbd p
%td %kbd b
= _('Go to merge requests') %td= _('Toggle the Performance Bar')
%tbody
%tr %tr
%td.shortcut %th
%kbd shift g %th= _('Web IDE')
%td
= _('Go to groups')
%tr %tr
%td.shortcut %td.shortcut
%kbd shift l - if browser.platform.mac?
%td %kbd ⌘ p
= _('Go to milestones') - else
%kbd ctrl p
%td= _('Go to file')
%tr %tr
%td.shortcut %td.shortcut
%kbd shift s - if browser.platform.mac?
%td %kbd ⌘ enter
= _('Go to snippets') - else
%kbd ctrl enter
%td= _('Commit (when editing commit message)')
%tbody %tbody
%tr %tr
%th %th
%th= _('Finding Project File') %th= _('Wiki pages')
%tr %tr
%td.shortcut %td.shortcut
%kbd %kbd e
%i.fa.fa-arrow-up %td= _('Edit wiki page')
%td= _('Move selection up') %tbody
%tr %tr
%td.shortcut %th
%kbd %th= _('Editing')
%i.fa.fa-arrow-down
%td= _('Move selection down')
%tr %tr
%td.shortcut %td.shortcut
%kbd enter - if browser.platform.mac?
%td= _('Open Selection') %kbd ⌘ shift p
- else
%kbd ctrl shift p
%td= _('Toggle Markdown preview')
%tr %tr
%td.shortcut %td.shortcut
%kbd esc %kbd
%td= _('Go back') %i.fa.fa-arrow-up
%td= _('Edit your most recent comment in a thread (from an empty textarea)')
.col-lg-4 .col-lg-4
%table.shortcut-mappings %table.shortcut-mappings.text-2
%tbody %tbody
%tr %tr
%th %th
...@@ -117,105 +113,94 @@ ...@@ -117,105 +113,94 @@
%td.shortcut %td.shortcut
%kbd g %kbd g
%kbd p %kbd p
%td %td= _('Go to the project\'s overview page')
= _('Go to the project\'s overview page')
%tr %tr
%td.shortcut %td.shortcut
%kbd g %kbd g
%kbd v %kbd v
%td %td= _('Go to the project\'s activity feed')
= _('Go to the project\'s activity feed')
%tr %tr
%td.shortcut %td.shortcut
%kbd g %kbd g
%kbd f %kbd r
%td %td= _('Go to releases')
= _('Go to files')
%tr %tr
%td.shortcut %td.shortcut
%kbd g %kbd g
%kbd c %kbd f
%td %td= _('Go to files')
= _('Go to commits') %tr
%td.shortcut
%kbd t
%td= _('Go to find file')
%tr %tr
%td.shortcut %td.shortcut
%kbd g %kbd g
%kbd j %kbd c
%td %td= _('Go to commits')
= _('Go to jobs')
%tr %tr
%td.shortcut %td.shortcut
%kbd g %kbd g
%kbd n %kbd n
%td %td= _('Go to repository graph')
= _('Go to network graph')
%tr %tr
%td.shortcut %td.shortcut
%kbd g %kbd g
%kbd d %kbd d
%td %td= _('Go to repository charts')
= _('Go to repository charts')
%tr %tr
%td.shortcut %td.shortcut
%kbd g %kbd g
%kbd i %kbd i
%td %td= _('Go to issues')
= _('Go to issues') %tr
%td.shortcut
%kbd i
%td= _('New issue')
%tr %tr
%td.shortcut %td.shortcut
%kbd g %kbd g
%kbd b %kbd b
%td %td= _('Go to issue boards')
= _('Go to issue boards')
%tr %tr
%td.shortcut %td.shortcut
%kbd g %kbd g
%kbd m %kbd m
%td %td= _('Go to merge requests')
= _('Go to merge requests')
%tr %tr
%td.shortcut %td.shortcut
%kbd g %kbd g
%kbd e %kbd j
%td %td= _('Go to jobs')
= _('Go to environments')
%tr %tr
%td.shortcut %td.shortcut
%kbd g %kbd g
%kbd l %kbd l
%td %td= _('Go to metrics')
= _('Go to metrics') %tr
%td.shortcut
%kbd g
%kbd e
%td= _('Go to environments')
%tr %tr
%td.shortcut %td.shortcut
%kbd g %kbd g
%kbd k %kbd k
%td %td= _('Go to kubernetes')
= _('Go to kubernetes')
%tr %tr
%td.shortcut %td.shortcut
%kbd g %kbd g
%kbd s %kbd s
%td %td= _('Go to snippets')
= _('Go to snippets')
%tr %tr
%td.shortcut %td.shortcut
%kbd g %kbd g
%kbd w %kbd w
%td %td= _('Go to wiki')
= _('Go to wiki')
%tr
%td.shortcut
%kbd t
%td= _('Go to finding file')
%tr
%td.shortcut
%kbd i
%td= _('New issue')
%tbody %tbody
%tr %tr
%th %th
%th= _('Project Files browsing') %th= _('Project Files')
%tr %tr
%td.shortcut %td.shortcut
%kbd %kbd
...@@ -230,38 +215,87 @@ ...@@ -230,38 +215,87 @@
%td.shortcut %td.shortcut
%kbd enter %kbd enter
%td= _('Open Selection') %td= _('Open Selection')
%tbody
%tr %tr
%th %td.shortcut
%th= _('Project File') %kbd esc
%td= _('Go back (while searching for files')
%tr %tr
%td.shortcut %td.shortcut
%kbd y %kbd y
%td= _('Go to file permalink') %td= _('Go to file permalink (while viewing a file)')
.col-lg-4
%table.shortcut-mappings.text-2
%tbody %tbody
%tr %tr
%th %th
%th= _('Web IDE') %th= _('Issues / Merge Requests')
%tr
%td.shortcut
%kbd a
%td= _('Change assignee')
%tr
%td.shortcut
%kbd m
%td= _('Change milestone')
%tr
%td.shortcut
%kbd r
%td= _('Comment/Reply (quoting selected text)')
%tr
%td.shortcut
%kbd e
%td= _('Edit description')
%tr
%td.shortcut
%kbd l
%td= _('Change label')
%tr
%td.shortcut
%kbd ]
\/
%kbd j
%td= _('Next file in diff (MRs only)')
%tr
%td.shortcut
%kbd [
\/
%kbd k
%td= _('Previous file in diff (MRs only)')
%tr %tr
%td.shortcut %td.shortcut
- if browser.platform.mac? - if browser.platform.mac?
%kbd ⌘ p %kbd ⌘ p
- else - else
%kbd ctrl p %kbd ctrl p
%td= _('Go to file') %td= _('Go to file (MRs only)')
%tr %tr
%td.shortcut %td.shortcut
- if browser.platform.mac? %kbd n
%kbd ⌘ enter %td= _('Next unresolved discussion (MRs only)')
- else %tr
%kbd ctrl enter %td.shortcut
%td= _('Commit (when editing commit message)') %kbd p
.col-lg-4 %td= _('Previous unresolved discussion (MRs only)')
%table.shortcut-mappings %tbody
%tbody.hidden-shortcut.network{ style: 'display:none' }
%tr %tr
%th %th
%th= _('Network Graph') %th= _('Epics (Ultimate / Gold license only)')
%tr
%td.shortcut
%kbd r
%td= _('Comment/Reply (quoting selected text)')
%tr
%td.shortcut
%kbd e
%td= _('Edit epic description')
%tr
%td.shortcut
%kbd l
%td= _('Change label')
%tbody
%tr
%th
%th= _('Repository Graph')
%tr %tr
%td.shortcut %td.shortcut
%kbd %kbd
...@@ -295,92 +329,12 @@ ...@@ -295,92 +329,12 @@
%kbd %kbd
shift shift
%i.fa.fa-arrow-up %i.fa.fa-arrow-up
\/ \/ k
%kbd
shift k
%td= _('Scroll to top') %td= _('Scroll to top')
%tr %tr
%td.shortcut %td.shortcut
%kbd %kbd
shift shift
%i.fa.fa-arrow-down %i.fa.fa-arrow-down
\/ \/ j
%kbd
shift j
%td= _('Scroll to bottom') %td= _('Scroll to bottom')
%tbody.hidden-shortcut.issues{ style: 'display:none' }
%tr
%th
%th= _('Issues')
%tr
%td.shortcut
%kbd a
%td= _('Change assignee')
%tr
%td.shortcut
%kbd m
%td= _('Change milestone')
%tr
%td.shortcut
%kbd r
%td= _('Reply (quoting selected text)')
%tr
%td.shortcut
%kbd e
%td= _('Edit issue')
%tr
%td.shortcut
%kbd l
%td= _('Change Label')
%tbody.hidden-shortcut.merge_requests{ style: 'display:none' }
%tr
%th
%th= _('Merge Requests')
%tr
%td.shortcut
%kbd a
%td= _('Change assignee')
%tr
%td.shortcut
%kbd m
%td= _('Change milestone')
%tr
%td.shortcut
%kbd r
%td= _('Reply (quoting selected text)')
%tr
%td.shortcut
%kbd e
%td= _('Edit merge request')
%tr
%td.shortcut
%kbd l
%td= _('Change Label')
%tr
%td.shortcut
%kbd ]
\/
%kbd j
%td= _('Move to next file')
%tr
%td.shortcut
%kbd [
\/
%kbd k
%td= _('Move to previous file')
%tr
%td.shortcut
%kbd n
%td= _('Move to next unresolved discussion')
%tr
%td.shortcut
%kbd p
%td= _('Move to previous unresolved discussion')
%tbody.hidden-shortcut.wiki{ style: 'display:none' }
%tr
%th
%th= _('Wiki pages')
%tr
%td.shortcut
%kbd e
%td= _('Edit wiki page')
---
title: Clean up keyboard shortcuts help modal, removing and adding as needed
merge_request: 31642
author:
type: other
---
type: reference
---
# GitLab keyboard shortcuts # GitLab keyboard shortcuts
You can see GitLab's keyboard shortcuts by using <kbd>shift</kbd> + <kbd>?</kbd> GitLab has many useful keyboard shortcuts to make it easier to access different features.
You can see the quick reference sheet within GitLab itself with <kbd>Shift</kbd> + <kbd>?</kbd>.
## Global Shortcuts The [Global Shortcuts](#global-shortcuts) work from any area of GitLab, but you must
be in specific pages for the other shortcuts to be available, as explained in each
section below.
| Keyboard Shortcut | Description | ## Global Shortcuts
| ----------------- | ----------- |
| <kbd>n</kbd> | Main navigation |
| <kbd>s</kbd> | Focus search |
| <kbd>f</kbd> | Focus filter |
| <kbd>p</kbd> + <kbd>b</kbd> | Show/hide the Performance Bar |
| <kbd>?</kbd> | Show/hide this dialog |
| <kbd>Cmd</kbd>/<kbd>Ctrl</kbd> + <kbd>Shift</kbd> + <kbd>p</kbd> | Toggle markdown preview |
| <kbd></kbd> | Edit last comment (when focused on an empty textarea) |
## Project Files Browsing These shortcuts are available in most areas of GitLab
| Keyboard Shortcut | Description |
| ------------------------------- | ----------- |
| <kbd>?</kbd> | Show/hide shortcut reference sheet. |
| <kbd>Shift</kbd> + <kbd>p</kbd> | Go to your Projects page. |
| <kbd>Shift</kbd> + <kbd>g</kbd> | Go to your Groups page. |
| <kbd>Shift</kbd> + <kbd>a</kbd> | Go to your Activity page. |
| <kbd>Shift</kbd> + <kbd>l</kbd> | Go to your Milestones page. |
| <kbd>Shift</kbd> + <kbd>s</kbd> | Go to your Snippets page. |
| <kbd>s</kbd> | Put cursor in the issues/merge requests search. |
| <kbd>Shift</kbd> + <kbd>i</kbd> | Go to your Issues page. |
| <kbd>Shift</kbd> + <kbd>m</kbd> | Go to your Merge requests page.|
| <kbd>Shift</kbd> + <kbd>t</kbd> | Go to your To-Do List page. |
| <kbd>p</kbd> + <kbd>b</kbd> | Show/hide the Performance Bar. |
Additionally, the following shortcuts are available when editing text in text fields,
for example comments, replies, or issue and merge request descriptions:
| Keyboard Shortcut | Description |
| ---------------------------------------------------------------------- | ----------- |
| <kbd></kbd> | Edit your last comment. You must be in a blank text field below a thread, and you must already have at least one comment in the thread. |
| <kbd></kbd> (Mac) / <kbd>Ctrl</kbd> + <kbd>Shift</kbd> + <kbd>p</kbd> | Toggle Markdown preview, when editing text in a text field that has **Write** and **Preview** tabs at the top. |
| Keyboard Shortcut | Description | ## Project
| ----------------- | ----------- |
| <kbd></kbd> | Move selection up |
| <kbd></kbd> | Move selection down |
| <kbd>enter</kbd> | Open selection |
## Finding Project File These shortcuts are available from any page within a project. You must type them
relatively quickly to work, and they will take you to another page in the project.
| Keyboard Shortcut | Description |
| --------------------------- | ----------- |
| <kbd>g</kbd> + <kbd>p</kbd> | Go to the project home page (**Project > Details**). |
| <kbd>g</kbd> + <kbd>v</kbd> | Go to the project activity feed (**Project > Activity**). |
| <kbd>g</kbd> + <kbd>r</kbd> | Go to the project releases list (**Project > Releases**). |
| <kbd>g</kbd> + <kbd>f</kbd> | Go to the [project files](#project-files) list (**Repository > Files**). |
| <kbd>t</kbd> | Go to the project file search page. (**Repository > Files**, click **Find Files**). |
| <kbd>g</kbd> + <kbd>c</kbd> | Go to the project commits list (**Repository > Commits**). |
| <kbd>g</kbd> + <kbd>n</kbd> | Go to the [repository graph](#repository-graph) page (**Repository > Graph**). |
| <kbd>g</kbd> + <kbd>d</kbd> | Go to repository charts (**Repository > Charts**). |
| <kbd>g</kbd> + <kbd>i</kbd> | Go to the project issues list (**Issues > List**). |
| <kbd>i</kbd> | Go to the New Issue page (**Issues**, click **New Issue** ). |
| <kbd>g</kbd> + <kbd>b</kbd> | Go to the project issue boards list (**Issues > Boards**). |
| <kbd>g</kbd> + <kbd>m</kbd> | Go to the project merge requests list (**Merge Requests**). |
| <kbd>g</kbd> + <kbd>j</kbd> | Go to the CI/CD jobs list (**CI/CD > Jobs**). |
| <kbd>g</kbd> + <kbd>l</kbd> | Go to the project metrics (**Operations > Metrics**). |
| <kbd>g</kbd> + <kbd>e</kbd> | Go to the project environments (**Operations > Environments**). |
| <kbd>g</kbd> + <kbd>k</kbd> | Go to the project Kubernetes cluster integration page (**Operations > Kubernetes**). Note that you must have at least [`maintainer` permissions](../user/permissions.md) to access this page. |
| <kbd>g</kbd> + <kbd>s</kbd> | Go to the project snippets list (**Snippets**). |
| <kbd>g</kbd> + <kbd>w</kbd> | Go to the project wiki (**Wiki**), if enabled. |
### Issues and Merge Requests
These shortcuts are available when viewing issues and merge requests.
| Keyboard Shortcut | Description |
| ---------------------------- | ----------- |
| <kbd>e</kbd> | Edit description. |
| <kbd>a</kbd> | Change assignee. |
| <kbd>m</kbd> | Change milestone. |
| <kbd>l</kbd> | Change label. |
| <kbd>r</kbd> | Start writing a comment. If any text is selected, it will be quoted in the comment. Can't be used to reply within a thread. |
| <kbd>n</kbd> | Move to next unresolved discussion (Merge requests only). |
| <kbd>p</kbd> | Move to previous unresolved discussion (Merge requests only). |
| <kbd>]</kbd> or <kbd>j</kbd> | Move to next file (Merge requests only). |
| <kbd>[</kbd> or <kbd>k</kbd> | Move to previous file (Merge requests only). |
### Project Files
These shortcuts are available when browsing the files in a project (navigate to
**Repository** > **Files**):
| Keyboard Shortcut | Description | | Keyboard Shortcut | Description |
| ----------------- | ----------- | | ----------------- | ----------- |
| <kbd></kbd> | Move selection up | | <kbd>↑</kbd> | Move selection up. |
| <kbd></kbd> | Move selection down | | <kbd>↓</kbd> | Move selection down. |
| <kbd>enter</kbd> | Open selection | | <kbd>enter</kbd> | Open selection. |
| <kbd>esc</kbd> | Go back | | <kbd>esc</kbd> | Go back to file list screen (only while searching for files, **Repository > Files** then click on **Find File**). |
| <kbd>y</kbd> | Go to file permalink (only while viewing a file). |
## Global Dashboard ### Web IDE
| Keyboard Shortcut | Description | These shortcuts are available when editing a file with the [Web IDE](../user/project/web_ide/index.md):
| ----------------- | ----------- |
| <kbd>Shift</kbd> + <kbd>a</kbd> | Go to the activity feed |
| <kbd>Shift</kbd> + <kbd>p</kbd> | Go to projects |
| <kbd>Shift</kbd> + <kbd>i</kbd> | Go to issues |
| <kbd>Shift</kbd> + <kbd>m</kbd> | Go to merge requests |
| <kbd>Shift</kbd> + <kbd>t</kbd> | Go to todos |
## Project | Keyboard Shortcut | Description |
| ------------------------------------------------------- | ----------- |
| <kbd></kbd> (Mac) / <kbd>Ctrl</kbd> + <kbd>p</kbd> | Search for, and then open another file for editing. |
| <kbd></kbd> (Mac) / <kbd>Ctrl</kbd> + <kbd>Enter</kbd> | Commit (when editing the commit message). |
| Keyboard Shortcut | Description | ### Repository Graph
| ----------------- | ----------- |
| <kbd>g</kbd> + <kbd>p</kbd> | Go to the project's home page |
| <kbd>g</kbd> + <kbd>v</kbd> | Go to the project's activity feed |
| <kbd>g</kbd> + <kbd>f</kbd> | Go to files |
| <kbd>g</kbd> + <kbd>c</kbd> | Go to commits |
| <kbd>g</kbd> + <kbd>j</kbd> | Go to jobs |
| <kbd>g</kbd> + <kbd>n</kbd> | Go to network graph |
| <kbd>g</kbd> + <kbd>d</kbd> | Go to repository charts |
| <kbd>g</kbd> + <kbd>i</kbd> | Go to issues |
| <kbd>g</kbd> + <kbd>b</kbd> | Go to issue boards |
| <kbd>g</kbd> + <kbd>m</kbd> | Go to merge requests |
| <kbd>g</kbd> + <kbd>e</kbd> | Go to environments |
| <kbd>g</kbd> + <kbd>k</kbd> | Go to kubernetes |
| <kbd>g</kbd> + <kbd>s</kbd> | Go to snippets |
| <kbd>g</kbd> + <kbd>w</kbd> | Go to wiki |
| <kbd>t</kbd> | Go to finding file |
| <kbd>i</kbd> | New issue |
## Network Graph
| Keyboard Shortcut | Description | These shortcuts are available when viewing the project [repository graph](../user/project/repository/index.md#repository-graph)
| ----------------- | ----------- | page (navigate to **Repository > Graph**):
| <kbd></kbd> or <kbd>h</kbd> | Scroll left |
| <kbd></kbd> or <kbd>l</kbd> | Scroll right |
| <kbd></kbd> or <kbd>k</kbd> | Scroll up |
| <kbd></kbd> or <kbd>j</kbd> | Scroll down |
| <kbd>Shift</kbd> + <kbd></kbd> or <kbd>Shift</kbd> + <kbd>k</kbd> | Scroll to top |
| <kbd>Shift</kbd> + <kbd></kbd> or <kbd>Shift</kbd> + <kbd>j</kbd> | Scroll to bottom |
## Issues and Merge Requests | Keyboard Shortcut | Description |
| ------------------------------------------------------------------ | ----------- |
| <kbd></kbd> or <kbd>h</kbd> | Scroll left. |
| <kbd></kbd> or <kbd>l</kbd> | Scroll right. |
| <kbd></kbd> or <kbd>k</kbd> | Scroll up. |
| <kbd></kbd> or <kbd>j</kbd> | Scroll down. |
| <kbd>Shift</kbd> + <kbd></kbd> or <kbd>Shift</kbd> + <kbd>k</kbd> | Scroll to top. |
| <kbd>Shift</kbd> + <kbd></kbd> or <kbd>Shift</kbd> + <kbd>j</kbd> | Scroll to bottom. |
| Keyboard Shortcut | Description | ### Wiki pages
| ----------------- | ----------- |
| <kbd>a</kbd> | Change assignee |
| <kbd>m</kbd> | Change milestone |
| <kbd>r</kbd> | Reply (quoting selected text) |
| <kbd>e</kbd> | Edit issue/merge request |
| <kbd>l</kbd> | Change label |
| <kbd>]</kbd> or <kbd>j</kbd> | Move to next file |
| <kbd>[</kbd> or <kbd>k</kbd> | Move to previous file |
| <kbd>n</kbd> | Move to next unresolved discussion |
| <kbd>p</kbd> | Move to previous unresolved discussion |
## Epics **(ULTIMATE)** This shortcut is available when viewing a [wiki page](../user/project/wiki/index.md):
| Keyboard Shortcut | Description | | Keyboard Shortcut | Description |
| ----------------- | ----------- | | ----------------- | ----------- |
| <kbd>r</kbd> | Reply (quoting selected text) | | <kbd>e</kbd> | Edit wiki page. |
| <kbd>e</kbd> | Edit description |
| <kbd>l</kbd> | Change label |
## Wiki pages
| Keyboard Shortcut | Description | ## Epics **(ULTIMATE)**
| ----------------- | ----------- |
| <kbd>e</kbd> | Edit wiki page|
## Web IDE These shortcuts are available when viewing [Epics](../user/group/epics/index.md):
| Keyboard Shortcut | Description | | Keyboard Shortcut | Description |
| ----------------- | ----------- | | ----------------- | ----------- |
| <kbd>Cmd</kbd>/<kbd>Ctrl</kbd> + <kbd>p</kbd> | Go to file | | <kbd>r</kbd> | Start writing a comment. If any text is selected, it will be quoted in the comment. Can't be used to reply within a thread. |
| <kbd>Cmd</kbd>/<kbd>Ctrl</kbd> + <kbd>Enter</kbd> | Commit (when editing the commit message) | | <kbd>e</kbd> | Edit description. |
| <kbd>l</kbd> | Change label. |
...@@ -2671,9 +2671,6 @@ msgstr "" ...@@ -2671,9 +2671,6 @@ msgstr ""
msgid "Certificate (PEM)" msgid "Certificate (PEM)"
msgstr "" msgstr ""
msgid "Change Label"
msgstr ""
msgid "Change Weight" msgid "Change Weight"
msgstr "" msgstr ""
...@@ -2686,6 +2683,9 @@ msgstr "" ...@@ -2686,6 +2683,9 @@ msgstr ""
msgid "Change assignee(s)." msgid "Change assignee(s)."
msgstr "" msgstr ""
msgid "Change label"
msgstr ""
msgid "Change milestone" msgid "Change milestone"
msgstr "" msgstr ""
...@@ -3742,6 +3742,9 @@ msgstr "" ...@@ -3742,6 +3742,9 @@ msgstr ""
msgid "Comment is being updated" msgid "Comment is being updated"
msgstr "" msgstr ""
msgid "Comment/Reply (quoting selected text)"
msgstr ""
msgid "Comments" msgid "Comments"
msgstr "" msgstr ""
...@@ -5281,9 +5284,15 @@ msgstr "" ...@@ -5281,9 +5284,15 @@ msgstr ""
msgid "Edit comment" msgid "Edit comment"
msgstr "" msgstr ""
msgid "Edit description"
msgstr ""
msgid "Edit environment" msgid "Edit environment"
msgstr "" msgstr ""
msgid "Edit epic description"
msgstr ""
msgid "Edit file" msgid "Edit file"
msgstr "" msgstr ""
...@@ -5296,25 +5305,22 @@ msgstr "" ...@@ -5296,25 +5305,22 @@ msgstr ""
msgid "Edit identity for %{user_name}" msgid "Edit identity for %{user_name}"
msgstr "" msgstr ""
msgid "Edit issue"
msgstr ""
msgid "Edit issues" msgid "Edit issues"
msgstr "" msgstr ""
msgid "Edit last comment (when focused on an empty textarea)" msgid "Edit public deploy key"
msgstr "" msgstr ""
msgid "Edit merge request" msgid "Edit stage"
msgstr "" msgstr ""
msgid "Edit public deploy key" msgid "Edit wiki page"
msgstr "" msgstr ""
msgid "Edit stage" msgid "Edit your most recent comment in a thread (from an empty textarea)"
msgstr "" msgstr ""
msgid "Edit wiki page" msgid "Editing"
msgstr "" msgstr ""
msgid "Elasticsearch" msgid "Elasticsearch"
...@@ -5737,6 +5743,9 @@ msgstr "" ...@@ -5737,6 +5743,9 @@ msgstr ""
msgid "Epics" msgid "Epics"
msgstr "" msgstr ""
msgid "Epics (Ultimate / Gold license only)"
msgstr ""
msgid "Epics Roadmap" msgid "Epics Roadmap"
msgstr "" msgstr ""
...@@ -6582,9 +6591,6 @@ msgstr "" ...@@ -6582,9 +6591,6 @@ msgstr ""
msgid "Find the newly extracted <code>Takeout/Google Code Project Hosting/GoogleCodeProjectHosting.json</code> file." msgid "Find the newly extracted <code>Takeout/Google Code Project Hosting/GoogleCodeProjectHosting.json</code> file."
msgstr "" msgstr ""
msgid "Finding Project File"
msgstr ""
msgid "Fingerprint" msgid "Fingerprint"
msgstr "" msgstr ""
...@@ -6627,12 +6633,6 @@ msgstr "" ...@@ -6627,12 +6633,6 @@ msgstr ""
msgid "FlowdockService|Flowdock is a collaboration web app for technical teams." msgid "FlowdockService|Flowdock is a collaboration web app for technical teams."
msgstr "" msgstr ""
msgid "Focus Filter"
msgstr ""
msgid "Focus Search"
msgstr ""
msgid "FogBugz Email" msgid "FogBugz Email"
msgstr "" msgstr ""
...@@ -7329,6 +7329,9 @@ msgstr "" ...@@ -7329,6 +7329,9 @@ msgstr ""
msgid "Go back" msgid "Go back"
msgstr "" msgstr ""
msgid "Go back (while searching for files"
msgstr ""
msgid "Go back to %{startTag}Open issues%{endTag} and select some issues to add to your board." msgid "Go back to %{startTag}Open issues%{endTag} and select some issues to add to your board."
msgstr "" msgstr ""
...@@ -7350,16 +7353,16 @@ msgstr "" ...@@ -7350,16 +7353,16 @@ msgstr ""
msgid "Go to file" msgid "Go to file"
msgstr "" msgstr ""
msgid "Go to file permalink" msgid "Go to file (MRs only)"
msgstr "" msgstr ""
msgid "Go to files" msgid "Go to file permalink (while viewing a file)"
msgstr "" msgstr ""
msgid "Go to finding file" msgid "Go to files"
msgstr "" msgstr ""
msgid "Go to groups" msgid "Go to find file"
msgstr "" msgstr ""
msgid "Go to issue boards" msgid "Go to issue boards"
...@@ -7380,45 +7383,60 @@ msgstr "" ...@@ -7380,45 +7383,60 @@ msgstr ""
msgid "Go to metrics" msgid "Go to metrics"
msgstr "" msgstr ""
msgid "Go to milestones"
msgstr ""
msgid "Go to network graph"
msgstr ""
msgid "Go to parent" msgid "Go to parent"
msgstr "" msgstr ""
msgid "Go to project" msgid "Go to project"
msgstr "" msgstr ""
msgid "Go to projects" msgid "Go to releases"
msgstr "" msgstr ""
msgid "Go to repository charts" msgid "Go to repository charts"
msgstr "" msgstr ""
msgid "Go to repository graph"
msgstr ""
msgid "Go to snippets" msgid "Go to snippets"
msgstr "" msgstr ""
msgid "Go to the activity feed" msgid "Go to the activity feed"
msgstr "" msgstr ""
msgid "Go to the milestone list"
msgstr ""
msgid "Go to the project's activity feed" msgid "Go to the project's activity feed"
msgstr "" msgstr ""
msgid "Go to the project's overview page" msgid "Go to the project's overview page"
msgstr "" msgstr ""
msgid "Go to todos" msgid "Go to wiki"
msgstr "" msgstr ""
msgid "Go to wiki" msgid "Go to your To-Do list"
msgstr "" msgstr ""
msgid "Go to your fork" msgid "Go to your fork"
msgstr "" msgstr ""
msgid "Go to your groups"
msgstr ""
msgid "Go to your issues"
msgstr ""
msgid "Go to your merge requests"
msgstr ""
msgid "Go to your projects"
msgstr ""
msgid "Go to your snippets"
msgstr ""
msgid "Golden Tanuki" msgid "Golden Tanuki"
msgstr "" msgstr ""
...@@ -8407,6 +8425,9 @@ msgstr "" ...@@ -8407,6 +8425,9 @@ msgstr ""
msgid "Issues" msgid "Issues"
msgstr "" msgstr ""
msgid "Issues / Merge Requests"
msgstr ""
msgid "Issues can be bugs, tasks or ideas to be discussed. Also, issues are searchable and filterable." msgid "Issues can be bugs, tasks or ideas to be discussed. Also, issues are searchable and filterable."
msgstr "" msgstr ""
...@@ -9822,18 +9843,6 @@ msgstr "" ...@@ -9822,18 +9843,6 @@ msgstr ""
msgid "Move this issue to another project." msgid "Move this issue to another project."
msgstr "" msgstr ""
msgid "Move to next file"
msgstr ""
msgid "Move to next unresolved discussion"
msgstr ""
msgid "Move to previous file"
msgstr ""
msgid "Move to previous unresolved discussion"
msgstr ""
msgid "MoveIssue|Cannot move issue due to insufficient permissions!" msgid "MoveIssue|Cannot move issue due to insufficient permissions!"
msgstr "" msgstr ""
...@@ -9903,9 +9912,6 @@ msgstr "" ...@@ -9903,9 +9912,6 @@ msgstr ""
msgid "Network" msgid "Network"
msgstr "" msgstr ""
msgid "Network Graph"
msgstr ""
msgid "Never" msgid "Never"
msgstr "" msgstr ""
...@@ -10034,6 +10040,12 @@ msgstr "" ...@@ -10034,6 +10040,12 @@ msgstr ""
msgid "Next" msgid "Next"
msgstr "" msgstr ""
msgid "Next file in diff (MRs only)"
msgstr ""
msgid "Next unresolved discussion (MRs only)"
msgstr ""
msgid "Nickname" msgid "Nickname"
msgstr "" msgstr ""
...@@ -11269,6 +11281,12 @@ msgstr "" ...@@ -11269,6 +11281,12 @@ msgstr ""
msgid "Previous Artifacts" msgid "Previous Artifacts"
msgstr "" msgstr ""
msgid "Previous file in diff (MRs only)"
msgstr ""
msgid "Previous unresolved discussion (MRs only)"
msgstr ""
msgid "Primary" msgid "Primary"
msgstr "" msgstr ""
...@@ -11665,10 +11683,7 @@ msgstr "" ...@@ -11665,10 +11683,7 @@ msgstr ""
msgid "Project Badges" msgid "Project Badges"
msgstr "" msgstr ""
msgid "Project File" msgid "Project Files"
msgstr ""
msgid "Project Files browsing"
msgstr "" msgstr ""
msgid "Project ID" msgid "Project ID"
...@@ -12738,9 +12753,6 @@ msgstr "" ...@@ -12738,9 +12753,6 @@ msgstr ""
msgid "Replaced all labels with %{label_references} %{label_text}." msgid "Replaced all labels with %{label_references} %{label_text}."
msgstr "" msgstr ""
msgid "Reply (quoting selected text)"
msgstr ""
msgid "Reply by email" msgid "Reply by email"
msgstr "" msgstr ""
...@@ -12819,6 +12831,9 @@ msgstr "" ...@@ -12819,6 +12831,9 @@ msgstr ""
msgid "Repository" msgid "Repository"
msgstr "" msgstr ""
msgid "Repository Graph"
msgstr ""
msgid "Repository Settings" msgid "Repository Settings"
msgstr "" msgstr ""
...@@ -13938,9 +13953,6 @@ msgstr "" ...@@ -13938,9 +13953,6 @@ msgstr ""
msgid "Show whitespace changes" msgid "Show whitespace changes"
msgstr "" msgstr ""
msgid "Show/hide this dialog"
msgstr ""
msgid "Showing %d event" msgid "Showing %d event"
msgid_plural "Showing %d events" msgid_plural "Showing %d events"
msgstr[0] "" msgstr[0] ""
...@@ -14486,6 +14498,9 @@ msgstr "" ...@@ -14486,6 +14498,9 @@ msgstr ""
msgid "Start merge train when pipeline succeeds" msgid "Start merge train when pipeline succeeds"
msgstr "" msgstr ""
msgid "Start search"
msgstr ""
msgid "Start the Runner!" msgid "Start the Runner!"
msgstr "" msgstr ""
...@@ -16091,6 +16106,9 @@ msgstr "" ...@@ -16091,6 +16106,9 @@ msgstr ""
msgid "Toggle the Performance Bar" msgid "Toggle the Performance Bar"
msgstr "" msgstr ""
msgid "Toggle this dialog"
msgstr ""
msgid "Toggle thread" msgid "Toggle thread"
msgstr "" msgstr ""
......
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