Skip to content

[Dashboard] update total for dark mode color#60106

Merged
dayshah merged 1 commit into
masterfrom
cristian/dark-mode-total
Jan 14, 2026
Merged

[Dashboard] update total for dark mode color#60106
dayshah merged 1 commit into
masterfrom
cristian/dark-mode-total

Conversation

@cristianjd

@cristianjd cristianjd commented Jan 13, 2026

Copy link
Copy Markdown
Collaborator

Description

This updates the "total" color in the legend so it is visible in dark mode by using text.primary which will correctly apply the dark or light text color

Related issues

Follow up to dark mode PR: #58768

Additional information

Before:
Screenshot 2026-01-13 at 10 05 17 AM
Screenshot 2026-01-13 at 6 11 50 PM

After:
Screenshot 2026-01-13 at 6 14 46 PM
Screenshot 2026-01-13 at 6 15 01 PM

@cristianjd cristianjd requested a review from a team as a code owner January 13, 2026 18:08

@gemini-code-assist gemini-code-assist Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Code Review

This pull request fixes an issue where the 'total' legend color was not visible in dark mode. The change correctly uses a different color for dark mode. My review includes a suggestion to use a theme token (theme.palette.text.primary) instead of hardcoded colors, which is more idiomatic with Material-UI and improves maintainability. I also pointed out that the same fix is needed in the LegendTooltip component within the same file to ensure consistency.

Comment thread python/ray/dashboard/client/src/components/ProgressBar/ProgressBar.tsx Outdated
@alanwguo alanwguo added the go add ONLY when ready to merge, run all tests label Jan 13, 2026
@ray-gardener ray-gardener Bot added core Issues that should be addressed in Ray Core observability Issues related to the Ray Dashboard, Logging, Metrics, Tracing, and/or Profiling labels Jan 13, 2026
@cristianjd cristianjd force-pushed the cristian/dark-mode-total branch from 26f6ee6 to f64bad7 Compare January 13, 2026 22:02
Signed-off-by: cristianjd <cristian.j.derr@gmail.com>
@cristianjd cristianjd force-pushed the cristian/dark-mode-total branch from f64bad7 to 09eb033 Compare January 13, 2026 22:03
@dayshah dayshah merged commit 524d02c into master Jan 14, 2026
6 checks passed
@dayshah dayshah deleted the cristian/dark-mode-total branch January 14, 2026 04:03
rushikeshadhav pushed a commit to rushikeshadhav/ray that referenced this pull request Jan 14, 2026
Signed-off-by: cristianjd <cristian.j.derr@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

core Issues that should be addressed in Ray Core go add ONLY when ready to merge, run all tests observability Issues related to the Ray Dashboard, Logging, Metrics, Tracing, and/or Profiling

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants