Skip to content

Better Key Metrics Display #1096

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

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from
Draft

Better Key Metrics Display #1096

wants to merge 1 commit into from

Conversation

ArneTR
Copy link
Member

@ArneTR ArneTR commented Mar 15, 2025

We want to add more key metrics directly in the quick view of the Dashboard.

Currently the values provide limited value for new users, as they lack some expected components (CPU, DRAM etc) and show however some harder to understand values (Embodied Carbon Machine, Operational carbon machine).

In this idea we want to list power values for CPU, DRAM, GPU, SDD/HDD and Network directly in the quick view.
Furthmore for each value the carbon should also be directly highlighted.

Adding just more values looks gruesome.

here is a design idea to make it more columnar. The idea is to show power and carbon directly.

Hiding detailes like the split of embodied and operational in the detailed metrics.
What somehow needs to be put somewhere is the phase runtime stil ...

@ribalba what do you think?

Screenshot 2025-03-15 at 7 38 53 PM (2)

@ribalba
Copy link
Member

ribalba commented Mar 17, 2025

Screenshot 2025-03-17 at 20 34 28

I like the idea of cleaning it up a little. I couldn't get the code to work so please find attached my take. I would make the title grey as you did.

I don't like the orange for all the numbers as the eye can't settle. Also I don't like that the CO2eq is the same size as the values. The values will be very small in most cases and people will not really know what 0.4 gCO2eq really means.

I like the icons and the title.

@ArneTR
Copy link
Member Author

ArneTR commented Mar 18, 2025

OMG this looks so much better. Thank you! Will do a new design concept and post.

@ArneTR
Copy link
Member Author

ArneTR commented Aug 1, 2025

Two new design ideas. One generated with ChatGPT and some iteration.

The other with https://lovable.dev/

Looking forward to your feedback @ribalba @davidkopp

I also incorporated the idea from David to keep network in a separate box, as it is more an impact, not a direct emission

Screenshot 2025-08-01 at 1 58 01 PM Screenshot 2025-08-01 at 2 00 21 PM

@davidkopp
Copy link
Collaborator

In general:

  • the second design looks much prettier
  • order of the "Energy/Power/CO2" tabs / buttons: Semantically it would make more sense to have the order Power, Energy, CO2

Specific to the second design:

  • I only dislike the individual buttons for Energy/Power/CO2 for each component. I would prefer to have these buttons at one place (e.g. under the title "Hardware Components") and if changed all components are changed.
  • at the displayed +- changes values, it would be helpful to also be able to see it as percentages (like it is already currently the case in the comparison view).

Regarding the network values:

  • Separating the network from the hardware components is good!
  • displaying the SCI score next to the network impact and embodied carbon impact could be confusing, because the SCI score will include the embodied carbon impact, but we may remove the network impact from it
  • I would even prefer, if the network related values would be displayed in a completely separate row.

Proposal with 3 rows:

  1. Hardware Components (like displayed in the second design)
  2. Network
    • Data Transferred (MB)
    • Network Energy
    • Network CO2
  3. Impacts
    • Phase Duration
    • Embodied Carbon
    • Operational Carbon (= machine co2 value)
    • SCI Score

Regarding the data transferred (not specific to the redesign, but another idea for improvement):
It would be great to have two different values, one for the inter-service communication and one for the client-server communication. At least in some usage scenarios it could be differentiated by the communication that happens between the container that is used in the flows with other containers and the communication that happens between containers that are not part of the flows. If that would be possible, the calculation of the networks energy consumption could be also improved.

@ribalba
Copy link
Member

ribalba commented Aug 4, 2025

@ArneTR can you share the code?

@ribalba
Copy link
Member

ribalba commented Aug 5, 2025

I now have two designs:

one with the menu at the top which I prefer as it looks cleaner and we also have that for the flows. I have also cleaned up the cards and added a ? field so we can show detailed information.

Feedback welcome.

Screenshot 2025-08-05 at 13 20 23 Screenshot 2025-08-05 at 13 17 32

@ArneTR
Copy link
Member Author

ArneTR commented Aug 5, 2025

Two is more clear I feel, although it introduces also an "unexpected " UI element.

I also see this failing harder on mobile ... how does that even look? Can you add a mobile screenshot?

Idea: What works great is uploading a screenshot to lovable and ask for "more nice UI/UX variations". Althogh the HTML is unusable it generates good ideas ... and is free

@ribalba
Copy link
Member

ribalba commented Aug 5, 2025

Mobile: I still need to add a little space but you get the idea. You can make the menu stackable

https://fomantic-ui.com/collections/grid.html#stackable

Screenshot 2025-08-05 at 14 53 02

@ArneTR
Copy link
Member Author

ArneTR commented Aug 5, 2025

looks digestable to me. The goal for mobile is anyway only to be usable and not fully polished I would argue. GMT displays far to much data to be fully usable on mobile only.

I think this can move forward now.

@ribalba
Copy link
Member

ribalba commented Aug 5, 2025

After implementing this I felt really weird and not the feel of the page. Here is an updated version. This now uses the same menu as the main page. Except it points which makes it a little clearer. IMHO. What do you think? Colours are not final just to guide the eye a little.

Also I decided to include network energy/ power and carbon into the hardware section.

Screenshot 2025-08-05 at 20 08 35

@davidkopp
Copy link
Collaborator

Looks good :) But I still don't like that the network component is part of the hardware row. Placing network next to the hardware components implies wrong conclusions on the end user side. In contrast to the hardware values, the network value is only estimated, depends on many parameters and assumes a global operation.
Therefore I would still vote for having an own row only for network related metrics.

@ribalba
Copy link
Member

ribalba commented Aug 5, 2025

I agree. With the new design quite easy to change. Here is the new design. Icons still need updating.

Screenshot 2025-08-05 at 20 29 02

@ArneTR
Copy link
Member Author

ArneTR commented Aug 6, 2025

I t looks neat, but can we get to less rows? 2 rows should be the cap IMHO. Does that fit?

@ribalba
Copy link
Member

ribalba commented Aug 6, 2025

Screenshot 2025-08-06 at 09 18 32

@ArneTR
Copy link
Member Author

ArneTR commented Aug 6, 2025

Looks good!

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.

3 participants