Introduce Storybook for demonstrating react compontes
|Assigned To:||Ohad Levy|
|Found in release:||Pull request:||https://github.com/theforeman/foreman/pull/3866|
|Velocity based estimate||-|
-- This is purely a developer efficiency improvement, has nothing to do with foreman users/features, having said that:Storybook is an easy tool to interact with react components in isolation, I would like to include it in foreman for the following reasons:
- Allow creating UI components without the need to have a fully functional foreman setup - for example, you can create mocked data easily.
- Allow to define all of the different states that a UI component can be at, this allows to get faster/better feedback from reviewers and UX designers.
- The output of storybook can be pushed as a static html for external review.
- Its a reference for UI components and how to use them.