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
0
Merge Requests
0
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
Jérome Perrin
gitlab-ce
Commits
479ecbab
Commit
479ecbab
authored
Jun 01, 2016
by
Luke "Jared" Bennett
Committed by
Luke "Jared" Bennett
Jun 10, 2016
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Tidied dispatcher switch and added shortcuts to project pipelines, milestones and forks pages
Updated CHANGELOG Moved CHANGELOG entry
parent
bedb7114
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
11 deletions
+6
-11
CHANGELOG
CHANGELOG
+1
-0
app/assets/javascripts/dispatcher.js.coffee
app/assets/javascripts/dispatcher.js.coffee
+5
-11
No files found.
CHANGELOG
View file @
479ecbab
...
...
@@ -32,6 +32,7 @@ v 8.9.0 (unreleased)
- Changed the Slack build message to use the singular duration if necessary (Aran Koning)
- Links from a wiki page to other wiki pages should be rewritten as expected
- Add option to project to only allow merge requests to be merged if the build succeeds (Rui Santos)
- Added navigation shortcuts to the project pipelines, milestones, builds and forks page. !4393
- Fix issues filter when ordering by milestone
- Todos will display target state if issuable target is 'Closed' or 'Merged'
- Fix bug when sorting issues by milestone due date and filtering by two or more labels
...
...
app/assets/javascripts/dispatcher.js.coffee
View file @
479ecbab
...
...
@@ -68,9 +68,7 @@ class Dispatcher
new
Diff
()
new
ZenMode
()
shortcut_handler
=
new
ShortcutsNavigation
()
when
'projects:commits:show'
shortcut_handler
=
new
ShortcutsNavigation
()
when
'projects:activity'
when
'projects:commits:show'
,
'projects:activity'
shortcut_handler
=
new
ShortcutsNavigation
()
when
'projects:show'
shortcut_handler
=
new
ShortcutsNavigation
()
...
...
@@ -129,15 +127,11 @@ class Dispatcher
new
Project
()
new
ProjectAvatar
()
switch
path
[
1
]
when
'compare'
shortcut_handler
=
new
ShortcutsNavigation
()
when
'edit'
shortcut_handler
=
new
ShortcutsNavigation
()
new
ProjectNew
()
when
'new'
when
'new'
,
'show'
new
ProjectNew
()
when
'show'
new
ProjectShow
()
when
'wikis'
new
Wikis
()
shortcut_handler
=
new
ShortcutsNavigation
()
...
...
@@ -146,9 +140,9 @@ class Dispatcher
when
'snippets'
shortcut_handler
=
new
ShortcutsNavigation
()
new
ZenMode
()
if
path
[
2
]
==
'show'
when
'labels'
,
'graphs'
shortcut_handler
=
new
ShortcutsNavigation
()
when
'project_members'
,
'deploy_keys'
,
'hooks'
,
'services'
,
'protected_branches'
when
'labels'
,
'graphs'
,
'compare'
,
'pipelines'
,
'forks'
,
\
'milestones'
,
'project_members'
,
'deploy_keys'
,
'builds'
,
\
'hooks'
,
'services'
,
'protected_branches'
shortcut_handler
=
new
ShortcutsNavigation
()
# If we haven't installed a custom shortcut handler, install the default one
...
...
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