Skip to content

Commit 2ec5234

Browse files
committed
Adds new storybook state
1 parent 63d6efc commit 2ec5234

File tree

1 file changed

+24
-0
lines changed
  • apps/webapp/app/routes/storybook.run-and-span-timeline

1 file changed

+24
-0
lines changed

apps/webapp/app/routes/storybook.run-and-span-timeline/route.tsx

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,30 @@ const spanTimelines = [
5858
},
5959
],
6060
},
61+
{
62+
startTime: new Date(),
63+
duration: 1000 * 1_000_000,
64+
inProgress: false,
65+
isError: false,
66+
events: [
67+
{
68+
name: "Dequeued",
69+
offset: 0,
70+
timestamp: new Date(Date.now() - 5000),
71+
duration: 4000,
72+
markerVariant: "start-cap",
73+
lineVariant: "light",
74+
},
75+
{
76+
name: "Launched",
77+
offset: 0,
78+
timestamp: new Date(Date.now() - 1000),
79+
duration: 1000,
80+
markerVariant: "dot-hollow",
81+
lineVariant: "light",
82+
},
83+
],
84+
},
6185
{
6286
startTime: new Date(),
6387
duration: 1000 * 1_000_000,

0 commit comments

Comments
 (0)