Skip to content
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

[Metrics UI] inventory view cleanup #78781

Closed
katrin-freihofner opened this issue Sep 29, 2020 · 13 comments · Fixed by #79881
Closed

[Metrics UI] inventory view cleanup #78781

katrin-freihofner opened this issue Sep 29, 2020 · 13 comments · Fixed by #79881
Assignees
Labels
Feature:Metrics UI Metrics UI feature polish Team:Infra Monitoring UI - DEPRECATED DEPRECATED - Label for the Infra Monitoring UI team. Use Team:obs-ux-infra_services v7.10.0

Comments

@katrin-freihofner
Copy link
Contributor

During a review I found a couple of things we should improve to polish our UI.

1. Responsive behavior

The actions in the header area could fit into a single line.
Screenshot 2020-09-29 at 15 17 15

On smaller screens, the filter elements are getting bigger and are not aligned nicely. I think we should try to keep them in 1-2 rows.
Screenshot 2020-09-29 at 15 16 55

The loading indicator is wrapped to a new line. I suggest to have it in a single line.
Screenshot 2020-09-29 at 15 15 30

On smaller screens, elements overlap and are not readable.
Screenshot 2020-09-29 at 15 17 50

Screenshot 2020-09-29 at 15 18 52

2. Timeline

The "show/hide timeline" button does not have a background and can therefore be hard to read (especially in the table view).
Screenshot 2020-09-29 at 15 14 03

3. CPU usage > 2000 %

Are we sure that there can be a CPU usage > 2000 %?
Screenshot 2020-09-29 at 13 47 34

5. Waffle map legend

The waffle map legend is not aligned properly.
Screenshot 2020-09-29 at 13 46 07
Screenshot 2020-09-29 at 13 43 06

6. Wording

Should this maybe say "Unable to show historical data"?
Screenshot 2020-09-29 at 13 45 32

Please use sentence case and units in all popovers.

Label: Log rate
Unit: Logs/s???
Screenshot 2020-09-29 at 13 44 22

Label: Load
Unit: ???
Screenshot 2020-09-29 at 13 43 25

I also suggest removing the milliseconds as they seem to be 0 anyhow.
Screenshot 2020-09-29 at 13 41 49

7. Saved views

If a user has no saved views, I suggest changing Current view - No view selected to Save this view
Screenshot 2020-09-29 at 13 42 47

Screenshots from the current Master branch.

@katrin-freihofner katrin-freihofner added Feature:Metrics UI Metrics UI feature Team:Infra Monitoring UI - DEPRECATED DEPRECATED - Label for the Infra Monitoring UI team. Use Team:obs-ux-infra_services polish labels Sep 29, 2020
@elasticmachine
Copy link
Contributor

Pinging @elastic/logs-metrics-ui (Team:logs-metrics-ui)

@katrin-freihofner katrin-freihofner changed the title [Metrics UI] cleanup [Metrics UI] inventory view cleanup Sep 29, 2020
@sgrodzicki sgrodzicki added this to the Logs UI 7.10 milestone Sep 29, 2020
@formgeist
Copy link
Contributor

Can I add another to this issue? I found the legend for the average metric doesn't match the visualization. I reckon this should use the full visualization color, used for the line in the area. Is that a Elastic Charts legend config?

Screenshot 2020-10-02 at 10 55 01

@Zacqary Zacqary self-assigned this Oct 6, 2020
@Zacqary
Copy link
Contributor

Zacqary commented Oct 6, 2020

If a user has no saved views, I suggest changing Current view - No view selected to Save this view

Not sure that works with the default interaction:

Screen Shot 2020-10-06 at 12 38 53 PM

That said, when I'm getting into the No view selected state and I open Manage Views, it shows me:

Screen Shot 2020-10-06 at 12 39 10 PM

@phillipb Is there a reason why it should be showing No view selected instead of Default view?

@Zacqary
Copy link
Contributor

Zacqary commented Oct 6, 2020

  1. CPU usage > 2000 %
    Are we sure that there can be a CPU usage > 2000 %?

Is this on our shared cluster? The inventory view should only be displaying whatever data it gets from Elasticsearch, so I'd imagine the issue is somewhere in the data being reported. I'd want to check, though.

@katrin-freihofner
Copy link
Contributor Author

cc @hbharding

@jasonrhodes
Copy link
Member

@Zacqary in the interest of our release schedule, please feel free to separate out the simple, low-risk quick wins here that count as visual bugs so we can get them in for 7.10 -- we can move anything else that needs more investigation, or is higher risk, to a separate ticket and do it for 7.11.

@Zacqary
Copy link
Contributor

Zacqary commented Oct 7, 2020

On smaller screens, the filter elements are getting bigger and are not aligned nicely. I think we should try to keep them in 1-2 rows.

I'm able to get them to line up in 1 row, but getting them to wrap to 2 is proving elusive. And the 1 row layout isn't good enough:

Screen Shot 2020-10-07 at 11 14 05 AM

I feel like getting this to work is going to require a more fundamental refactor of how we're composing this element with EUI. There's a lot of interacting EuiFlexGroups here.

@Zacqary
Copy link
Contributor

Zacqary commented Oct 7, 2020

With @hbharding's help, managed to get the filter wrapping to work
Screen Shot 2020-10-07 at 1 38 07 PM

@hbharding
Copy link
Contributor

Thanks @Zacqary - I'm checking out your PRs and will leave any additional comments I have there.

@hbharding
Copy link
Contributor

Re: Saved Views saying "No view selected" - I wasn't aware this was possible / didn't account for it my designs. When I last worked on this, It was my understanding that, by default, the "Default" view would be used when users access the page. Users can change the default view by creating a new view, and setting that as the default. Is it possible to change this behavior? How does one get into a "no view selected" state?

@hbharding
Copy link
Contributor

Not sure if you caught this one... The view toggle button looks like it has a z-index issue. It appears on top of the "saved view" flyout

image

@Zacqary
Copy link
Contributor

Zacqary commented Oct 7, 2020

@hbharding Looks like an issue with EuiButtonGroup interacting with EuiFlyout. I'll open an issue and see if I can add a workaround to our app

@Zacqary
Copy link
Contributor

Zacqary commented Oct 7, 2020

How does one get into a "no view selected" state?

It happens on page load, and you have to click it and select Default view to get out of it. Refreshing the page doesn't preserve the selection.

Maybe we should consider this a bug. I'll open an issue.

EDIT: Tracking in #79902

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feature:Metrics UI Metrics UI feature polish Team:Infra Monitoring UI - DEPRECATED DEPRECATED - Label for the Infra Monitoring UI team. Use Team:obs-ux-infra_services v7.10.0
Projects
None yet
Development

Successfully merging a pull request may close this issue.

7 participants