New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
add fancier success icons #50744
add fancier success icons #50744
Conversation
Signed-off-by: Ian Rudie <[email protected]>
Signed-off-by: Ian Rudie <[email protected]>
2c17356
to
a3b88d5
Compare
Signed-off-by: Ian Rudie <[email protected]>
operator/pkg/name/name.go
Outdated
IngressComponentName: "🚪", | ||
EgressComponentName: "✋", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe use similar or same icons for ingress and egress?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I thought about 🛫 (plane takeoff/leave) for egress and 🛬 (plane land/arrive) for ingress.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@linsun, how do you feel about using the planes?
operator/pkg/name/name.go
Outdated
var IstioComponentSuccessIcons = map[ComponentName]string{ | ||
IstioBaseComponentName: "⛵️", | ||
PilotComponentName: "🧠", | ||
CNIComponentName: "🚦", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do you think it makes sense to use the CNI icon?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ideally that'd be great but I don't think there is a unicode character for it. I'll take another look though.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I tried 🪢 which sort of looks like ethernet cables being woven
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I like the istio base, pilot and ztunnel ones, nice!!!
Signed-off-by: Ian Rudie <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Sending to ambient-dev to see if others have comments.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This lgtm, thanks Ian!
/test release-notes |
Most of these characters don't render for me. I think seeing squares wouldn't be the best look. Not everyones terminal/font will have full unicode/emoji support. ⛵️🧠🪢🔒🛬🛫✅❌✅❌ Only 3 of these (the sailboat, the knot and the lock) render for me. |
Good it is in master :) thanks @stevenctl and @hanxiaop for reporting it. cc @ilrudie |
We can revert it if folks want and I can look at some detection methods so we can have like a fancy set and a safe set to choose from based on detecting what is/isn't supported |
An alternative might be to use a simple up/down to indicate success as we were previously but decorate the end of the line with fancy characters. this way if we do get the mystery char box at least what occurred is clear and still readable. when supported:
or when not supported:
|
Please provide a description of this PR:
added fancier icons for success statuses in istioctl