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

Improve Keyboard shortcut help screen

Closes #65367

See merge request gitlab-org/gitlab-ce!31642
This commit is contained in:
Paul Slaughter 2019-09-06 20:43:22 +00:00
commit fd515cca50
10 changed files with 455 additions and 460 deletions

View File

@ -46,7 +46,6 @@ export default class Shortcuts {
$(document).on('click.more_help', '.js-more-help-button', function clickMoreHelp(e) {
$(this).remove();
$('.hidden-shortcut').show();
e.preventDefault();
});
}
@ -104,7 +103,6 @@ export default class Shortcuts {
return results;
}
$('.hidden-shortcut').show();
return $('.js-more-help-button').remove();
});
}

View File

@ -6,7 +6,7 @@ import { CopyAsGFM } from '../markdown/copy_as_gfm';
import { getSelectedFragment } from '~/lib/utils/common_utils';
export default class ShortcutsIssuable extends Shortcuts {
constructor(isMergeRequest) {
constructor() {
super();
Mousetrap.bind('a', () => ShortcutsIssuable.openSidebarDropdown('assignee'));
@ -14,12 +14,6 @@ export default class ShortcutsIssuable extends Shortcuts {
Mousetrap.bind('l', () => ShortcutsIssuable.openSidebarDropdown('labels'));
Mousetrap.bind('r', ShortcutsIssuable.replyWithSelectedText);
Mousetrap.bind('e', ShortcutsIssuable.editIssue);
if (isMergeRequest) {
this.enabledHelp.push('.hidden-shortcut.merge_requests');
} else {
this.enabledHelp.push('.hidden-shortcut.issues');
}
}
static replyWithSelectedText() {

View File

@ -23,7 +23,5 @@ export default class ShortcutsNavigation extends Shortcuts {
Mousetrap.bind('g e', () => findAndFollowLink('.shortcuts-environments'));
Mousetrap.bind('g l', () => findAndFollowLink('.shortcuts-metrics'));
Mousetrap.bind('i', () => findAndFollowLink('.shortcuts-new-issue'));
this.enabledHelp.push('.hidden-shortcut.project');
}
}

View File

@ -11,7 +11,5 @@ export default class ShortcutsNetwork extends ShortcutsNavigation {
Mousetrap.bind(['down', 'j'], graph.scrollDown);
Mousetrap.bind(['shift+up', 'shift+k'], graph.scrollTop);
Mousetrap.bind(['shift+down', 'shift+j'], graph.scrollBottom);
this.enabledHelp.push('.hidden-shortcut.network');
}
}

View File

@ -6,8 +6,6 @@ export default class ShortcutsWiki extends ShortcutsNavigation {
constructor() {
super();
Mousetrap.bind('e', ShortcutsWiki.editWiki);
this.enabledHelp.push('.hidden-shortcut.wiki');
}
static editWiki() {

View File

@ -2,6 +2,12 @@
max-width: 98%;
}
.modal-1040 {
@include media-breakpoint-up(xl) {
max-width: 1040px;
}
}
.modal-header {
background-color: $modal-body-bg;

View File

@ -1,5 +1,5 @@
#modal-shortcuts.modal{ tabindex: -1 }
.modal-dialog.modal-lg
.modal-dialog.modal-lg.modal-1040
.modal-content
.modal-header
%h4.modal-title
@ -11,233 +11,56 @@
.modal-body
.row
.col-lg-4
%table.shortcut-mappings
%table.shortcut-mappings.text-2
%tbody
%tr
%th
%th= _('Global Shortcuts')
%tr
%td.shortcut
%kbd s
%td= _('Focus Search')
%kbd ?
%td= _('Toggle this dialog')
%tr
%td.shortcut
%kbd f
%td= _('Focus Filter')
%kbd shift p
%td= _('Go to your projects')
%tr
%td.shortcut
%kbd shift g
%td= _('Go to your groups')
%tr
%td.shortcut
%kbd shift a
%td= _('Go to the activity feed')
%tr
%td.shortcut
%kbd shift l
%td= _('Go to the milestone list')
%tr
%td.shortcut
%kbd shift s
%td= _('Go to your snippets')
%tr
%td.shortcut
%kbd s
%td= _('Start search')
%tr
%td.shortcut
%kbd shift i
%td= _('Go to your issues')
%tr
%td.shortcut
%kbd shift m
%td= _('Go to your merge requests')
%tr
%td.shortcut
%kbd shift t
%td= _('Go to your To-Do list')
%tr
%td.shortcut
%kbd p
%kbd b
%td= _('Toggle the Performance Bar')
%tr
%td.shortcut
%kbd ?
%td= _('Show/hide this dialog')
%tr
%td.shortcut
- if browser.platform.mac?
%kbd ⌘ shift p
- else
%kbd ctrl shift p
%td= _('Toggle Markdown preview')
%tr
%td.shortcut
%kbd
%i.fa.fa-arrow-up
%td= _('Edit last comment (when focused on an empty textarea)')
%tr
%td.shortcut
%kbd shift t
%td
= _('Go to todos')
%tr
%td.shortcut
%kbd shift a
%td
= _('Go to the activity feed')
%tr
%td.shortcut
%kbd shift p
%td
= _('Go to projects')
%tr
%td.shortcut
%kbd shift i
%td
= _('Go to issues')
%tr
%td.shortcut
%kbd shift m
%td
= _('Go to merge requests')
%tr
%td.shortcut
%kbd shift g
%td
= _('Go to groups')
%tr
%td.shortcut
%kbd shift l
%td
= _('Go to milestones')
%tr
%td.shortcut
%kbd shift s
%td
= _('Go to snippets')
%tbody
%tr
%th
%th= _('Finding Project File')
%tr
%td.shortcut
%kbd
%i.fa.fa-arrow-up
%td= _('Move selection up')
%tr
%td.shortcut
%kbd
%i.fa.fa-arrow-down
%td= _('Move selection down')
%tr
%td.shortcut
%kbd enter
%td= _('Open Selection')
%tr
%td.shortcut
%kbd esc
%td= _('Go back')
.col-lg-4
%table.shortcut-mappings
%tbody
%tr
%th
%th= _('Project')
%tr
%td.shortcut
%kbd g
%kbd p
%td
= _('Go to the project\'s overview page')
%tr
%td.shortcut
%kbd g
%kbd v
%td
= _('Go to the project\'s activity feed')
%tr
%td.shortcut
%kbd g
%kbd f
%td
= _('Go to files')
%tr
%td.shortcut
%kbd g
%kbd c
%td
= _('Go to commits')
%tr
%td.shortcut
%kbd g
%kbd j
%td
= _('Go to jobs')
%tr
%td.shortcut
%kbd g
%kbd n
%td
= _('Go to network graph')
%tr
%td.shortcut
%kbd g
%kbd d
%td
= _('Go to repository charts')
%tr
%td.shortcut
%kbd g
%kbd i
%td
= _('Go to issues')
%tr
%td.shortcut
%kbd g
%kbd b
%td
= _('Go to issue boards')
%tr
%td.shortcut
%kbd g
%kbd m
%td
= _('Go to merge requests')
%tr
%td.shortcut
%kbd g
%kbd e
%td
= _('Go to environments')
%tr
%td.shortcut
%kbd g
%kbd l
%td
= _('Go to metrics')
%tr
%td.shortcut
%kbd g
%kbd k
%td
= _('Go to kubernetes')
%tr
%td.shortcut
%kbd g
%kbd s
%td
= _('Go to snippets')
%tr
%td.shortcut
%kbd g
%kbd w
%td
= _('Go to wiki')
%tr
%td.shortcut
%kbd t
%td= _('Go to finding file')
%tr
%td.shortcut
%kbd i
%td= _('New issue')
%tbody
%tr
%th
%th= _('Project Files browsing')
%tr
%td.shortcut
%kbd
%i.fa.fa-arrow-up
%td= _('Move selection up')
%tr
%td.shortcut
%kbd
%i.fa.fa-arrow-down
%td= _('Move selection down')
%tr
%td.shortcut
%kbd enter
%td= _('Open Selection')
%tbody
%tr
%th
%th= _('Project File')
%tr
%td.shortcut
%kbd y
%td= _('Go to file permalink')
%tbody
%tr
%th
@ -256,12 +79,223 @@
- else
%kbd ctrl enter
%td= _('Commit (when editing commit message)')
.col-lg-4
%table.shortcut-mappings
%tbody.hidden-shortcut.network{ style: 'display:none' }
%tbody
%tr
%th
%th= _('Network Graph')
%th= _('Wiki pages')
%tr
%td.shortcut
%kbd e
%td= _('Edit wiki page')
%tbody
%tr
%th
%th= _('Editing')
%tr
%td.shortcut
- if browser.platform.mac?
%kbd ⌘ shift p
- else
%kbd ctrl shift p
%td= _('Toggle Markdown preview')
%tr
%td.shortcut
%kbd
%i.fa.fa-arrow-up
%td= _('Edit your most recent comment in a thread (from an empty textarea)')
.col-lg-4
%table.shortcut-mappings.text-2
%tbody
%tr
%th
%th= _('Project')
%tr
%td.shortcut
%kbd g
%kbd p
%td= _('Go to the project\'s overview page')
%tr
%td.shortcut
%kbd g
%kbd v
%td= _('Go to the project\'s activity feed')
%tr
%td.shortcut
%kbd g
%kbd r
%td= _('Go to releases')
%tr
%td.shortcut
%kbd g
%kbd f
%td= _('Go to files')
%tr
%td.shortcut
%kbd t
%td= _('Go to find file')
%tr
%td.shortcut
%kbd g
%kbd c
%td= _('Go to commits')
%tr
%td.shortcut
%kbd g
%kbd n
%td= _('Go to repository graph')
%tr
%td.shortcut
%kbd g
%kbd d
%td= _('Go to repository charts')
%tr
%td.shortcut
%kbd g
%kbd i
%td= _('Go to issues')
%tr
%td.shortcut
%kbd i
%td= _('New issue')
%tr
%td.shortcut
%kbd g
%kbd b
%td= _('Go to issue boards')
%tr
%td.shortcut
%kbd g
%kbd m
%td= _('Go to merge requests')
%tr
%td.shortcut
%kbd g
%kbd j
%td= _('Go to jobs')
%tr
%td.shortcut
%kbd g
%kbd l
%td= _('Go to metrics')
%tr
%td.shortcut
%kbd g
%kbd e
%td= _('Go to environments')
%tr
%td.shortcut
%kbd g
%kbd k
%td= _('Go to kubernetes')
%tr
%td.shortcut
%kbd g
%kbd s
%td= _('Go to snippets')
%tr
%td.shortcut
%kbd g
%kbd w
%td= _('Go to wiki')
%tbody
%tr
%th
%th= _('Project Files')
%tr
%td.shortcut
%kbd
%i.fa.fa-arrow-up
%td= _('Move selection up')
%tr
%td.shortcut
%kbd
%i.fa.fa-arrow-down
%td= _('Move selection down')
%tr
%td.shortcut
%kbd enter
%td= _('Open Selection')
%tr
%td.shortcut
%kbd esc
%td= _('Go back (while searching for files')
%tr
%td.shortcut
%kbd y
%td= _('Go to file permalink (while viewing a file)')
.col-lg-4
%table.shortcut-mappings.text-2
%tbody
%tr
%th
%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
%td.shortcut
- if browser.platform.mac?
%kbd ⌘ p
- else
%kbd ctrl p
%td= _('Go to file (MRs only)')
%tr
%td.shortcut
%kbd n
%td= _('Next unresolved discussion (MRs only)')
%tr
%td.shortcut
%kbd p
%td= _('Previous unresolved discussion (MRs only)')
%tbody
%tr
%th
%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
%td.shortcut
%kbd
@ -295,92 +329,12 @@
%kbd
shift
%i.fa.fa-arrow-up
\/
%kbd
shift k
\/ k
%td= _('Scroll to top')
%tr
%td.shortcut
%kbd
shift
%i.fa.fa-arrow-down
\/
%kbd
shift j
\/ j
%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')

View File

@ -0,0 +1,5 @@
---
title: Clean up keyboard shortcuts help modal, removing and adding as needed
merge_request: 31642
author:
type: other

View File

@ -1,109 +1,134 @@
---
type: reference
---
# 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>.
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.
## Global Shortcuts
| Keyboard Shortcut | Description |
| ----------------- | ----------- |
| <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) |
These shortcuts are available in most areas of GitLab
## Project Files Browsing
| 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. |
| Keyboard Shortcut | Description |
| ----------------- | ----------- |
| <kbd></kbd> | Move selection up |
| <kbd></kbd> | Move selection down |
| <kbd>enter</kbd> | Open selection |
Additionally, the following shortcuts are available when editing text in text fields,
for example comments, replies, or issue and merge request descriptions:
## Finding Project File
| Keyboard Shortcut | Description |
| ----------------- | ----------- |
| <kbd></kbd> | Move selection up |
| <kbd></kbd> | Move selection down |
| <kbd>enter</kbd> | Open selection |
| <kbd>esc</kbd> | Go back |
## Global Dashboard
| Keyboard Shortcut | Description |
| ----------------- | ----------- |
| <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 |
| 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. |
## Project
| Keyboard Shortcut | Description |
| ----------------- | ----------- |
| <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 |
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.
## Network Graph
| 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 |
| ----------------- | ----------- |
| <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 |
| <kbd></kbd> | Move selection up. |
| <kbd></kbd> | Move selection down. |
| <kbd>enter</kbd> | Open selection. |
| <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). |
## Issues and Merge Requests
### Web IDE
These shortcuts are available when editing a file with the [Web IDE](../user/project/web_ide/index.md):
| 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). |
### Repository Graph
These shortcuts are available when viewing the project [repository graph](../user/project/repository/index.md#repository-graph)
page (navigate to **Repository > Graph**):
| 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. |
### Wiki pages
This shortcut is available when viewing a [wiki page](../user/project/wiki/index.md):
| Keyboard Shortcut | Description |
| ----------------- | ----------- |
| <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 |
| <kbd>e</kbd> | Edit wiki page. |
## Epics **(ULTIMATE)**
| Keyboard Shortcut | Description |
| ----------------- | ----------- |
| <kbd>r</kbd> | Reply (quoting selected text) |
| <kbd>e</kbd> | Edit description |
| <kbd>l</kbd> | Change label |
## Wiki pages
These shortcuts are available when viewing [Epics](../user/group/epics/index.md):
| Keyboard Shortcut | Description |
| ----------------- | ----------- |
| <kbd>e</kbd> | Edit wiki page|
## Web IDE
| Keyboard Shortcut | Description |
| ----------------- | ----------- |
| <kbd>Cmd</kbd>/<kbd>Ctrl</kbd> + <kbd>p</kbd> | Go to file |
| <kbd>Cmd</kbd>/<kbd>Ctrl</kbd> + <kbd>Enter</kbd> | Commit (when editing the commit message) |
| <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>e</kbd> | Edit description. |
| <kbd>l</kbd> | Change label. |

View File

@ -2035,10 +2035,10 @@ msgstr ""
msgid "Certificate (PEM)"
msgstr ""
msgid "Change Label"
msgid "Change assignee"
msgstr ""
msgid "Change assignee"
msgid "Change label"
msgstr ""
msgid "Change milestone"
@ -3019,6 +3019,9 @@ msgstr ""
msgid "Comment is being updated"
msgstr ""
msgid "Comment/Reply (quoting selected text)"
msgstr ""
msgid "Comments"
msgstr ""
@ -4189,9 +4192,15 @@ msgstr ""
msgid "Edit comment"
msgstr ""
msgid "Edit description"
msgstr ""
msgid "Edit environment"
msgstr ""
msgid "Edit epic description"
msgstr ""
msgid "Edit file"
msgstr ""
@ -4204,18 +4213,9 @@ msgstr ""
msgid "Edit identity for %{user_name}"
msgstr ""
msgid "Edit issue"
msgstr ""
msgid "Edit issues"
msgstr ""
msgid "Edit last comment (when focused on an empty textarea)"
msgstr ""
msgid "Edit merge request"
msgstr ""
msgid "Edit public deploy key"
msgstr ""
@ -4225,6 +4225,12 @@ msgstr ""
msgid "Edit wiki page"
msgstr ""
msgid "Edit your most recent comment in a thread (from an empty textarea)"
msgstr ""
msgid "Editing"
msgstr ""
msgid "Email"
msgstr ""
@ -4543,6 +4549,9 @@ msgstr ""
msgid "Epic"
msgstr ""
msgid "Epics (Ultimate / Gold license only)"
msgstr ""
msgid "Error"
msgstr ""
@ -5100,9 +5109,6 @@ msgstr ""
msgid "Find the newly extracted <code>Takeout/Google Code Project Hosting/GoogleCodeProjectHosting.json</code> file."
msgstr ""
msgid "Finding Project File"
msgstr ""
msgid "Fingerprint"
msgstr ""
@ -5127,12 +5133,6 @@ msgstr ""
msgid "FlowdockService|Flowdock is a collaboration web app for technical teams."
msgstr ""
msgid "Focus Filter"
msgstr ""
msgid "Focus Search"
msgstr ""
msgid "FogBugz Email"
msgstr ""
@ -5376,6 +5376,9 @@ msgstr ""
msgid "Go back"
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."
msgstr ""
@ -5397,16 +5400,17 @@ msgstr ""
msgid "Go to file"
msgstr ""
msgid "Go to file permalink"
msgid "Go to file (MRs only)"
msgstr ""
msgid "Go to file permalink (while viewing a file)"
msgstr ""
msgid "Go to files"
msgstr ""
msgid "Go to finding file"
msgstr ""
msgid "Go to groups"
msgid "Go to find file"
msgstr ""
msgid "Go to issue boards"
@ -5427,45 +5431,60 @@ msgstr ""
msgid "Go to metrics"
msgstr ""
msgid "Go to milestones"
msgstr ""
msgid "Go to network graph"
msgstr ""
msgid "Go to parent"
msgstr ""
msgid "Go to project"
msgstr ""
msgid "Go to projects"
msgid "Go to releases"
msgstr ""
msgid "Go to repository charts"
msgstr ""
msgid "Go to repository graph"
msgstr ""
msgid "Go to snippets"
msgstr ""
msgid "Go to the activity feed"
msgstr ""
msgid "Go to the milestone list"
msgstr ""
msgid "Go to the project's activity feed"
msgstr ""
msgid "Go to the project's overview page"
msgstr ""
msgid "Go to todos"
msgstr ""
msgid "Go to wiki"
msgstr ""
msgid "Go to your To-Do list"
msgstr ""
msgid "Go to your fork"
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 "Google Code import"
msgstr ""
@ -6233,6 +6252,9 @@ msgstr ""
msgid "Issues"
msgstr ""
msgid "Issues / Merge Requests"
msgstr ""
msgid "Issues can be bugs, tasks or ideas to be discussed. Also, issues are searchable and filterable."
msgstr ""
@ -7254,18 +7276,6 @@ msgstr ""
msgid "Move this issue to another project."
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!"
msgstr ""
@ -7326,9 +7336,6 @@ msgstr ""
msgid "Network"
msgstr ""
msgid "Network Graph"
msgstr ""
msgid "Never"
msgstr ""
@ -7451,6 +7458,12 @@ msgstr ""
msgid "Next"
msgstr ""
msgid "Next file in diff (MRs only)"
msgstr ""
msgid "Next unresolved discussion (MRs only)"
msgstr ""
msgid "Nickname"
msgstr ""
@ -8446,6 +8459,12 @@ msgstr ""
msgid "Previous Artifacts"
msgstr ""
msgid "Previous file in diff (MRs only)"
msgstr ""
msgid "Previous unresolved discussion (MRs only)"
msgstr ""
msgid "Prioritize"
msgstr ""
@ -8824,10 +8843,7 @@ msgstr ""
msgid "Project Badges"
msgstr ""
msgid "Project File"
msgstr ""
msgid "Project Files browsing"
msgid "Project Files"
msgstr ""
msgid "Project ID"
@ -9621,9 +9637,6 @@ msgstr ""
msgid "Replaced all labels with %{label_references} %{label_text}."
msgstr ""
msgid "Reply (quoting selected text)"
msgstr ""
msgid "Reply by email"
msgstr ""
@ -9672,6 +9685,9 @@ msgstr ""
msgid "Repository"
msgstr ""
msgid "Repository Graph"
msgstr ""
msgid "Repository Settings"
msgstr ""
@ -10499,9 +10515,6 @@ msgstr ""
msgid "Show whitespace changes"
msgstr ""
msgid "Show/hide this dialog"
msgstr ""
msgid "Showing %d event"
msgid_plural "Showing %d events"
msgstr[0] ""
@ -10936,6 +10949,9 @@ msgstr ""
msgid "Start date"
msgstr ""
msgid "Start search"
msgstr ""
msgid "Start the Runner!"
msgstr ""
@ -12274,6 +12290,9 @@ msgstr ""
msgid "Toggle the Performance Bar"
msgstr ""
msgid "Toggle this dialog"
msgstr ""
msgid "Toggle thread"
msgstr ""