alex241728 opened a new pull request, #35777: URL: https://github.com/apache/superset/pull/35777
### SUMMARY When there are changes in selection of categories or change of legend page, it will be stored locally with `localStorageHelpers`. When the charts are rendered again, it should first check if these states of the legend are already in local storage, otherwise it would initialize them as it was before. ### BEFORE/AFTER SCREENSHOTS OR ANIMATED GIF  ### TESTING INSTRUCTIONS 1. Create a dashboard long enough that you have to scroll down about three or more viewport heights away 2. Create a line chart with legends on 3. Select any category, using inv or all or only one 4. Scroll down until you can't see the chart anymore 5. Go back to it, the state of the legend will remain the same ### ADDITIONAL INFORMATION - [ x] Has associated issue: Fixes #31741 - [ ] Required feature flags: - [ ] 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]
