Skip to content
This repository has been archived by the owner on Apr 11, 2023. It is now read-only.

KIALI-1000 Use blue border for selected nodes despite health #465

Merged
merged 1 commit into from
Jun 28, 2018

Conversation

jotak
Copy link
Contributor

@jotak jotak commented Jun 25, 2018

No description provided.

@abonas
Copy link
Contributor

abonas commented Jun 25, 2018

@jotak a screenshot would be very beneficial here for "before/after" the change.
As well as @serenamarie125 input ;)

@jotak
Copy link
Contributor Author

jotak commented Jun 25, 2018

@abonas I didn't put a screenshot because it's really as it was before the health addition: when selected, the node appears with the same blue border as before. (but i'll add a screenshot asap)

@serenamarie125
Copy link

@jotak having a description and associated screenshots will help. I think that you are saying that this PR just backs out reflecting health via node color. If that's the case 👍

@jotak
Copy link
Contributor Author

jotak commented Jun 25, 2018

Hmm not sure we're on the same page. The purpose of this PR is actually to NOT show the health color when a node is selected (of course, unselected nodes are still colored). See the JIRA ticket & discussions about it (since there were already some discussions there, if we want to revise the purpose of this PR then I'd suggest to do it on JIRA: https://issues.jboss.org/browse/KIALI-1000

Screenshots:
details v1 node selected (healthy)
details v1 node selected (healthy)

productpage v1 node selected (degraded)
productpage v1 node selected (degraded)
As you can see, the selection color prevails over the health color. Health is still displayed on summary panel

Edge in error selected
Edge in error selected
As you can see, the same happens when we select an edge in error. This is an existing behaviour, not something impacted by this PR

@jmazzitelli
Copy link
Contributor

I'm +1 with this. However, I'm not convinced this is how it should ultimately be. I just don't know a good way to show health but still show what is selected. To me, it should be obvious what is selected (that's why I created the JIRA - it wasn't obvious what is selected) - I just don't know how to do that effectively :)

@jotak
Copy link
Contributor Author

jotak commented Jun 25, 2018

@jmazzitelli yes I agree, too. This would not be the perfect solution, but perhaps a temporary step to align behaviour with how it works with edges, so we have some consistency. But either health or selection should have another distinctive way to be displayed that doesn't overlap with the other (could be line style (dotted/dashed/...)

Copy link
Contributor

@mtho11 mtho11 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM as an intermediary solution. We might want to open up an issue for UXD on https://github.com/kiali/kiali-design for long-term.
CC: @serenamarie125

Copy link

@serenamarie125 serenamarie125 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 👍
@mtho11 please create an Issue with a description of what's needed from UX :)

@jotak jotak merged commit c1436a8 into kiali:master Jun 28, 2018
@jotak jotak deleted the kiali-1000 branch November 21, 2018 13:31
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
5 participants