Feature #17287

Introduce Storybook for demonstrating react compontes

Added by Ohad Levy over 1 year ago. Updated 7 days ago.

Status:Closed
Priority:Normal
Assignee:Ohad Levy
Category:Development tools
Target version:1.15.0
Difficulty: Team Backlog:
Triaged: Fixed in Releases:
Bugzilla link: Found in Releases:
Pull request:https://github.com/theforeman/foreman/pull/3866

Description

-- 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.

Associated revisions

Revision 8a860811
Added by Ohad Levy over 1 year ago

fixes #17287 - add storybook support

History

#1 Updated by The Foreman Bot over 1 year ago

  • Status changed from New to Ready For Testing
  • Assignee set to Ohad Levy
  • Pull request https://github.com/theforeman/foreman/pull/3866 added

#2 Updated by Ohad Levy over 1 year ago

  • Status changed from Ready For Testing to Closed
  • % Done changed from 0 to 100

#3 Updated by Dominic Cleal over 1 year ago

  • Category set to Development tools
  • Legacy Backlogs Release (now unused) set to 209

Also available in: Atom PDF