Skip to content

feat(widget-builder): Cache builder state between dataset changes #92122

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

Merged
merged 4 commits into from
May 23, 2025

Conversation

narsaynorath
Copy link
Member

@narsaynorath narsaynorath commented May 22, 2025

Either restore the old state if it exists, or push the dataset change through the original way the widget builder hook works.

Note: We have to purposely ignore the title and description fields because a user should not have those values change if they return to a cached state with a different title/description.

Either restore the old state if it exists, or push the dataset change
through the original way the widget builder hook works.
@narsaynorath narsaynorath requested a review from a team as a code owner May 22, 2025 15:05
@github-actions github-actions bot added the Scope: Frontend Automatically applied to PRs that change frontend components label May 22, 2025
Copy link
Member

@nikkikapadia nikkikapadia left a comment

Choose a reason for hiding this comment

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

it works well but I noticed something odd with localstorage that hopefully can be fixed before merging

@narsaynorath narsaynorath enabled auto-merge (squash) May 23, 2025 19:39
@narsaynorath narsaynorath merged commit 7e79d07 into master May 23, 2025
42 checks passed
@narsaynorath narsaynorath deleted the narsaynorath/dain-427-changing-datasets-workflow branch May 23, 2025 19:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Scope: Frontend Automatically applied to PRs that change frontend components
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants