Skip to content

[Suggestion] add bookshelf feature to classify books/stories #1688

@xareelee

Description

@xareelee

I have categories for different purposes:

  • Component: display a UI element for reusability
  • Scene: display a whole UI page for a scene
  • App: display the whole app with full functionalities just like react-native start
  • and more... for testing specific functionalities with UI

My current stories are like this:

screen shot 2017-08-19 at 10 09 12

* [API] REST API
* [Scene] AdDialog
* [Comp] BannerButton
* [Comp] BannerView

I want to make stories to be classified in categories

* API
    * REST API
* App
    * new start
    * logged-in user
* Components
    * BannerButton
    * BannerView
    * ...
* Scenes
    * AdDialog
    * ....

using the following code

// original story: accept a string for the story name
storiesOf('[Scene] AdDialog', module)

// with category: accept an array for the category and story names
storiesOf(['Scene', 'AdDialog'], module)

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions