From 398b2386602e2352a369ffa81e91c1ea16814053 Mon Sep 17 00:00:00 2001 From: "chantal.kelm" Date: Fri, 4 Oct 2024 16:48:36 -0300 Subject: [PATCH 1/5] change density styles --- .../public/components/common/wazuh-discover/wz-discover.tsx | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/plugins/main/public/components/common/wazuh-discover/wz-discover.tsx b/plugins/main/public/components/common/wazuh-discover/wz-discover.tsx index f679f0a142..09aca84d0e 100644 --- a/plugins/main/public/components/common/wazuh-discover/wz-discover.tsx +++ b/plugins/main/public/components/common/wazuh-discover/wz-discover.tsx @@ -87,6 +87,8 @@ const WazuhDiscoverComponent = (props: WazuhDiscoverProps) => { DataSource, }); + console.log('datasource ++++', dataSource); + const onClickInspectDoc = useMemo( () => (index: number) => { const rowClicked = results.hits.hits[index]; @@ -250,6 +252,10 @@ const WazuhDiscoverComponent = (props: WazuhDiscoverProps) => { From a8fa5cd1622a5c606cc5e491e8d70ed666ce4812 Mon Sep 17 00:00:00 2001 From: "chantal.kelm" Date: Fri, 4 Oct 2024 17:04:28 -0300 Subject: [PATCH 2/5] clean code --- .../public/components/common/wazuh-discover/wz-discover.tsx | 2 -- 1 file changed, 2 deletions(-) diff --git a/plugins/main/public/components/common/wazuh-discover/wz-discover.tsx b/plugins/main/public/components/common/wazuh-discover/wz-discover.tsx index 09aca84d0e..1762b89e67 100644 --- a/plugins/main/public/components/common/wazuh-discover/wz-discover.tsx +++ b/plugins/main/public/components/common/wazuh-discover/wz-discover.tsx @@ -87,8 +87,6 @@ const WazuhDiscoverComponent = (props: WazuhDiscoverProps) => { DataSource, }); - console.log('datasource ++++', dataSource); - const onClickInspectDoc = useMemo( () => (index: number) => { const rowClicked = results.hits.hits[index]; From b0c92c615cd4861413858aca1c95f5e8bed738f9 Mon Sep 17 00:00:00 2001 From: "chantal.kelm" Date: Tue, 15 Oct 2024 10:26:57 -0300 Subject: [PATCH 3/5] Removing density selector in wz discover --- .../main/public/components/common/wazuh-discover/wz-discover.tsx | 1 + 1 file changed, 1 insertion(+) diff --git a/plugins/main/public/components/common/wazuh-discover/wz-discover.tsx b/plugins/main/public/components/common/wazuh-discover/wz-discover.tsx index 1762b89e67..8e2e6995e1 100644 --- a/plugins/main/public/components/common/wazuh-discover/wz-discover.tsx +++ b/plugins/main/public/components/common/wazuh-discover/wz-discover.tsx @@ -255,6 +255,7 @@ const WazuhDiscoverComponent = (props: WazuhDiscoverProps) => { cellPadding: 's', }} toolbarVisibility={{ + showStyleSelector: false, additionalControls: ( <> Date: Tue, 15 Oct 2024 10:31:22 -0300 Subject: [PATCH 4/5] update changelog --- CHANGELOG.md | 1 + 1 file changed, 1 insertion(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index c8f3be31da..2314cbd3b6 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -35,6 +35,7 @@ All notable changes to the Wazuh app project will be documented in this file. - Removed agent RBAC filters from dashboard queries [#6945](https://github.com/wazuh/wazuh-dashboard-plugins/pull/6945) - Removed GET /elastic/statistics API endpoint [#7001](https://github.com/wazuh/wazuh-dashboard-plugins/pull/7001) +- Removed density selector in wz discover and applying compact density styles to the table [#7074](https://github.com/wazuh/wazuh-dashboard-plugins/pull/7074) ## Wazuh v4.9.1 - OpenSearch Dashboards 2.13.0 - Revision 01 From 5fcc0d6f88463366fa29669f10e393913b279241 Mon Sep 17 00:00:00 2001 From: "chantal.kelm" Date: Tue, 15 Oct 2024 10:33:22 -0300 Subject: [PATCH 5/5] fix changelog --- CHANGELOG.md | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 2314cbd3b6..1d1ecb69eb 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,10 +4,6 @@ All notable changes to the Wazuh app project will be documented in this file. ## Wazuh v4.10.0 - OpenSearch Dashboards 2.16.0 - Revision 01 -## Fixed - -- Fixed the filter are displayed cropped on screens of 575px to 767px in vulnerability detection module [#7047](https://github.com/wazuh/wazuh-dashboard-plugins/pull/7047) - ### Added - Support for Wazuh 4.10.0 @@ -26,6 +22,7 @@ All notable changes to the Wazuh app project will be documented in this file. ### Fixed +- Fixed the filter are displayed cropped on screens of 575px to 767px in vulnerability detection module [#7047](https://github.com/wazuh/wazuh-dashboard-plugins/pull/7047) - Fixed read-only users could not access to Statistics application [#7001](https://github.com/wazuh/wazuh-dashboard-plugins/pull/7001) - Fixed no-agent-alert spawn with selected agent in agent-welcome view [#7029](https://github.com/wazuh/wazuh-dashboard-plugins/pull/7029) - Fixed security policy exception when it contained deprecated actions [#7042](https://github.com/wazuh/wazuh-dashboard-plugins/pull/7042)