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: set Rich tooltip -> 'Show percentage' to false by default #32212

Merged
merged 1 commit into from
Feb 11, 2025

Conversation

mistercrunch
Copy link
Member

@mistercrunch mistercrunch commented Feb 10, 2025

Many users have reported that they prefer having the show percentage option in timeseries as false by default. While it's generally a good feature and many might want it, default should be lightweight and optimize for less clutter.

Open to input or debatting which default option is best, but given that many users reported it, and that it's a bit of a visual regression / change in some dashboard, I thought we'd switch it off.

after

Screenshot 2025-02-10 at 1 46 42 PM

Many users have reported that they prefer having the show percentage option in timeseries as false by default. While it's generally a good feature and many might want it, default should be lightweight and optimize for less clutter.

From my local tests, the false default should affect charts that haven't been saved since the feature was turned on.

Open to input or debatting which default option is best, but given that many users reported it, and that it's a bit of a visual regression / change in some dashboard, I thought we'd switch it off.
@dosubot dosubot bot added the viz:charts:timeseries Related to Timeseries label Feb 10, 2025
Copy link

@korbit-ai korbit-ai bot left a comment

Choose a reason for hiding this comment

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

I've completed my review and didn't find any issues.

Files scanned
File Path Reviewed
superset-frontend/plugins/plugin-chart-echarts/src/controls.tsx

Explore our documentation to understand the languages and file types we support and the files we ignore.

Need a new review? Comment /korbit-review on this PR and I'll review your latest changes.

Korbit Guide: Usage and Customization

Interacting with Korbit

  • You can manually ask Korbit to review your PR using the /korbit-review command in a comment at the root of your PR.
  • You can ask Korbit to generate a new PR description using the /korbit-generate-pr-description command in any comment on your PR.
  • Too many Korbit comments? I can resolve all my comment threads if you use the /korbit-resolve command in any comment on your PR.
  • Chat with Korbit on issues we post by tagging @korbit-ai in your reply.
  • Help train Korbit to improve your reviews by giving a 👍 or 👎 on the comments Korbit posts.

Customizing Korbit

  • Check out our docs on how you can make Korbit work best for you and your team.
  • Customize Korbit for your organization through the Korbit Console.

Current Korbit Configuration

General Settings
Setting Value
Review Schedule Automatic excluding drafts
Max Issue Count 10
Automatic PR Descriptions
Issue Categories
Category Enabled
Documentation
Logging
Error Handling
Readability
Design
Performance
Security
Functionality

Feedback and Support

Note

Korbit Pro is free for open source projects 🎉

Looking to add Korbit to your team? Get started with a free 2 week trial here

@mistercrunch
Copy link
Member Author

mistercrunch commented Feb 11, 2025

@michael-s-molina checking in to make sure you agree on switching this default since you shipped the feature. I could add in a feature flag TIMESERIES_SHOW_PERCENTAGE_DEFAULT, but feeling like we have enough feature flags without adding this new one.

@michael-s-molina
Copy link
Member

Makes sense @mistercrunch!

@mistercrunch mistercrunch merged commit d3b854a into master Feb 11, 2025
57 of 59 checks passed
@mistercrunch mistercrunch deleted the show_percentage_false branch February 11, 2025 18:58
@michael-s-molina michael-s-molina added the v5.0 Label added by the release manager to track PRs to be included in the 5.0 branch label Feb 11, 2025
michael-s-molina pushed a commit that referenced this pull request Feb 12, 2025
sfirke pushed a commit to sfirke/superset that referenced this pull request Feb 12, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
plugins preset-io size/XS v5.0 Label added by the release manager to track PRs to be included in the 5.0 branch viz:charts:timeseries Related to Timeseries
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants