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
93615feb
Commit
93615feb
authored
Mar 01, 2021
by
Sarah GP
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Lint and prettify
This involves more than three files
parent
af3ec601
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
13 additions
and
8 deletions
+13
-8
app/assets/javascripts/pipelines/components/graph/graph_component.vue
...avascripts/pipelines/components/graph/graph_component.vue
+2
-2
app/assets/javascripts/pipelines/components/graph/graph_component_wrapper.vue
...ts/pipelines/components/graph/graph_component_wrapper.vue
+2
-2
app/assets/javascripts/pipelines/components/graph/linked_pipelines_column.vue
...ts/pipelines/components/graph/linked_pipelines_column.vue
+3
-3
app/assets/javascripts/pipelines/components/graph/utils.js
app/assets/javascripts/pipelines/components/graph/utils.js
+2
-0
app/assets/javascripts/pipelines/pipeline_details_graph.js
app/assets/javascripts/pipelines/pipeline_details_graph.js
+4
-1
No files found.
app/assets/javascripts/pipelines/components/graph/graph_component.vue
View file @
93615feb
...
...
@@ -18,9 +18,9 @@ export default {
configPaths
:
{
type
:
Object
,
required
:
true
,
validator
:
function
(
value
)
{
validator
(
value
)
{
return
Object
.
keys
(
value
).
includes
(
'
graphqlResourceEtag
'
);
}
}
,
},
pipeline
:
{
type
:
Object
,
...
...
app/assets/javascripts/pipelines/components/graph/graph_component_wrapper.vue
View file @
93615feb
...
...
@@ -8,7 +8,7 @@ import {
getQueryHeaders
,
reportToSentry
,
toggleQueryPollingByVisibility
,
unwrapPipelineData
unwrapPipelineData
,
}
from
'
./utils
'
;
export
default
{
...
...
@@ -85,7 +85,7 @@ export default {
};
}
},
configPaths
(){
configPaths
()
{
return
{
graphqlResourceEtag
:
this
.
graphqlResourceEtag
,
metricsPath
:
this
.
metricsPath
,
...
...
app/assets/javascripts/pipelines/components/graph/linked_pipelines_column.vue
View file @
93615feb
...
...
@@ -7,7 +7,7 @@ import {
getQueryHeaders
,
reportToSentry
,
toggleQueryPollingByVisibility
,
unwrapPipelineData
unwrapPipelineData
,
}
from
'
./utils
'
;
export
default
{
...
...
@@ -23,9 +23,9 @@ export default {
configPaths
:
{
type
:
Object
,
required
:
true
,
validator
:
function
(
value
)
{
validator
(
value
)
{
return
Object
.
keys
(
value
).
includes
(
'
graphqlResourceEtag
'
);
}
}
,
},
linkedPipelines
:
{
type
:
Array
,
...
...
app/assets/javascripts/pipelines/components/graph/utils.js
View file @
93615feb
...
...
@@ -10,6 +10,7 @@ const addMulti = (mainPipelineProjectPath, linkedPipeline) => {
};
};
/* eslint-disable @gitlab/require-i18n-strings */
const
getQueryHeaders
=
(
etagResource
)
=>
{
return
{
fetchOptions
:
{
...
...
@@ -22,6 +23,7 @@ const getQueryHeaders = (etagResource) => {
},
};
};
/* eslint-enable @gitlab/require-i18n-strings */
const
reportToSentry
=
(
component
,
failureType
)
=>
{
Sentry
.
withScope
((
scope
)
=>
{
...
...
app/assets/javascripts/pipelines/pipeline_details_graph.js
View file @
93615feb
...
...
@@ -16,7 +16,10 @@ const apolloProvider = new VueApollo({
),
});
const
createPipelinesDetailApp
=
(
selector
,
{
pipelineProjectPath
,
pipelineIid
,
metricsPath
,
graphqlResourceEtag
}
=
{})
=>
{
const
createPipelinesDetailApp
=
(
selector
,
{
pipelineProjectPath
,
pipelineIid
,
metricsPath
,
graphqlResourceEtag
}
=
{},
)
=>
{
// eslint-disable-next-line no-new
new
Vue
({
el
:
selector
,
...
...
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