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

   ### SUMMARY
   Part 1-b of SQLLab SPA migration: [detail 
link](https://docs.google.com/document/d/1opyNuaw-CEAD9tG6fx_zqNcZwe3_soQgsnSJTP4mQkk/edit?usp=sharing)
   
   This commit introduces new api endpoint (`/api/v1/sqllab/`) and re-use the 
sqllab_bootstrap_data util to share the bootstrap data with the legacy landing 
page.
   
   We will migrate the legacy bootstrap util by a command class after the SPA 
initiative is completed.
   
   ```
   GET /v1/sqllab/
   
   RESPONSE
   {
     active_tab: <object>
     databases: <array of database object>
     queries: <hashmap of query object>
     tab_state_ids: <object>
   }
   ```
   ![Screenshot 2023-08-14 at 2 08 25 
PM](https://github.com/apache/superset/assets/1392866/92f455ef-695e-4d51-a9dd-8fec1a07415a)
   
   ### TESTING INSTRUCTIONS
   1 - Execute the API tests
   2 - All tests should pass
   
   ### 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: [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