From 48f58d9788aa3ab2c5b7c7b8b81a6b74c348464d Mon Sep 17 00:00:00 2001 From: tygao Date: Thu, 12 Sep 2024 06:58:47 +0800 Subject: [PATCH 1/3] hide workspace detail in new nav Signed-off-by: tygao --- src/plugins/workspace/public/plugin.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/plugins/workspace/public/plugin.ts b/src/plugins/workspace/public/plugin.ts index d4026560aae5..ac2842cc7b47 100644 --- a/src/plugins/workspace/public/plugin.ts +++ b/src/plugins/workspace/public/plugin.ts @@ -370,6 +370,9 @@ export class WorkspacePlugin title: i18n.translate('workspace.settings.workspaceDetail', { defaultMessage: 'Workspace Detail', }), + navLinkStatus: core.chrome.navGroup.getNavGroupEnabled() + ? AppNavLinkStatus.visible + : AppNavLinkStatus.hidden, async mount(params: AppMountParameters) { const { renderDetailApp } = await import('./application'); return mountWorkspaceApp(params, renderDetailApp); From afec893a84c27aa376da77c47d957a908ad5d90d Mon Sep 17 00:00:00 2001 From: "opensearch-changeset-bot[bot]" <154024398+opensearch-changeset-bot[bot]@users.noreply.github.com> Date: Thu, 12 Sep 2024 00:26:22 +0000 Subject: [PATCH 2/3] Changeset file for PR #8151 created/updated --- changelogs/fragments/8151.yml | 2 ++ 1 file changed, 2 insertions(+) create mode 100644 changelogs/fragments/8151.yml diff --git a/changelogs/fragments/8151.yml b/changelogs/fragments/8151.yml new file mode 100644 index 000000000000..ca83e4d830a9 --- /dev/null +++ b/changelogs/fragments/8151.yml @@ -0,0 +1,2 @@ +fix: +- Remove workspace detail in navigation when new nav is disabled ([#8151](https://github.com/opensearch-project/OpenSearch-Dashboards/pull/8151)) \ No newline at end of file From 0d3ec38687da400be79d726f07e321b112665a0c Mon Sep 17 00:00:00 2001 From: "opensearch-changeset-bot[bot]" <154024398+opensearch-changeset-bot[bot]@users.noreply.github.com> Date: Thu, 12 Sep 2024 01:32:27 +0000 Subject: [PATCH 3/3] Changeset file for PR #8151 created/updated --- changelogs/fragments/8151.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/changelogs/fragments/8151.yml b/changelogs/fragments/8151.yml index ca83e4d830a9..0e045a2d4476 100644 --- a/changelogs/fragments/8151.yml +++ b/changelogs/fragments/8151.yml @@ -1,2 +1,2 @@ fix: -- Remove workspace detail in navigation when new nav is disabled ([#8151](https://github.com/opensearch-project/OpenSearch-Dashboards/pull/8151)) \ No newline at end of file +- Remove workspace detail title in navigation when new nav is disabled ([#8151](https://github.com/opensearch-project/OpenSearch-Dashboards/pull/8151)) \ No newline at end of file