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
86a59a4a
Commit
86a59a4a
authored
Jan 21, 2022
by
Donald Cook
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added ancestor milestones to roadmaps
parent
410216a8
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
1 deletion
+4
-1
ee/app/assets/javascripts/roadmap/queries/groupMilestones.query.graphql
...javascripts/roadmap/queries/groupMilestones.query.graphql
+2
-1
ee/app/assets/javascripts/roadmap/store/actions.js
ee/app/assets/javascripts/roadmap/store/actions.js
+1
-0
ee/spec/frontend/roadmap/store/actions_spec.js
ee/spec/frontend/roadmap/store/actions_spec.js
+1
-0
No files found.
ee/app/assets/javascripts/roadmap/queries/groupMilestones.query.graphql
View file @
86a59a4a
...
...
@@ -3,11 +3,12 @@ query groupMilestonesEE(
$state
:
MilestoneStateEnum
$timeframe
:
Timeframe
$includeDescendants
:
Boolean
$includeAncestors
:
Boolean
)
{
group
(
fullPath
:
$fullPath
)
{
id
name
milestones
(
state
:
$state
,
includeDescendants
:
$includeDescendants
,
timeframe
:
$timeframe
)
{
milestones
(
state
:
$state
,
includeDescendants
:
$includeDescendants
,
includeAncestors
:
$includeAncestors
,
timeframe
:
$timeframe
)
{
edges
{
node
{
id
...
...
ee/app/assets/javascripts/roadmap/store/actions.js
View file @
86a59a4a
...
...
@@ -233,6 +233,7 @@ export const fetchGroupMilestones = (
timeframe
:
defaultTimeframe
||
timeframe
,
}),
includeDescendants
:
true
,
includeAncestors
:
true
,
...
filterParams
,
};
...
...
ee/spec/frontend/roadmap/store/actions_spec.js
View file @
86a59a4a
...
...
@@ -500,6 +500,7 @@ describe('Roadmap Vuex Actions', () => {
end
:
'
2018-12-31
'
,
},
includeDescendants
:
true
,
includeAncestors
:
true
,
};
});
...
...
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