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

Fix chart legend font color issue after theme change #593

Merged
merged 1 commit into from
Jan 27, 2025

Conversation

prakhar10
Copy link
Member

Description

Fix chart legend font color issue after changing the UI theme. Fixes #585

Additional context and related issues

Release notes

( ) This is not user-visible or is docs only, and no release notes are required.
(X) Release notes are required. Please propose a release note for me.
( ) Release notes are required, with the following suggested text:

@cla-bot cla-bot bot added the cla-signed label Jan 18, 2025
@ebyhr ebyhr requested a review from ytwp January 19, 2025 22:57
Copy link
Member

@mosabua mosabua left a comment

Choose a reason for hiding this comment

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

This looks good although I really dislike the fact that this is even necessary. It feels brittle for any further changes or wider need to change color on chart. However .. I think we probably still want to merge this.

@prakhar10
Copy link
Member Author

This looks good although I really dislike the fact that this is even necessary. It feels brittle for any further changes or wider need to change color on chart. However .. I think we probably still want to merge this.

I agree. This seemed a bit weird, for some reason its not triggering a refresh to the legend color when the theme is updated, that's why I had to it this way.

@prakhar10 prakhar10 requested a review from ebyhr January 27, 2025 18:59
@ebyhr ebyhr merged commit 379ca35 into trinodb:main Jan 27, 2025
2 checks passed
@github-actions github-actions bot added this to the 14 milestone Jan 27, 2025
@mosabua
Copy link
Member

mosabua commented Jan 27, 2025

Haha .. you beat me to it @ebyhr .. i was just about to switch gears from the Trino release notes..

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

Successfully merging this pull request may close these issues.

UI theme change looses label texts in charts
3 participants