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
dd50ad5b
Commit
dd50ad5b
authored
Sep 16, 2020
by
Tristan Read
Committed by
Natalia Tepluhina
Sep 16, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[RUN AS-IF-FOSS] Restrict incident list query to available fields
parent
0e9ed172
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
15 additions
and
2 deletions
+15
-2
app/assets/javascripts/incidents/graphql/fragments/incident_fields.fragment.graphql
...idents/graphql/fragments/incident_fields.fragment.graphql
+3
-0
app/assets/javascripts/incidents/graphql/queries/get_incidents.query.graphql
...pts/incidents/graphql/queries/get_incidents.query.graphql
+3
-2
changelogs/unreleased/tr-fix-incident-list-ce.yml
changelogs/unreleased/tr-fix-incident-list-ce.yml
+5
-0
ee/app/assets/javascripts/incidents/graphql/fragments/incident_fields.fragment.graphql
...idents/graphql/fragments/incident_fields.fragment.graphql
+4
-0
No files found.
app/assets/javascripts/incidents/graphql/fragments/incident_fields.fragment.graphql
0 → 100644
View file @
dd50ad5b
fragment
IncidentFields
on
Issue
{
severity
}
app/assets/javascripts/incidents/graphql/queries/get_incidents.query.graphql
View file @
dd50ad5b
#import "ee_else_ce/incidents/graphql/fragments/incident_fields.fragment.graphql"
query
getIncidents
(
query
getIncidents
(
$projectPath
:
ID
!
$projectPath
:
ID
!
$issueTypes
:
[
IssueType
!]
$issueTypes
:
[
IssueType
!]
...
@@ -39,8 +41,7 @@ query getIncidents(
...
@@ -39,8 +41,7 @@ query getIncidents(
webUrl
webUrl
}
}
}
}
statusPagePublishedIncident
...
IncidentFields
severity
}
}
pageInfo
{
pageInfo
{
hasNextPage
hasNextPage
...
...
changelogs/unreleased/tr-fix-incident-list-ce.yml
0 → 100644
View file @
dd50ad5b
---
title
:
Fix incident list by restricting query on FOSS
merge_request
:
42301
author
:
type
:
fixed
ee/app/assets/javascripts/incidents/graphql/fragments/incident_fields.fragment.graphql
0 → 100644
View file @
dd50ad5b
fragment
IncidentFields
on
Issue
{
severity
statusPagePublishedIncident
}
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