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
df2c2834
Commit
df2c2834
authored
Apr 30, 2021
by
Jonathan Schafer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add periods for dynamic descriptions
parent
f6c1e63e
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
3 deletions
+3
-3
app/graphql/types/alert_management/status_enum.rb
app/graphql/types/alert_management/status_enum.rb
+1
-1
app/graphql/types/ci/pipeline_status_enum.rb
app/graphql/types/ci/pipeline_status_enum.rb
+1
-1
app/graphql/types/group_member_relation_enum.rb
app/graphql/types/group_member_relation_enum.rb
+1
-1
No files found.
app/graphql/types/alert_management/status_enum.rb
View file @
df2c2834
...
...
@@ -7,7 +7,7 @@ module Types
description
'Alert status values'
::
AlertManagement
::
Alert
.
status_names
.
each
do
|
status
|
value
status
.
to_s
.
upcase
,
value:
status
,
description:
::
AlertManagement
::
Alert
::
STATUS_DESCRIPTIONS
[
status
]
value
status
.
to_s
.
upcase
,
value:
status
,
description:
"
#{
::
AlertManagement
::
Alert
::
STATUS_DESCRIPTIONS
[
status
]
}
."
end
end
end
...
...
app/graphql/types/ci/pipeline_status_enum.rb
View file @
df2c2834
...
...
@@ -5,7 +5,7 @@ module Types
class
PipelineStatusEnum
<
BaseEnum
::
Ci
::
Pipeline
.
all_state_names
.
each
do
|
state_symbol
|
value
state_symbol
.
to_s
.
upcase
,
description:
::
Ci
::
Pipeline
::
STATUSES_DESCRIPTION
[
state_symbol
]
,
description:
"
#{
::
Ci
::
Pipeline
::
STATUSES_DESCRIPTION
[
state_symbol
]
}
."
,
value:
state_symbol
.
to_s
end
end
...
...
app/graphql/types/group_member_relation_enum.rb
View file @
df2c2834
...
...
@@ -6,7 +6,7 @@ module Types
description
'Group member relation'
::
GroupMembersFinder
::
RELATIONS
.
each
do
|
member_relation
|
value
member_relation
.
to_s
.
upcase
,
value:
member_relation
,
description:
::
GroupMembersFinder
::
RELATIONS_DESCRIPTIONS
[
member_relation
]
value
member_relation
.
to_s
.
upcase
,
value:
member_relation
,
description:
"
#{
::
GroupMembersFinder
::
RELATIONS_DESCRIPTIONS
[
member_relation
]
}
."
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