FIX: Show auto-group flair according to user preferences (#21221)

This commit is contained in:
Jan Cernik
2023-04-24 16:04:26 -03:00
committed by GitHub
parent 6890beb95a
commit c03f83bbea
16 changed files with 87 additions and 13 deletions

View File

@ -116,6 +116,9 @@ RSpec.describe "posts" do
flair_color: {
type: %i[string null],
},
flair_group_id: {
type: %i[string null],
},
version: {
type: :integer,
},

View File

@ -413,6 +413,9 @@
"flair_color": {
"type": ["string", "null"]
},
"flair_group_id": {
"type": ["string", "null"]
},
"bio_raw": {
"type": ["string", "null"]
},

View File

@ -101,6 +101,12 @@
"null"
]
},
"flair_group_id": {
"type": [
"string",
"null"
]
},
"version": {
"type": "integer"
},

View File

@ -88,6 +88,12 @@
"null"
]
},
"flair_group_id": {
"type": [
"string",
"null"
]
},
"version": {
"type": "integer"
},

View File

@ -92,6 +92,12 @@
"null"
]
},
"flair_group_id": {
"type": [
"string",
"null"
]
},
"version": {
"type": "integer"
},

View File

@ -103,6 +103,12 @@
"null"
]
},
"flair_group_id": {
"type": [
"string",
"null"
]
},
"version": {
"type": "integer"
},

View File

@ -828,6 +828,12 @@
"null"
]
},
"flair_group_id": {
"type": [
"string",
"null"
]
},
"admin": {
"type": "boolean"
},

View File

@ -32,6 +32,7 @@ RSpec.describe WebHookPostSerializer do
:display_username,
:primary_group_name,
:flair_name,
:flair_group_id,
:version,
:user_title,
:bookmarked,