-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: Add Pipeline menu item behind ff (#18146)
- Loading branch information
Showing
12 changed files
with
67 additions
and
0 deletions.
There are no files selected for viewing
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+51.4 KB
frontend/__snapshots__/scenes-app-pipeline--pipeline-landing-page.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
import { useEffect } from 'react' | ||
import { Meta } from '@storybook/react' | ||
import { App } from 'scenes/App' | ||
import { router } from 'kea-router' | ||
import { urls } from 'scenes/urls' | ||
|
||
export default { | ||
title: 'Scenes-App/Pipeline', | ||
decorators: [], | ||
parameters: { layout: 'fullscreen', options: { showPanel: false }, viewMode: 'story' }, // scene mode | ||
} as Meta | ||
|
||
export function PipelineLandingPage(): JSX.Element { | ||
useEffect(() => { | ||
router.actions.push(urls.pipeline()) | ||
}, []) | ||
return <App /> | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
import { SceneExport } from 'scenes/sceneTypes' | ||
import { pipelineLogic } from './pipelineLogic' | ||
import { PageHeader } from 'lib/components/PageHeader' | ||
|
||
export function Pipeline(): JSX.Element { | ||
return ( | ||
<div className="pipeline-scene"> | ||
<PageHeader title="Pipeline" /> | ||
</div> | ||
) | ||
} | ||
|
||
export const scene: SceneExport = { | ||
component: Pipeline, | ||
logic: pipelineLogic, | ||
} | ||
|
||
// TODO: error from import ./pipeline/PipelineScene | ||
// TODO: update https://storybook.posthog.net/?path=/docs/how-to-build-a-scene--docs <- about kea stuff to exclude and have run pnpm ... for type creation |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
import { kea } from 'kea' | ||
import type { pipelineLogicType } from './pipelineLogicType' | ||
|
||
export const pipelineLogic = kea<pipelineLogicType>({ | ||
path: ['scenes', 'pipeline', 'pipelineLogic'], | ||
}) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters