-
Notifications
You must be signed in to change notification settings - Fork 15
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
NETOBSERV-634 UI Consistency: Side panel styling #214
Conversation
One interesting thing would be to add long descriptions on each field like: However there is no value if we don't add particular details. I guess we could start from https://www.iana.org/assignments/ipfix/ipfix.xhtml and update according to our usage. Can someone help me to write these ? Then I would be happy to implement ! |
This looks good! The only thing I would change if it's possible is the Side panel Title. Can it be the resource name (P) dns-pod-blah-blah-blah-24 instead of "Pod"? |
Yes I can do that when you click on a single item @andrew-ronaldson but what about edges (source + destination) ? |
It could be nice. Some fields are pretty obvious (pod, kind, namespace...) other are less (direction, collection latency..) , we just set a description on those who aren't obvious? (or an info icon + tooltip?) It's also to avoid making the user having to scroll to much. |
Also, I wonder if we need to keep the "kind / owner kind" fields as they are already displayed as icons |
/lgtm |
+1 with Andrew's suggestion. |
I have created a followup so we can really focus on the content |
/ok-to-test |
New image: ["quay.io/netobserv/network-observability-console-plugin:3e97976"]. It will expire after two weeks. |
/qe-approved |
I want to throw this out there to see what others think. The Details section is very long. What if the field name and value were combined on one row and only wraps if it doesn't fit. Would that make it easier to read? IMO, the use case for this section is to view fields that are not in the table or to copy the data (e.g. to report an issue). This would be different than how the Pod section shows it, which is on separate rows. |
I agree. The ones that I don't think are obvious are: Start Time, End Time, Owner, Owner Kind, Direction, Duration, Collection Time, and Collection Latency. |
I like the idea and that would work fine with large panels like this: However, as soon as the panel is normal / small I would move back all values under their titles for consistency. I can create a followup for this about "responsive UI" with similar behaviors in other views |
Also took the opportunity to add a message on External / Unknown nodes: Check commit 41e1f95 |
@stleerh I fully agree, if we can avoid too much scrolling and having more info in one sight, I like it :) |
It would be good to have a PF empty state for those unknown nodes. The title font-weight on the linked version is smaller than the non-linked ones. Sizing looks good though. Based on the details side panel of the dev console it looks like we can reduce the spacing between field labels and info. I see 14px font-size and 1.66em line-height. Also they have some side-by-side content for shorter fields. |
Rebased branch, no changes on my side |
/ok-to-test |
New image: ["quay.io/netobserv/network-observability-console-plugin:855d539"]. It will expire after two weeks. |
/qe-approved |
/lgtm |
/approve |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: jpinsonneau The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
Side panel updates:
Namespace
&Node
infos when available on topology