-
Notifications
You must be signed in to change notification settings - Fork 14.3k
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
chore: consolidate sqllab store into SPA store #25088
Conversation
There was a problem hiding this 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/SqlLab/utils/reduxStateToLocalStorageHelper.js
Outdated
Show resolved
Hide resolved
superset-frontend/src/SqlLab/utils/reduxStateToLocalStorageHelper.js
Outdated
Show resolved
Hide resolved
superset-frontend/src/SqlLab/utils/reduxStateToLocalStorageHelper.js
Outdated
Show resolved
Hide resolved
superset-frontend/src/SqlLab/utils/reduxStateToLocalStorageHelper.js
Outdated
Show resolved
Hide resolved
588c944
to
f425af8
Compare
Hey @michael-s-molina! Can you review it again? |
There was a problem hiding this 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!
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)
TESTING INSTRUCTIONS
Test SQL lab and SPA pages without errors
ADDITIONAL INFORMATION