0
0
mirror of https://github.com/PostHog/posthog.git synced 2024-11-28 18:26:15 +01:00

chore: Default local dev to pipeline 3000 on sidebar too (#23736)

This commit is contained in:
Tiina Turban 2024-07-22 14:18:54 +02:00 committed by GitHub
parent 87df4aa080
commit 139c11dec3
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 9 additions and 16 deletions

View File

@ -17,7 +17,7 @@ describe('a11y', () => {
'activity',
'datamanagement',
'personsmanagement',
'apps',
'pipeline',
'toolbarlaunch',
'settings',
]

View File

@ -492,6 +492,14 @@ export const navigation3000Logic = kea<navigation3000LogicType>([
icon: <IconServer />,
to: isUsingSidebar ? undefined : urls.dataWarehouse(),
},
hasOnboardedAnyProduct
? {
identifier: Scene.Pipeline,
label: 'Data pipeline',
icon: <IconDecisionTree />,
to: urls.pipeline(),
}
: null,
featureFlags[FEATURE_FLAGS.PRODUCT_INTRO_PAGES] !== 'test' || hasOnboardedFeatureFlags
? {
identifier: Scene.EarlyAccessFeatures,
@ -500,21 +508,6 @@ export const navigation3000Logic = kea<navigation3000LogicType>([
to: urls.earlyAccessFeatures(),
}
: null,
hasOnboardedAnyProduct
? featureFlags[FEATURE_FLAGS.PIPELINE_UI]
? {
identifier: Scene.Pipeline,
label: 'Data pipeline',
icon: <IconDecisionTree />,
to: urls.pipeline(),
}
: {
identifier: Scene.Apps,
label: 'Data pipeline',
icon: <IconDecisionTree />,
to: urls.projectApps(),
}
: null,
].filter(isNotNil),
]
},