Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
f3760038
Commit
f3760038
authored
Apr 14, 2020
by
Victor Wu
Committed by
Mike Greiling
Apr 14, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix keyboard shortcut to navigate to your groups
parent
720c8226
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
10 additions
and
1 deletion
+10
-1
app/views/layouts/nav/_dashboard.html.haml
app/views/layouts/nav/_dashboard.html.haml
+1
-1
changelogs/unreleased/fix-keyboard-shortcut-nav-to-groups.yml
...gelogs/unreleased/fix-keyboard-shortcut-nav-to-groups.yml
+5
-0
spec/features/dashboard/shortcuts_spec.rb
spec/features/dashboard/shortcuts_spec.rb
+4
-0
No files found.
app/views/layouts/nav/_dashboard.html.haml
View file @
f3760038
...
...
@@ -26,7 +26,7 @@
%ul
-
if
dashboard_nav_link?
(
:groups
)
%li
.d-md-none
=
link_to
dashboard_groups_path
do
=
link_to
dashboard_groups_path
,
class:
'dashboard-shortcuts-groups'
do
=
_
(
'Groups'
)
-
if
dashboard_nav_link?
(
:activity
)
=
nav_link
(
path:
'dashboard#activity'
)
do
...
...
changelogs/unreleased/fix-keyboard-shortcut-nav-to-groups.yml
0 → 100644
View file @
f3760038
---
title
:
Fix keyboard shortcut to navigate to your groups
merge_request
:
28873
author
:
Victor Wu
type
:
other
spec/features/dashboard/shortcuts_spec.rb
View file @
f3760038
...
...
@@ -26,6 +26,10 @@ describe 'Dashboard shortcuts', :js do
check_page_title
(
'To-Do List'
)
find
(
'body'
).
send_keys
([
:shift
,
'G'
])
check_page_title
(
'Groups'
)
find
(
'body'
).
send_keys
([
:shift
,
'P'
])
check_page_title
(
'Projects'
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment