0
0
mirror of https://github.com/PostHog/posthog.git synced 2024-11-29 03:04:16 +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,27 +492,20 @@ export const navigation3000Logic = kea<navigation3000LogicType>([
icon: <IconServer />,
to: isUsingSidebar ? undefined : urls.dataWarehouse(),
},
featureFlags[FEATURE_FLAGS.PRODUCT_INTRO_PAGES] !== 'test' || hasOnboardedFeatureFlags
? {
identifier: Scene.EarlyAccessFeatures,
label: 'Early access features',
icon: <IconRocket />,
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,
featureFlags[FEATURE_FLAGS.PRODUCT_INTRO_PAGES] !== 'test' || hasOnboardedFeatureFlags
? {
identifier: Scene.EarlyAccessFeatures,
label: 'Early access features',
icon: <IconRocket />,
to: urls.earlyAccessFeatures(),
}
: null,
].filter(isNotNil),