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
aa02d303
Commit
aa02d303
authored
Nov 05, 2020
by
Simon Knox
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Move burnup graphql data to new format
It now lives inside report
parent
0f2a22e7
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
17 additions
and
13 deletions
+17
-13
ee/app/assets/javascripts/burndown_chart/components/burn_charts.vue
...ets/javascripts/burndown_chart/components/burn_charts.vue
+1
-1
ee/app/assets/javascripts/burndown_chart/queries/burnup.query.graphql
...s/javascripts/burndown_chart/queries/burnup.query.graphql
+16
-12
No files found.
ee/app/assets/javascripts/burndown_chart/components/burn_charts.vue
View file @
aa02d303
...
...
@@ -64,7 +64,7 @@ export default {
};
},
update
(
data
)
{
const
sparseBurnupData
=
data
?.[
this
.
parent
]?.
burnupTimeSeries
||
[];
const
sparseBurnupData
=
data
?.[
this
.
parent
]?.
report
.
burnupTimeSeries
||
[];
return
this
.
padSparseBurnupData
(
sparseBurnupData
);
},
...
...
ee/app/assets/javascripts/burndown_chart/queries/burnup.query.graphql
View file @
aa02d303
...
...
@@ -2,6 +2,7 @@ query IterationBurnupTimesSeriesData($id: ID!, $isIteration: Boolean = false) {
milestone
(
id
:
$id
)
@skip
(
if
:
$isIteration
)
{
title
id
report
{
burnupTimeSeries
{
date
scopeCount
...
...
@@ -10,9 +11,11 @@ query IterationBurnupTimesSeriesData($id: ID!, $isIteration: Boolean = false) {
completedWeight
}
}
}
iteration
(
id
:
$id
)
@include
(
if
:
$isIteration
)
{
title
id
report
{
burnupTimeSeries
{
date
scopeCount
...
...
@@ -21,4 +24,5 @@ query IterationBurnupTimesSeriesData($id: ID!, $isIteration: Boolean = false) {
completedWeight
}
}
}
}
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