From 9fbff54b34d2d8de36950aa289596f761d1acda4 Mon Sep 17 00:00:00 2001 From: Dotty Date: Fri, 22 Nov 2024 10:04:44 -0400 Subject: [PATCH 1/2] [TM-1464] add route /dashboard in navbar --- src/components/generic/Navbar/navbarItems.ts | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/components/generic/Navbar/navbarItems.ts b/src/components/generic/Navbar/navbarItems.ts index 968f24f5f..c8f6c388e 100644 --- a/src/components/generic/Navbar/navbarItems.ts +++ b/src/components/generic/Navbar/navbarItems.ts @@ -27,6 +27,11 @@ export const getNavbarItems = (t: typeof useT, myOrg?: MyOrganisationConnection) url: "/", visibility: true }, + { + title: t("Dashboards"), + url: "/dashboard", + visibility: true + }, { title: t("Support"), url: zendeskSupportLink, From 8a48ecd512178c31609b1de4a0a4b33a03493a32 Mon Sep 17 00:00:00 2001 From: diego-morales-flores-1996 Date: Fri, 22 Nov 2024 11:11:07 -0400 Subject: [PATCH 2/2] [TM-1464] update test --- .../MainLayout.stories.storyshot | 23 +++++++++++++++++++ .../__snapshots__/Navbar.stories.storyshot | 23 +++++++++++++++++++ 2 files changed, 46 insertions(+) diff --git a/src/components/generic/Layout/__snapshots__/MainLayout.stories.storyshot b/src/components/generic/Layout/__snapshots__/MainLayout.stories.storyshot index fdeb0c568..a59b5dab0 100644 --- a/src/components/generic/Layout/__snapshots__/MainLayout.stories.storyshot +++ b/src/components/generic/Layout/__snapshots__/MainLayout.stories.storyshot @@ -95,6 +95,29 @@ exports[`Storyshots Components/Generic/Layouts/MainLayout Default 1`] = ` +
+
+ +
+ + Dashboards + +
+
+
+
+
+
+ +
+ + Dashboards + +
+
+
+