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

[YUNIKORN-2047] Remove duplicate colour in app state donut #141

Closed
wants to merge 3 commits into from

Conversation

targetoee
Copy link
Contributor

What is this PR for?

Currently, there are 11 states, but there are only 4 color codes in the donut graph. As a result, some states have the same color, which can be confusing at times. This PR adds more color codes to make it easier to distinguish between different states in the donut graph. The updated appearance is displayed below.

What type of PR is it?

  • - Bug Fix
  • - Improvement
  • - Feature
  • - Documentation
  • - Hot Fix
  • - Refactoring

Todos

What is the Jira issue?

YUNIKORN-2047

How should this be tested?

Screenshots (if appropriate)

Questions:

@codecov-commenter
Copy link

codecov-commenter commented Oct 26, 2023

Codecov Report

Merging #141 (59ec7be) into master (d4e85f3) will not change coverage.
Report is 1 commits behind head on master.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master     #141   +/-   ##
=======================================
  Coverage   66.66%   66.66%           
=======================================
  Files           1        1           
  Lines          30       30           
=======================================
  Hits           20       20           
  Misses          7        7           
  Partials        3        3           

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

Copy link
Contributor

@wilfred-s wilfred-s left a comment

Choose a reason for hiding this comment

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

Only one comment: we should re-use the same colours as we use in #136 for some unity in the UI. The colours used in that PR are slightly different, choices can be made but I think limiting the colours is a good idea
List of colours used in the chart:

  • '#4285f4'
  • '#db4437'
  • '#f4b400'
  • '#0f9d58'
  • '#ff6d00'
  • '#3949ab'
  • '#facc54'
  • '#26bbf0'
  • '#cc6164'
  • '#60cea5'

@wilfred-s
Copy link
Contributor

With the addition of the bar chart for the node utilisation this PR will also need a rebase to resolve the conflicts

@targetoee
Copy link
Contributor Author

Hi @wilfred-s thanks for your advice. I've updated the color code. Please take a look.

@wilfred-s wilfred-s self-requested a review October 30, 2023 00:58
Copy link
Contributor

@wilfred-s wilfred-s left a comment

Choose a reason for hiding this comment

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

LGTM

@wilfred-s wilfred-s closed this in e4e44c3 Oct 30, 2023
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