From d49e7177ed96f8cfc31305830a5c515343bd482b Mon Sep 17 00:00:00 2001 From: Ian Yenien Serrano Date: Thu, 18 Jan 2024 10:26:51 +0100 Subject: [PATCH 1/3] Hide discover deprecation notice --- plugins/main/public/plugin.ts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/plugins/main/public/plugin.ts b/plugins/main/public/plugin.ts index ab5ea70129..a86adb9989 100644 --- a/plugins/main/public/plugin.ts +++ b/plugins/main/public/plugin.ts @@ -57,6 +57,10 @@ export class WazuhPlugin private innerAngularInitialized: boolean = false; private hideTelemetryBanner?: () => void; public async setup(core: CoreSetup, plugins: WazuhSetupPlugins): WazuhSetup { + // Hide the discover deprecation notice + // After opensearch version 2.11.0 this line may be deleted + localStorage.setItem('discover:deprecation-notice:show', 'false'); + // Get custom logos configuration to start up the app with the correct logos let logosInitialState = {}; try { From f1c8d1909bf9cd905de007f5b15bf856790a61d3 Mon Sep 17 00:00:00 2001 From: Ian Yenien Serrano Date: Thu, 18 Jan 2024 10:49:17 +0100 Subject: [PATCH 2/3] Update changelog --- CHANGELOG.md | 1 + 1 file changed, 1 insertion(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index bb4b0670eb..7ce0b7fbd2 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -40,6 +40,7 @@ All notable changes to the Wazuh app project will be documented in this file. - Removed the ability to configure the visibility of modules and removed `extensions.*` settings [#5840](https://github.com/wazuh/wazuh-dashboard-plugins/pull/5840) - Removed the application menu in the IT Hygiene application [#6176](https://github.com/wazuh/wazuh-dashboard-plugins/pull/6176) - Removed the implicit filter of WQL language of the search bar UI [#6174](https://github.com/wazuh/wazuh-dashboard-plugins/pull/6174) +- Removed notice of Discover deprecation [#6341](https://github.com/wazuh/wazuh-dashboard-plugins/pull/6341) ## Wazuh v4.7.2 - OpenSearch Dashboards 2.8.0 - Revision 02 From 79bda32c43ac953f0dee8ba863d7b170c395ed70 Mon Sep 17 00:00:00 2001 From: Ian Yenien Serrano Date: Thu, 18 Jan 2024 10:50:06 +0100 Subject: [PATCH 3/3] Update changelog --- CHANGELOG.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 7ce0b7fbd2..b1efccf7ca 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -40,7 +40,7 @@ All notable changes to the Wazuh app project will be documented in this file. - Removed the ability to configure the visibility of modules and removed `extensions.*` settings [#5840](https://github.com/wazuh/wazuh-dashboard-plugins/pull/5840) - Removed the application menu in the IT Hygiene application [#6176](https://github.com/wazuh/wazuh-dashboard-plugins/pull/6176) - Removed the implicit filter of WQL language of the search bar UI [#6174](https://github.com/wazuh/wazuh-dashboard-plugins/pull/6174) -- Removed notice of Discover deprecation [#6341](https://github.com/wazuh/wazuh-dashboard-plugins/pull/6341) +- Removed notice of old Discover deprecation [#6341](https://github.com/wazuh/wazuh-dashboard-plugins/pull/6341) ## Wazuh v4.7.2 - OpenSearch Dashboards 2.8.0 - Revision 02