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
92c29091
Commit
92c29091
authored
Apr 09, 2020
by
Victor Wu
Committed by
Phil Hughes
Apr 09, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix keyboard shortcut to navigate to dashboard activity
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-dashboard-activity.yml
...eased/fix-keyboard-shortcut-nav-to-dashboard-activity.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 @
92c29091
...
...
@@ -30,7 +30,7 @@
=
_
(
'Groups'
)
-
if
dashboard_nav_link?
(
:activity
)
=
nav_link
(
path:
'dashboard#activity'
)
do
=
link_to
activity_dashboard_path
do
=
link_to
activity_dashboard_path
,
class:
'dashboard-shortcuts-activity'
do
=
_
(
'Activity'
)
-
if
dashboard_nav_link?
(
:milestones
)
...
...
changelogs/unreleased/fix-keyboard-shortcut-nav-to-dashboard-activity.yml
0 → 100644
View file @
92c29091
---
title
:
Fix keyboard shortcut to navigate to dashboard activity
merge_request
:
28985
author
:
Victor Wu
type
:
other
spec/features/dashboard/shortcuts_spec.rb
View file @
92c29091
...
...
@@ -29,6 +29,10 @@ describe 'Dashboard shortcuts', :js do
find
(
'body'
).
send_keys
([
:shift
,
'P'
])
check_page_title
(
'Projects'
)
find
(
'body'
).
send_keys
([
:shift
,
'A'
])
check_page_title
(
'Activity'
)
end
end
...
...
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