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
dfec1e2d
Commit
dfec1e2d
authored
Jul 09, 2021
by
Jonathan Schafer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add descriptions to GraphQL documentation
parent
8ea9b0e2
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
7 deletions
+6
-7
.rubocop_manual_todo.yml
.rubocop_manual_todo.yml
+0
-1
doc/api/graphql/reference/index.md
doc/api/graphql/reference/index.md
+3
-3
ee/app/graphql/types/health_status_enum.rb
ee/app/graphql/types/health_status_enum.rb
+3
-3
No files found.
.rubocop_manual_todo.yml
View file @
dfec1e2d
...
...
@@ -13,7 +13,6 @@
# WIP See https://gitlab.com/gitlab-org/gitlab/-/issues/322903
Graphql/Descriptions
:
Exclude
:
-
'
ee/app/graphql/types/health_status_enum.rb'
-
'
ee/app/graphql/types/iteration_state_enum.rb'
-
'
ee/app/graphql/types/requirements_management/requirement_state_enum.rb'
-
'
ee/app/graphql/types/requirements_management/test_report_state_enum.rb'
...
...
doc/api/graphql/reference/index.md
View file @
dfec1e2d
...
...
@@ -14571,9 +14571,9 @@ Health status of an issue or epic.
| Value | Description |
| ----- | ----------- |
|
<a
id=
"healthstatusatrisk"
></a>
`atRisk`
| |
|
<a
id=
"healthstatusneedsattention"
></a>
`needsAttention`
| |
|
<a
id=
"healthstatusontrack"
></a>
`onTrack`
| |
|
<a
id=
"healthstatusatrisk"
></a>
`atRisk`
|
At risk.
|
|
<a
id=
"healthstatusneedsattention"
></a>
`needsAttention`
|
Needs attention.
|
|
<a
id=
"healthstatusontrack"
></a>
`onTrack`
|
On track.
|
### `IssuableSearchableField`
...
...
ee/app/graphql/types/health_status_enum.rb
View file @
dfec1e2d
...
...
@@ -5,8 +5,8 @@ module Types
graphql_name
'HealthStatus'
description
'Health status of an issue or epic'
value
'onTrack'
,
value:
Issue
.
health_statuses
.
key
(
1
)
value
'needsAttention'
,
value:
Issue
.
health_statuses
.
key
(
2
)
value
'atRisk'
,
value:
Issue
.
health_statuses
.
key
(
3
)
Issue
.
health_statuses
.
each
do
|
status
,
val
|
value
status
.
camelize
(
:lower
),
description:
status
.
humanize
,
value:
status
end
end
end
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