Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: consolidate sqllab store into SPA store #25088

Merged
merged 6 commits into from
Aug 30, 2023

Conversation

justinpark
Copy link
Member

SUMMARY

Part 3 of SQLLab SPA migration: detail link

This commit consolidates the SqlLab store into SPA store. In order to support the legacy SqlLab page, this commit organizes the existing SqlLab enhancers (for persistence mode) into the shared module and uses in both SqlLab and SPA store. This commit also fixes RESET_STATE action which will be used in the SqlLab entry page with the useSqlLabInitialState in the next PR.

BEFORE/AFTER SCREENSHOTS OR ANIMATED GIF

After: (queryApi and sqlLab has been added on all SPA views)
Screenshot_2023-08-25_at_11_16_05_AM

TESTING INSTRUCTIONS

Test SQL lab and SPA pages without errors

ADDITIONAL INFORMATION

  • Has associated issue:
  • Required feature flags:
  • Changes UI
  • Includes DB Migration (follow approval process in SIP-59)
    • 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

Copy link
Member

@michael-s-molina michael-s-molina left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for the PR @justinpark! I left some first-pass comments.

superset-frontend/src/views/store.ts Outdated Show resolved Hide resolved
superset-frontend/src/views/store.ts Outdated Show resolved Hide resolved
superset-frontend/src/SqlLab/App.jsx Outdated Show resolved Hide resolved
superset-frontend/src/views/store.ts Outdated Show resolved Hide resolved
@justinpark justinpark force-pushed the chore--consolidate-sqllab-store branch from 588c944 to f425af8 Compare August 29, 2023 18:32
@EugeneTorap
Copy link
Contributor

Hey @michael-s-molina! Can you review it again?

Copy link
Member

@michael-s-molina michael-s-molina left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. Thank you for the PR @justinpark!

@justinpark justinpark merged commit 846c79e into apache:master Aug 30, 2023
26 checks passed
darwinsubramaniam pushed a commit to darwinsubramaniam/superset that referenced this pull request Sep 7, 2023
cccs-rc pushed a commit to CybercentreCanada/superset that referenced this pull request Mar 6, 2024
@mistercrunch mistercrunch added 🏷️ bot A label used by `supersetbot` to keep track of which PR where auto-tagged with release labels 🚢 3.1.0 labels Mar 8, 2024
This pull request was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🏷️ bot A label used by `supersetbot` to keep track of which PR where auto-tagged with release labels size/L 🚢 3.1.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants