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
ec4c18a0
Commit
ec4c18a0
authored
Apr 24, 2018
by
Kushal Pandya
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add filtered searchbar to Roadmap page
parent
4dc066b3
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
0 deletions
+11
-0
ee/app/assets/javascripts/pages/groups/roadmap/show/index.js
ee/app/assets/javascripts/pages/groups/roadmap/show/index.js
+9
-0
ee/app/views/groups/roadmap/show.html.haml
ee/app/views/groups/roadmap/show.html.haml
+2
-0
No files found.
ee/app/assets/javascripts/pages/groups/roadmap/show/index.js
View file @
ec4c18a0
import
initFilteredSearch
from
'
~/pages/search/init_filtered_search
'
;
import
FilteredSearchTokenKeysEpics
from
'
ee/filtered_search/filtered_search_token_keys_epics
'
;
import
initNewEpic
from
'
ee/epics/new_epic/new_epic_bundle
'
;
import
initRoadmap
from
'
ee/roadmap/index
'
;
document
.
addEventListener
(
'
DOMContentLoaded
'
,
()
=>
{
initFilteredSearch
({
page
:
'
epics
'
,
isGroup
:
true
,
isGroupDecendent
:
true
,
filteredSearchTokenKeys
:
FilteredSearchTokenKeysEpics
,
stateFiltersSelector
:
'
.epics-state-filters
'
,
});
initNewEpic
();
initRoadmap
();
});
ee/app/views/groups/roadmap/show.html.haml
View file @
ec4c18a0
...
...
@@ -5,6 +5,8 @@
-
breadcrumb_title
_
(
"Epics Roadmap"
)
-
if
@epics_count
!=
0
=
render
'shared/epic/search_bar'
,
type: :epics
,
hide_sort_dropdown:
true
#js-roadmap
{
data:
{
epics_path:
group_epics_path
(
@group
,
format: :json
),
group_id:
@group
.
id
,
empty_state_illustration:
image_path
(
'illustrations/epics/roadmap.svg'
)
}
}
-
else
=
render
'shared/empty_states/roadmap'
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