PipelineSummaryItem should have a logo/symbol/emoji property
- Dominant language
- C#
- Stars
- 6.3k
- Forks
- 991
- Avg merge
- 2d 15h
- Merged PRs (30d)
- 196
Description
Items are added to pipeline summary with the name and symbol in the key. This is a problem because rendering emojis with a consistent width requires additional processing to look good.
For example, the AKS emoji below is missing a space between the emoji and text because the terminal thinks it is displayed with 1 character:
I think the best fix is to add a new property to PipelineSummaryItem which contains the emoji or emojiName. Then we can calculate correct spacing when displaying it and ensure content is consistently aligned.
Another thing to consider is what happens if the terminal doesn't support emoji. They'll fallback to monochrome chars. We should at least have a list of emoji we know our integrations adds, and support fallback colors to give monochrome chars some color. Example: https://github.com/microsoft/aspire/pull/16089
Contributor guide
Assessment
This issue has not been assessed yet.