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

   ### SUMMARY
   Similar to #23257, this commit migrates the tableOptions state from redux to 
react-query to reduce the complexity of the queryEditor state.
   (The tableOptions state only used in the editor for autocomplete so useQuery 
is a lighter way to share the state)
   
   ### BEFORE/AFTER SCREENSHOTS OR ANIMATED GIF
   After:
   
   <img width="523" alt="Screenshot 2023-03-25 at 4 47 31 PM" 
src="https://user-images.githubusercontent.com/1392866/227747790-7c3d0f0c-398a-4099-bf00-eac2bee90d85.png";>
   <img width="364" alt="Screenshot 2023-03-25 at 4 47 57 PM" 
src="https://user-images.githubusercontent.com/1392866/227747801-98d35f79-ba58-4c51-8d6d-888545b2057d.png";>
   
   Before:
   <img width="362" alt="Screenshot_2023-03-25_at_4_48_50_PM" 
src="https://user-images.githubusercontent.com/1392866/227747806-cd1d3436-3111-4a25-a31b-c749e3f08358.png";>
   <img width="489" alt="Screenshot_2023-03-25_at_4_50_35_PM" 
src="https://user-images.githubusercontent.com/1392866/227747811-516cd6f3-48d7-453c-9e13-ebfd5e30502e.png";>
   
   ### TESTING INSTRUCTIONS
   Go to sqllab and select a database to get the associated schemas
   Type some part of the table name on the editor and check the autocomplete 
including the fetched schemas
   
   ### ADDITIONAL INFORMATION
   - [ ] Has associated issue:
   - [ ] 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: notifications-unsubscr...@superset.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscr...@superset.apache.org
For additional commands, e-mail: notifications-h...@superset.apache.org

Reply via email to