Skip to content

[SG-36770] Update Storybook stories to use Component Story Format: client/web/enterprise/batches/* - batch-spec, list, preview

Warren Gifford requested to merge contractors/SG-36770 into main

Created by: gitstart-sourcegraph

Problem statement

The Component Story Format is the recommended way to write stories in Storybook. The new format is easier to understand and it is also important that we update our existing stories to ensure we stay up to date with new features, and are able to follow future documentation.

Success criteria

All stories in the repo are using the Component Story Format All stories still usable when running yarn storybook

Implementation details

Please see this PR description as an example of how this change can be implemented.

In summary, follow these implementation steps:

Directories to be Migrated

client/web/src/enterprise/batches/batch-spec client/web/src/enterprise/batches/list client/web/src/enterprise/batches/preview

Ref

Sourcegraph Issue GitStart Issue

Time estimate

Pull requests with frontend lines changed should take 3 hours at maximum. Ping the reviewer in the spec pull request if time-consuming changes are required. Split the work into multiple pull requests if the total diff is bigger than 450 lines of code.

Test plan

Run yarn storybook Storybook should run without any error

App preview:

Check out the client app preview documentation to learn more.

Merge request reports

Loading