HomeElementl

Add storybooks for Gannt chart UI, show hh:mm:ss when clicking Gannt steps #4042

Description

Add storybooks for Gannt chart UI, show hh:mm:ss when clicking Gannt steps #4042

Summary:

  • The actual fix for #4042 is just calling a more appropriate helper method.
  • I also discovered that if bad input data is fed to the Gannt chart time "ticks" method, it can crash the browser trying to render millions of ticks, so I've improved that failure case.
  • I've added a storybook for the Gantt UI that renders both the empty + loaded states, and uses the Storybook "controls" concept to let you scrub through time in a sample run. This involves a fair bit of handmade data but I think a big blob of JSON is a bit unavoidable here.

Test Plan: Check out new storybook!

Reviewers: dish

Reviewed By: dish

Differential Revision: https://dagster.phacility.com/D7609

Details

Provenance
bengotowAuthored on Apr 26 2021, 9:42 PM
Reviewer
dish
Differential Revision
D7609: Add storybooks for Gannt chart UI, show hh:mm:ss when clicking Gannt steps #4042
Parents
R1:9099ce588f27: [docs] remove rc versioned content
Branches
Unknown
Tags
Unknown