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

Show pod metrics donut to right of sparkline #983

Merged
merged 1 commit into from
Dec 5, 2016

Conversation

spadgett
Copy link
Member

@spadgett spadgett commented Dec 5, 2016

Place the pod metrics donut to the right of the sparkline at wider screen widths to make better use of the screen space. At mobile, still place the donut above the sparkline.

Fixes https://bugzilla.redhat.com/show_bug.cgi?id=1387286
Fixes #912

screen shot 2016-12-05 at 8 29 49 am

@jwforres PTAL
@smarterclayton @stevekuznetsov @jupierce CC

@jwforres
Copy link
Member

jwforres commented Dec 5, 2016

what does it look like with the network metrics that don't have a donut, i assume the sparklines are all the same width?

@spadgett
Copy link
Member Author

spadgett commented Dec 5, 2016

@jwforres

screen shot 2016-12-05 at 12 23 30 pm

@jwforres
Copy link
Member

jwforres commented Dec 5, 2016

hmm the horizontal line makes network look like a part of the same section as cpu

@spadgett
Copy link
Member Author

spadgett commented Dec 5, 2016

the horizontal line makes network look like a part of the same section as cpu

Let me see what I can do.

@spadgett
Copy link
Member Author

spadgett commented Dec 5, 2016

@jwforres How about this?

screen shot 2016-12-05 at 12 47 08 pm

@spadgett
Copy link
Member Author

spadgett commented Dec 5, 2016

Hold, need to make some updates for the monitoring page, which has the sidebar

@spadgett
Copy link
Member Author

spadgett commented Dec 5, 2016

Updated for the monitoring page

@jwforres
Copy link
Member

jwforres commented Dec 5, 2016

Thats definitely better although i think i would reduce the spacing between Network and the bar, probably half as much. Its definitely larger than the space between the numbers and the bars on the other two.

@jwforres
Copy link
Member

jwforres commented Dec 5, 2016

I can't decide but I wonder if it would look better to move the number information directly to the right of the header, like CPU - 500[etc]

and then match the header font size and number font size

@spadgett
Copy link
Member Author

spadgett commented Dec 5, 2016

We do show small "Container Metrics" or "Pod Metrics" text by the header if there is more than one container, although we could move that.

@spadgett
Copy link
Member Author

spadgett commented Dec 5, 2016

I can't decide but I wonder if it would look better to move the number information directly to the right of the header, like CPU - 500[etc]

openshift_web_console

@spadgett
Copy link
Member Author

spadgett commented Dec 5, 2016

Or if we just bump the font size for the metric label

openshift_web_console

@jwforres
Copy link
Member

jwforres commented Dec 5, 2016

yeah inline at the same font size it looks weirdly likes its part of the header, dont like it :-\

I can't decide on the larger header size, feels a little overwhelming, @ajacobs21e opinion?

@stevekuznetsov
Copy link
Contributor

Maybe the "X available" could be on top of the doughnut and "in use" could come after the "x millicores" inside of the doughnut?

@stevekuznetsov
Copy link
Contributor

As both are only set up if quota is on, right?

@spadgett
Copy link
Member Author

spadgett commented Dec 5, 2016

Here is the Patternfly style for reference:

http://www.patternfly.org/pattern-library/cards/utilization-trend-card/#/api

@jwforres
Copy link
Member

jwforres commented Dec 5, 2016 via email

@spadgett
Copy link
Member Author

spadgett commented Dec 5, 2016

Tightened the spacing under the Network header

screen shot 2016-12-05 at 2 34 08 pm

@jwforres
Copy link
Member

jwforres commented Dec 5, 2016

Do the horizontal lines going all the way across look strange when none of the donuts are there?

@spadgett
Copy link
Member Author

spadgett commented Dec 5, 2016

Do the horizontal lines going all the way across look strange when none of the donuts are there?

I only include them when there's at least one donut. And the sparklines are 100% width when there are no donuts.

screen shot 2016-12-05 at 2 43 10 pm

@spadgett
Copy link
Member Author

spadgett commented Dec 5, 2016

If we always want the lines, this is how it looks:

screen shot 2016-12-05 at 2 45 47 pm

@jwforres
Copy link
Member

jwforres commented Dec 5, 2016

im ok with either of those, though i think i prefer with the lines

@spadgett
Copy link
Member Author

spadgett commented Dec 5, 2016

i think i prefer with the lines

Let me add them to deployment metrics in that case to be consistent

@spadgett
Copy link
Member Author

spadgett commented Dec 5, 2016

Added "Used" inside the donut.

screen shot 2016-12-05 at 3 04 32 pm

Place the pod metrics donut to the right of the sparkline at wider
screen widths to make better use of the screen space. At mobile, still
place the donut above the sparkline.
@spadgett
Copy link
Member Author

spadgett commented Dec 5, 2016

Updated, @jwforres PTAL

@jwforres
Copy link
Member

jwforres commented Dec 5, 2016

[merge]

@openshift-bot
Copy link

Evaluated for origin web console merge up to a6e9dcb

@openshift-bot
Copy link

openshift-bot commented Dec 5, 2016

Origin Web Console Merge Results: SUCCESS (https://ci.openshift.redhat.com/jenkins/job/test_pull_requests_origin_web_console/806/) (Base Commit: eb259ce)

@openshift-bot openshift-bot merged commit 2117097 into openshift:master Dec 5, 2016
@spadgett spadgett deleted the metrics-donut branch December 5, 2016 21:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants