Keyboard shortcuts don't work yet in the new navigation
The root cause is that the Shortcuts
class attempts to follow links that need to be rendered within the page. It might be a good idea to revisit this logic by passing the paths to the class and setting the window.location
in the event listeners. In the meantime, it might be safer to add the necessary classes to the nav items so that the existing logic can continue working without any changes.
Shortcuts to be checked:
-
GO_TO_YOUR_TODO_LIST
: shift+t -
GO_TO_ACTIVITY_FEED
: shift+a -
GO_TO_YOUR_ISSUES
: shift+i -
GO_TO_YOUR_MERGE_REQUESTS
: shift+m -
GO_TO_YOUR_PROJECTS
: shift+p -
GO_TO_YOUR_GROUPS
: shift+g -
GO_TO_MILESTONE_LIST
: shift+l -
GO_TO_YOUR_SNIPPETS
: shift+s -
GO_TO_YOUR_REVIEW_REQUESTS
: shift+r
Additional project-specific shortcuts that were missed in the initial iteration:
-
GO_TO_PROJECT_OVERVIEW
: g+p -
GO_TO_PROJECT_ACTIVITY_FEED
: g+v -
GO_TO_PROJECT_RELEASES
: g+r -
GO_TO_PROJECT_FILES
: g+f -
GO_TO_PROJECT_COMMITS
: g+c -
GO_TO_PROJECT_JOBS
: g+j -
GO_TO_PROJECT_REPO_GRAPH
: g+n -
GO_TO_PROJECT_REPO_CHARTS
: g+d -
GO_TO_PROJECT_ISSUES
: g+i -
GO_TO_PROJECT_ISSUE_BOARDS
: g+b -
GO_TO_PROJECT_MERGE_REQUESTS
: g+m -
GO_TO_PROJECT_WIKI
: g+w -
GO_TO_PROJECT_SNIPPETS
: g+s -
GO_TO_PROJECT_KUBERNETES
: g+k -
GO_TO_PROJECT_ENVIRONMENTS
: g+e -
GO_TO_PROJECT_METRICS
: g+l -
GO_TO_PROJECT_WEBIDE
: . -
NEW_ISSUE
: i
Edited by Paul Gascou-Vaillancourt