Commit 92c29091 authored by Victor Wu's avatar Victor Wu Committed by Phil Hughes

Fix keyboard shortcut to navigate to dashboard activity

parent 720c8226
...@@ -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