Skip to content

Conversation

@sadpandajoe
Copy link
Member

@sadpandajoe sadpandajoe commented Jul 1, 2025

SUMMARY

The legend looks a bit more squished on master now than it was before with 4.X and 5.X. This PR will get it back to that size.

BEFORE/AFTER SCREENSHOTS OR ANIMATED GIF

Before:
Screenshot 2025-07-01 at 12 34 44 PM

After:
Screenshot 2025-07-01 at 12 49 04 PM

TESTING INSTRUCTIONS

ADDITIONAL INFORMATION

  • Has associated issue:
  • Required feature flags:
  • Changes UI
  • Includes DB Migration (follow approval process in SIP-59)
    • Migration is atomic, supports rollback & is backwards-compatible
    • Confirm DB migration upgrade and downgrade tested
    • Runtime estimates and downtime expectations provided
  • Introduces new feature or API
  • Removes existing feature or API

@sadpandajoe sadpandajoe marked this pull request as ready for review July 1, 2025 19:25
@sadpandajoe sadpandajoe marked this pull request as draft July 1, 2025 19:25
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/packages/superset-ui-core/src/utils/html.tsx

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

Check out our docs on how you can make Korbit work best for you and your team.

Loving Korbit!? Share us on LinkedIn Reddit and X

@korbit-ai
Copy link

korbit-ai bot commented Jul 1, 2025

Based on your review schedule, I'll hold off on reviewing this PR until it's marked as ready for review. If you'd like me to take a look now, comment /korbit-review.

Your admin can change your review schedule in the Korbit Console

@github-actions
Copy link
Contributor

github-actions bot commented Jul 1, 2025

@sadpandajoe Processing your ephemeral environment request here. Action: up. More information on how to use or configure ephemeral environments

@github-actions
Copy link
Contributor

github-actions bot commented Jul 1, 2025

@sadpandajoe Ephemeral environment spinning up at http://35.161.120.126:8080. Credentials are 'admin'/'admin'. Please allow several minutes for bootstrapping and startup.

@sadpandajoe sadpandajoe marked this pull request as ready for review July 1, 2025 19:49
@dosubot dosubot bot added the viz:charts:echarts Related to Echarts label Jul 1, 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/packages/superset-ui-core/src/utils/html.tsx

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

Check out our docs on how you can make Korbit work best for you and your team.

Loving Korbit!? Share us on LinkedIn Reddit and X

Comment on lines +38 to +44
table: ['width', 'border', 'align', 'valign', 'style'],
tr: ['rowspan', 'align', 'valign', 'style'],
td: ['width', 'rowspan', 'colspan', 'align', 'valign', 'style'],
th: ['width', 'rowspan', 'colspan', 'align', 'valign', 'style'],
tbody: ['align', 'valign', 'style'],
thead: ['align', 'valign', 'style'],
tfoot: ['align', 'valign', 'style'],
Copy link
Member

Choose a reason for hiding this comment

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

Copy link
Member Author

Choose a reason for hiding this comment

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

I think we tried to add the styles here: https://github.com/apache/superset/blob/master/superset-frontend/packages/superset-ui-core/src/utils/tooltip.ts, but when we sanitized it, it then broke the spacing and formatting. If we think what we did with theming could change how we redo tooltips, we should probably implement it the correct way.

Copy link
Member

Choose a reason for hiding this comment

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

Yeah, those styles do nothing. I don't think theming can change how we handle tooltips, maybe setting classname might be the better way to do this?

Copy link
Member

@betodealmeida betodealmeida left a comment

Choose a reason for hiding this comment

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

LGTM

@sadpandajoe sadpandajoe merged commit cb6342f into apache:master Jul 3, 2025
134 of 156 checks passed
@sadpandajoe sadpandajoe deleted the joe/update-legend-spacing branch July 3, 2025 20:33
ianngech pushed a commit to Pesapal-Ltd/superset that referenced this pull request Jul 17, 2025
michael-s-molina pushed a commit that referenced this pull request Jul 24, 2025
@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 Jul 25, 2025
dankor pushed a commit to dankor/superset that referenced this pull request Aug 18, 2025
@anytinz anytinz mentioned this pull request Oct 21, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

packages size/M v5.0 Label added by the release manager to track PRs to be included in the 5.0 branch viz:charts:echarts Related to Echarts

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants