From 139c11dec31ef71226e6cc98d27d0518023de5fb Mon Sep 17 00:00:00 2001 From: Tiina Turban Date: Mon, 22 Jul 2024 14:18:54 +0200 Subject: [PATCH] chore: Default local dev to pipeline 3000 on sidebar too (#23736) --- cypress/e2e/a11y.cy.ts | 2 +- .../navigation-3000/navigationLogic.tsx | 23 +++++++------------ 2 files changed, 9 insertions(+), 16 deletions(-) diff --git a/cypress/e2e/a11y.cy.ts b/cypress/e2e/a11y.cy.ts index aae35ab4158..4e86eef1fd5 100644 --- a/cypress/e2e/a11y.cy.ts +++ b/cypress/e2e/a11y.cy.ts @@ -17,7 +17,7 @@ describe('a11y', () => { 'activity', 'datamanagement', 'personsmanagement', - 'apps', + 'pipeline', 'toolbarlaunch', 'settings', ] diff --git a/frontend/src/layout/navigation-3000/navigationLogic.tsx b/frontend/src/layout/navigation-3000/navigationLogic.tsx index b31e8fb7f87..7bf752d629d 100644 --- a/frontend/src/layout/navigation-3000/navigationLogic.tsx +++ b/frontend/src/layout/navigation-3000/navigationLogic.tsx @@ -492,6 +492,14 @@ export const navigation3000Logic = kea([ icon: , to: isUsingSidebar ? undefined : urls.dataWarehouse(), }, + hasOnboardedAnyProduct + ? { + identifier: Scene.Pipeline, + label: 'Data pipeline', + icon: , + to: urls.pipeline(), + } + : null, featureFlags[FEATURE_FLAGS.PRODUCT_INTRO_PAGES] !== 'test' || hasOnboardedFeatureFlags ? { identifier: Scene.EarlyAccessFeatures, @@ -500,21 +508,6 @@ export const navigation3000Logic = kea([ to: urls.earlyAccessFeatures(), } : null, - hasOnboardedAnyProduct - ? featureFlags[FEATURE_FLAGS.PIPELINE_UI] - ? { - identifier: Scene.Pipeline, - label: 'Data pipeline', - icon: , - to: urls.pipeline(), - } - : { - identifier: Scene.Apps, - label: 'Data pipeline', - icon: , - to: urls.projectApps(), - } - : null, ].filter(isNotNil), ] },