Commit e7ba0e22 authored by Phil Hughes's avatar Phil Hughes

Merge branch 'patch-97' into 'master'

Fix keyboard shortcut to navigate to dashboard activity

Closes #207185

See merge request gitlab-org/gitlab!28985
parents f6a04df0 92c29091
...@@ -30,7 +30,7 @@ ...@@ -30,7 +30,7 @@
= _('Groups') = _('Groups')
- if dashboard_nav_link?(:activity) - if dashboard_nav_link?(:activity)
= nav_link(path: 'dashboard#activity') do = nav_link(path: 'dashboard#activity') do
= link_to activity_dashboard_path do = link_to activity_dashboard_path, class: 'dashboard-shortcuts-activity' do
= _('Activity') = _('Activity')
- if dashboard_nav_link?(:milestones) - if dashboard_nav_link?(:milestones)
......
---
title: Fix keyboard shortcut to navigate to dashboard activity
merge_request: 28985
author: Victor Wu
type: other
...@@ -29,6 +29,10 @@ describe 'Dashboard shortcuts', :js do ...@@ -29,6 +29,10 @@ describe 'Dashboard shortcuts', :js do
find('body').send_keys([:shift, 'P']) find('body').send_keys([:shift, 'P'])
check_page_title('Projects') check_page_title('Projects')
find('body').send_keys([:shift, 'A'])
check_page_title('Activity')
end end
end end
......
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