argoproj / argo-ui

Argoproj shared React components
Apache License 2.0
220 stars 178 forks source link

chore(storybook): update v1 syntax to use Storybook v6 #568

Closed agilgur5 closed 2 weeks ago

agilgur5 commented 1 month ago

Follow-up to https://github.com/argoproj/argo-ui/pull/432#issuecomment-1879816619 and make the v1 code Storybook v7 compatible. This is just one step toward the upgrade, but perhaps the most breaking one. Follow-up to #567 "Future Work" part 1.

Motivation

Modifications

  • also remove index.stories.tsx and replace with naming other story files *.stories.tsx
  • Verification

    yarn start works the same as it did in #567

    Notes to Reviewers

    ~This requires #567 to work and so is built on top of it. Please do not merge until that is merged first!~ Rebased on top