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
ea009fc4
Commit
ea009fc4
authored
Aug 13, 2020
by
lauraMon
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Adds emoji and message field to UserStatusType
parent
158a8c80
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
0 deletions
+6
-0
app/graphql/types/user_status_type.rb
app/graphql/types/user_status_type.rb
+4
-0
spec/graphql/types/user_status_type_spec.rb
spec/graphql/types/user_status_type_spec.rb
+2
-0
No files found.
app/graphql/types/user_status_type.rb
View file @
ea009fc4
...
...
@@ -7,5 +7,9 @@ module Types
field
:message_html
,
GraphQL
::
STRING_TYPE
,
null:
true
,
description:
'HTML of the user status message'
field
:message
,
GraphQL
::
STRING_TYPE
,
null:
true
,
description:
'User status message'
field
:emoji
,
GraphQL
::
STRING_TYPE
,
null:
true
,
description:
'String representation of emoji'
end
end
spec/graphql/types/user_status_type_spec.rb
View file @
ea009fc4
...
...
@@ -7,6 +7,8 @@ RSpec.describe Types::UserStatusType do
it
'exposes the expected fields'
do
expected_fields
=
%i[
emoji
message
message_html
]
...
...
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