From 905c31c6837bf8f7bd421fb86f966b75f75f8e20 Mon Sep 17 00:00:00 2001 From: Paul D'Ambra Date: Wed, 13 Sep 2023 14:05:56 +0100 Subject: [PATCH] wat --- .../notebooks/Notebook/Notebook.stories.tsx | 42 +++++++++++++++++++ 1 file changed, 42 insertions(+) diff --git a/frontend/src/scenes/notebooks/Notebook/Notebook.stories.tsx b/frontend/src/scenes/notebooks/Notebook/Notebook.stories.tsx index 41e4b5dfb6bc6..ecceb26e1ec93 100644 --- a/frontend/src/scenes/notebooks/Notebook/Notebook.stories.tsx +++ b/frontend/src/scenes/notebooks/Notebook/Notebook.stories.tsx @@ -144,6 +144,41 @@ const testCases: Record = { ], }, ]), + 'api/projects/:team_id/notebooks/bullet-list': notebookTestTemplate('bullet-list', [ + { + type: 'bulletList', + content: [ + { + type: 'listItem', + content: [ + { + type: 'paragraph', + content: [ + { + type: 'text', + text: 'first item', + }, + ], + }, + ], + }, + { + type: 'listItem', + content: [ + { + type: 'paragraph', + content: [ + { + type: 'text', + text: 'second item', + }, + ], + }, + ], + }, + ], + }, + ]), 'api/projects/:team_id/notebooks/recordings-playlist': notebookTestTemplate('recordings-playlist', [ { type: 'ph-recording-playlist', @@ -340,6 +375,13 @@ export function NumberedList(): JSX.Element { return } +export function BulletList(): JSX.Element { + useEffect(() => { + router.actions.push(urls.notebook('bullet-list')) + }, []) + return +} + export function RecordingsPlaylist(): JSX.Element { useEffect(() => { router.actions.push(urls.notebook('recordings-playlist'))