Skip to content

WIP: add storybook

Usage

checkout branch

gdk run (needed for styles)
yarn install
yarn storybook
go to localhost:6006

What does this MR do?

Adds storybook for the MR Widget
useful for working with https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/12601

Are there points in the code the reviewer needs to double check?

TODO:

  • move to external repo
  • add to gdk
  • license clarification
  • try importing mockdata/components directly from spec files (need to define describe in webpack or somewhere)
  • dedupe webpack config

Why was this MR needed?

Screenshots (if relevant)

states

Does this MR meet the acceptance criteria?

What are the relevant issue numbers?

Edited by Simon Knox

Merge request reports

Loading