Repository navigation
Draw /dev/null as the wordmark in Remotes and guild descriptions - #229
Open
shanesmithdev wants to merge 1 commit into
Open
shanesmithdev wants to merge 1 commit into
shanesmithdev wants to merge 1 commit into
Conversation
Remote messages, previews and guild descriptions drew /dev/null as plain text, but the web uses the wordmark in these scenarios. The wordmark moves out of body-run into partials/wordmark, so commits and messages share it. Text without /dev/null draws as it did before.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Status: Ready for review.
Typing /dev/null in a Remote messages showed plain text, though commits draw it as the wordmark. Remote previews and guild descriptions (guild page and Guilds list) also drew /dev/null as plain text, even though the web uses WordmarkText in these situations.
Changes in this PR:
body-runintopartials/wordmark, so commits and Remote messages share it.partials/wordmark-textdraws plain text withCommitBody::wordmarkRuns(), which leaves/dev/nullinside code as written, as the web'ssplitCodedoes. Text without /dev/null draws exactly as it did before.Known issue: your own bubble is filled with your lane colour, so on lane 0 the wordmark's orange
middle slash disappears into it. I have some ideas to improve this, but I'll put those into a separate PR.
Screenshots
All shots are Android, dark mode.