From 2de1e1f10a91734ae67701585875ec9c91cf3ef7 Mon Sep 17 00:00:00 2001 From: abbyhu2000 Date: Fri, 30 Sep 2022 21:35:19 +0000 Subject: [PATCH] Add changelog Signed-off-by: abbyhu2000 --- CHANGELOG.md | 1 + config/opensearch_dashboards.yml | 2 +- .../wizard/public/application/components/top_nav.tsx | 10 +++++++++- 3 files changed, 11 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index e939c228279d..e0c8ba9b7893 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -46,6 +46,7 @@ Inspired from [Keep a Changelog](https://keepachangelog.com/en/1.0.0/) * Add updated_at column to objects' tables ([#1218](https://github.com/opensearch-project/OpenSearch-Dashboards/pull/1218)) * [Viz Builder] State validation before dispatching and loading ([#2351](https://github.com/opensearch-project/OpenSearch-Dashboards/pull/2351)) +* [Viz Builder] Create a new wizard directly on a dashboard ([#2384](https://github.com/opensearch-project/OpenSearch-Dashboards/pull/2384)) ### 🐛 Bug Fixes diff --git a/config/opensearch_dashboards.yml b/config/opensearch_dashboards.yml index 7c3c8332fc06..69bd26c18d20 100644 --- a/config/opensearch_dashboards.yml +++ b/config/opensearch_dashboards.yml @@ -222,4 +222,4 @@ # Set the value of this setting to true to start exploring wizard # functionality in Visualization. - wizard.enabled: true +# wizard.enabled: false diff --git a/src/plugins/wizard/public/application/components/top_nav.tsx b/src/plugins/wizard/public/application/components/top_nav.tsx index 173709264f5c..470babdf782f 100644 --- a/src/plugins/wizard/public/application/components/top_nav.tsx +++ b/src/plugins/wizard/public/application/components/top_nav.tsx @@ -53,7 +53,15 @@ export const TopNav = () => { }; setConfig(getConfig()); - }, [rootState, savedWizardVis, services, visualizationIdFromUrl, saveDisabledReason, dispatch, indexPattern]); + }, [ + rootState, + savedWizardVis, + services, + visualizationIdFromUrl, + saveDisabledReason, + dispatch, + indexPattern, + ]); // reset validity before component destroyed useUnmount(() => {