ERGO1995 opened a new pull request, #32346: URL: https://github.com/apache/superset/pull/32346
### SUMMARY This PR introduces a new feature that allows users to toggle the visibility of the **All/Invert** buttons in the legend for ECharts-based visualizations. Previously, these buttons were always displayed, but now users can enable or disable them through a new checkbox in the **Chart Options** panel. ### BEFORE/AFTER SCREENSHOTS OR ANIMATED GIF   ### TESTING INSTRUCTIONS 1. Open Superset and create or edit a chart that uses ECharts. 2. Navigate to the **Chart Options** panel. 3. Locate the new **Show All/Invert buttons in legend** checkbox. 4. Toggle the checkbox and observe whether the **All/Invert** buttons appear or disappear in the legend. 5. Ensure that the feature works consistently across different charts that use ECharts. 6. Check the browser console (`F12 > Console`) for any unexpected errors related to legend rendering. ✅ **Expected Outcome:** - When the checkbox is **enabled**, the **All/Invert** buttons should be visible in the legend. - When the checkbox is **disabled**, the buttons should disappear while keeping the rest of the legend intact. ### ADDITIONAL INFORMATION <!--- Check any relevant boxes with "x" --> <!--- HINT: Include "Fixes #nnn" if you are fixing an existing issue --> - [ ] Has associated issue: - [ ] Required feature flags: - [x] Changes UI - [ ] Includes DB Migration (follow approval process in [SIP-59](https://github.com/apache/superset/issues/13351)) - [ ] 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 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
