kgabryje opened a new pull request #11999:
URL: https://github.com/apache/incubator-superset/pull/11999


   ### SUMMARY
   This PR optimizes fetching samples. The goal is not to refetch on every 
change in controls panel, but only when filters change, because only filters 
affect the response of samples endpoint.
   
   ### BEFORE/AFTER SCREENSHOTS OR ANIMATED GIF
   <!--- Skip this if not applicable -->
   
   ### TEST PLAN
   Verify that we refetch samples only when filters change either in Networking 
tab of browser console or visually, by seeing that there's no spinner that 
indicates fetching data.
   
   ### ADDITIONAL INFORMATION
   <!--- Check any relevant boxes with "x" -->
   <!--- HINT: Include "Fixes #nnn" if you are fixing an existing issue -->
   - [x] Has associated issue: 
https://github.com/apache/incubator-superset/issues/11968
   - [ ] Changes UI
   - [ ] Requires DB Migration.
   - [ ] Confirm DB Migration upgrade and downgrade tested.
   - [ ] Introduces new feature or API
   - [ ] Removes existing feature or API
   
   CC: @mistercrunch @rusackas @junlincc @adam-stasiak 


----------------------------------------------------------------
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.

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