[VisBuilder] Adds UIState to vis, adds index patterns to embeddable, bug fixes#3751
Conversation
Signed-off-by: Ashwin P Chandran <ashwinpc@amazon.com>
Signed-off-by: Ashwin P Chandran <ashwinpc@amazon.com>
Signed-off-by: Ashwin P Chandran <ashwinpc@amazon.com>
Signed-off-by: Ashwin P Chandran <ashwinpc@amazon.com>
Signed-off-by: Ashwin P Chandran <ashwinpc@amazon.com>
Signed-off-by: Ashwin P Chandran <ashwinpc@amazon.com>
Signed-off-by: Ashwin P Chandran <ashwinpc@amazon.com>
Codecov Report
📣 This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more @@ Coverage Diff @@
## main #3751 +/- ##
==========================================
+ Coverage 66.38% 66.42% +0.03%
==========================================
Files 3208 3209 +1
Lines 61750 61783 +33
Branches 9538 9542 +4
==========================================
+ Hits 40993 41037 +44
+ Misses 18461 18456 -5
+ Partials 2296 2290 -6
Flags with carried forward coverage won't be shown. Click here to find out more.
... and 12 files with indirect coverage changes Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. |
| state: EditorState; | ||
| }; | ||
| originatingApp?: string; | ||
| uiState: any; |
There was a problem hiding this comment.
Why do we decide to put uiState in the metadata slice? Isn't it better to put uiState in the style slice?
There was a problem hiding this comment.
Does uiState have to be any type?
|
@ashwin-pc When you rebase this, can you take a look at the remaining nits here? #3732 (review) |
|
@ashwin-pc CHANGELOG is missing. |
Signed-off-by: Ashwin P Chandran <ashwinpc@amazon.com>
joshuarrrr
left a comment
There was a problem hiding this comment.
@ashwin-pc no particular concerns. But it needs a CHANGELOG entry (or skip label), and the snapshots need updating.
| uiState: '{}', | ||
| version: 3, |
There was a problem hiding this comment.
Does this need a migration? To initially set the uiState for any previous VisBuilder objects?
| "visualizationState" | ||
| ], | ||
| "additionalProperties": false | ||
| } No newline at end of file |
There was a problem hiding this comment.
how did I type mission instead of missing 🤣
Signed-off-by: Ashwin P Chandran <ashwinpc@amazon.com>
Signed-off-by: Ashwin P Chandran <ashwinpc@amazon.com>
|
I'm waiting for automation co complete before resolving the CHANGELOG conflict. |
|
All tests pass. I'll resolve the changelog conflict, and then merge without awaiting another test run. |
…bug fixes (#3751) * adds uiActions to visBuilder * prevents multiple errors on load * fixes visbuilder type errors * fixes save * adds ui state to vis builder * fixes tests * Adds support in embeddables for multiple indices * Moves ui state to separate slice * Adds changelog Signed-off-by: Ashwin P Chandran <ashwinpc@amazon.com> --------- Signed-off-by: Ashwin P Chandran <ashwinpc@amazon.com> Co-authored-by: Josh Romero <rmerqg@amazon.com> (cherry picked from commit ee32d20) Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> # Conflicts: # CHANGELOG.md
…to embeddable, bug fixes (#3874) * [VisBuilder] Adds UIState to vis, adds index patterns to embeddable, bug fixes (#3751) * adds uiActions to visBuilder * prevents multiple errors on load * fixes visbuilder type errors * fixes save * adds ui state to vis builder * fixes tests * Adds support in embeddables for multiple indices * Moves ui state to separate slice * Adds changelog Signed-off-by: Ashwin P Chandran <ashwinpc@amazon.com> --------- Signed-off-by: Ashwin P Chandran <ashwinpc@amazon.com> Co-authored-by: Josh Romero <rmerqg@amazon.com> (cherry picked from commit ee32d20) Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> # Conflicts: # CHANGELOG.md * add changelog Signed-off-by: Josh Romero <rmerqg@amazon.com> --------- Signed-off-by: Josh Romero <rmerqg@amazon.com> Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> Co-authored-by: Josh Romero <rmerqg@amazon.com>
Description
This PR has a combination of changes and fixes as listed below:
Demo:
Screen.Recording.2023-03-30.at.7.04.55.PM.mov
Issues Resolved
Check List
yarn test:jestyarn test:jest_integrationyarn test:ftr