11 Commits

Author SHA1 Message Date
Arunoda Susiripala
4e8352f69e Add better error message when there's no React element in the story. (#534)
* Add better error message when there's no story.
We may not get a story due to some user errors.
We can them suggest what's happening to the user.

* Fix a slight typo.
2016-10-05 20:55:23 +05:30
Arunoda Susiripala
531e6eb705 chore(package): update dependencies (#421)
https://greenkeeper.io/
2016-09-04 12:53:00 +05:30
Arunoda Susiripala
8677acd934 Remove extra polyfills and use polyfills from babel (#402)
* Remove extra polyfills and use polyfills from babel

* Remove unwanted modules.
2016-08-24 15:26:45 +05:30
Muhammed Thanish
97f854ff90 Support requireing from node
Wrap calls to browser only features to allow storybook module
to be required from node. This can be used to build CLI tools.
2016-07-26 15:00:45 +05:30
Muhammed Thanish
505bb55c5d Update dist 2016-07-25 13:40:09 +05:30
Arunoda Susiripala
811939e187 Update @kadira/storybook-ui to v2.6.0 2016-07-20 11:38:40 +05:30
Muhammed Thanish
34035ab663 Update dist 2016-07-18 10:16:02 +05:30
Arunoda Susiripala
52d538e50b Fix issue #275 of bad error handling. 2016-06-27 14:25:24 +05:30
Arunoda Susiripala
83e1cabe60 Update Changelog.md 2016-06-27 09:29:23 +05:30
Muhammed Thanish
18d5aab987 Pass selected kind and story as args 2016-06-14 13:46:36 +05:30
Arunoda Susiripala
052ad95817 Implement Mantra Architecture (#165)
* Add preview container in preview module.

* Update comments.

* Implement preview module.

* Add component tests.

* Add tests for actions.

* Add container tests.

* Write tests for reducers.

* Fix lint issues.

* Add tests for init_pagebus

* Add base ui model with the layout.

* Fix the reducer.

* Add select story pageBus event.

* Update some test cases/

* Implement basic communication with the preview iframe.

* Move actions to a common place.

* Clean mantra reducers.

* Integrated initial leftPanel.

* Implement story filter

* Add initial ActionLogger.

* Add actions grouping.

* Fix lint issues.

* Implement initial routing.
This version lacks, back button support.

* Handle back button properly with routing.

* Add keyboard shortcut support.

* Add responsive tags.

* Move all the admin dependencies to the dev env.
So, end user doesn't need to download the stuff
we use inside the manager.

* Optimize dev build with enabling webpack
when developing the manager.

* Update CONTRIBUTING.md to support the new build environment.

* Add proper support for production build.

* Introduce the api module.

* Add initial docs.

* Add keyboard shortcut help dialog.

* Fix lint issues.

* Fix some missing tests.

* Add tests for actions.

* Write tests for action logger.

* Add tests for layout

* Add tests for left_panel.header.

* Add tests for left_panel.text_filter

* Add tests for left_panel.stories

* Complete tests for the left panel component.

* Simplyfy the container code by implementing the reduxComposer.

* Add container tests.

* Add ui reducer tests.

* Add tests for handle key events

* Add tests to handle_routing.

* Add filters tests

* Add tests for reduxComposer

* Add tests for reduxComposer

* Use a unique Id for the action.id.
We need to support unique id for the action id since now
it's possible to reload the preview iframe.
So, if we use a number from 0, there's a chance for
duplicate ids.

* Update docs.

* Update docs.

* Add manager.js

* Move redux and keycode to dependencies.
2016-05-05 14:26:52 +05:30