diegomedina248 opened a new pull request, #20706:
URL: https://github.com/apache/superset/pull/20706

   ### SUMMARY
   
   As explained in #20702, when you select more than one table in SQL Lab and 
try to clear them all, then the component appears to be rerendering twice (or 
more).
   
   The issue is that the tables are being removed one by one and, specially if 
the backend persistence is enabled, then, as the backend responds, the value of 
the select is updated only by that single table.
   
   This PR ensures all tables are deleted at once, preventing the issue.
   
   ### BEFORE/AFTER SCREENSHOTS OR ANIMATED GIF
   
   Before:
   
   
https://user-images.githubusercontent.com/17252075/178904735-972fa6f7-2ab9-4981-a5e1-51f898f695d7.mov
   
   After:
   
   
https://user-images.githubusercontent.com/17252075/178904685-8f927c05-150e-4c1d-8801-6dc35d5bcf67.mov
   
   ### TESTING INSTRUCTIONS
   <!--- Required! What steps can be taken to manually verify the changes? -->
   
   ### ADDITIONAL INFORMATION
   Fixes #20702
   - [ ] 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]

Reply via email to