Add support for user/community styles #1201
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Pull Request Description
This PR adds more configuration options for user and community full name styles.
Background
In #973 we introduced the ability to choose the style of user and community full names (either
a@b
ora · b
, and more recently!
and@
were added as prefixes). Then in #944, @ggichure added a cool new style for comment usernames where the username is more weighted than the instance name. However, that new format is only available in comments and is not configurable. Then in #1092, @ggichure added colorized usernames, but the same restrictions applied.This PR aims to make the "style" of the full names configurable universally in the same way that the "format" is currently configurable.
Notes
commentUseColorizedUsername
setting has been eliminated in favor of the new username style settings. However, there is a link from the Appearance > Comments page to the new setting (see demo), and there is a migration.CC: @ggichure
Issue Being Fixed
Issue Number: N/A
Screenshots / Recordings
qemu-system-x86_64_OFhdyh5XLh.mp4
Checklist
semanticLabel
s where applicable for accessibility?