Skip to content

Commit

Permalink
[BACKPORT] Backport/backport 220 to 2.x (opensearch-project#260)
Browse files Browse the repository at this point in the history
* Cypress test update and related linting fixes (opensearch-project#220)

* resolve one failing test and remove tests of unreleased visualizations

Signed-off-by: Eric Wei <[email protected]>

* fix failing table view tests and remove/modify metric switcher

Signed-off-by: Eric Wei <[email protected]>

* update events tests and added vis tests

Signed-off-by: Eric Wei <[email protected]>

* added fixes for linting

Signed-off-by: Eric Wei <[email protected]>

* update one snapshot

Signed-off-by: Eric Wei <[email protected]>

Signed-off-by: Eric Wei <[email protected]>
(cherry picked from commit 1fd72fc)

* missed snapshots

Signed-off-by: Eric Wei <[email protected]>

* add one snapshot missing from worktree backport

Signed-off-by: Eric Wei <[email protected]>

---------

Signed-off-by: Eric Wei <[email protected]>
(cherry picked from commit 1dd19b5)
  • Loading branch information
mengweieric authored and vmmusings committed Mar 17, 2023
1 parent 88a9c83 commit b5b8079
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ export const SavePanel = ({

useEffect(() => {
getCustomPabnelList(savedObjects);
}, []);
});

const onToggleChange = (e: { target: { checked: React.SetStateAction<boolean> } }) => {
setChecked(e.target.checked);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -285,7 +285,7 @@ export const DataConfigPanelItem = ({
console.log('newQueryString: ', newQueryString);
handleQueryChange(newQueryString);
getVisualizations({
query: nextQueryState[FINAL_QUERY],
queryState: nextQueryState[FINAL_QUERY],
callback: (res) => {
updateVisUIState({
visData: res,
Expand Down

0 comments on commit b5b8079

Please sign in to comment.