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

[Backport 2.x] [Viz Builder] State validation before dispatching and loading #2449

Merged
merged 1 commit into from
Sep 29, 2022

Conversation

opensearch-trigger-bot[bot]
Copy link
Contributor

Backport 0279588 from #2351

@opensearch-trigger-bot opensearch-trigger-bot bot requested a review from a team as a code owner September 29, 2022 00:41
@codecov-commenter
Copy link

Codecov Report

❗ No coverage uploaded for pull request base (2.x@dd3ade1). Click here to learn what that means.
The diff coverage is n/a.

❗ Current head 0279588 differs from pull request most recent head c2e420d. Consider uploading reports for the commit c2e420d to get more accurate results

@@          Coverage Diff           @@
##             2.x    #2449   +/-   ##
======================================
  Coverage       ?   66.74%           
======================================
  Files          ?     3197           
  Lines          ?    60828           
  Branches       ?     9243           
======================================
  Hits           ?    40601           
  Misses         ?    18019           
  Partials       ?     2208           

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

* State validation before dispatching

Validate style and visualization state schema before dispatching state updates
when loading wizard. Show error via toast.

Signed-off-by: abbyhu2000 <abigailhu2000@gmail.com>

* Fixes and add unit tests

Signed-off-by: abbyhu2000 <abigailhu2000@gmail.com>

* Add PR to changelog.md

Signed-off-by: abbyhu2000 <abigailhu2000@gmail.com>

Signed-off-by: abbyhu2000 <abigailhu2000@gmail.com>
(cherry picked from commit 0279588)
@kavilla kavilla merged commit a68302b into 2.x Sep 29, 2022
@github-actions github-actions bot deleted the backport/backport-2351-to-2.x branch September 29, 2022 20:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants