Skip to content

Make Bedevere showing label names like GitHub does - #361

Merged
zware merged 3 commits into
python:mainfrom
arhadthedev:tags-with-github-emoticons
Feb 16, 2023
Merged

zware merged 3 commits into
python:mainfrom
arhadthedev:tags-with-github-emoticons

Conversation

@arhadthedev

Copy link
Copy Markdown
Member

Currently Bedevere prints raw label names:

Note that a label is spelled as raw :hammer: test-with-refleak-buildbots. However, the label selector shows it differently:

This PR fixed the raw output of code blocks with a manual rendering of this exact emoticon. Thanks to it the message will look like this (simulated with Chrome Developer Tools):

@arhadthedev

Copy link
Copy Markdown
Member Author
@hugovk

hugovk commented Feb 16, 2023

Copy link
Copy Markdown
Member

Thanks for this, it was bugging me recently too :)

Rather than using code formatting, does it look better with the <kbd> tag?

So instead of:

If you want to schedule another build, you need to add the 🔨 test-with-refleak-buildbots label again.

Like this:

If you want to schedule another build, you need to add the 🔨 test-with-refleak-buildbots label again.

It works with either of these:

<kbd>:hammer: test-with-refleak-buildbots</kbd>

<kbd>🔨 test-with-refleak-buildbots</kbd>
@arhadthedev

Copy link
Copy Markdown
Member Author

@hugovk Thank you, it made the patch extremely compact.

@zware
zware merged commit 5283711 into python:main Feb 16, 2023
@arhadthedev
arhadthedev deleted the tags-with-github-emoticons branch February 16, 2023 16:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

3 participants