-
-
Notifications
You must be signed in to change notification settings - Fork 9.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Story Hierarchy (UI improvements) #1387
Conversation
…hierarchy-3rd-party Merge remote-tracking branch 'origin/151-story-hierarchy' into story-hierarchy-3rd-party
…hierarchy-3rd-party
Codecov Report
@@ Coverage Diff @@
## release/3.2 #1387 +/- ##
===============================================
+ Coverage 15.29% 15.49% +0.19%
===============================================
Files 202 238 +36
Lines 4706 5499 +793
Branches 627 648 +21
===============================================
+ Hits 720 852 +132
- Misses 3456 4100 +644
- Partials 530 547 +17
Continue to review full report at Codecov.
|
export default { | ||
NAMESPACE: 'namespace', | ||
COMPONENT: 'component', | ||
STORY: 'story', |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
maybe it's worth to add some comments about new UI structure. I'd like to dig a bit this (and previous) PR so it could help to review
@@ -0,0 +1,155 @@ | |||
import reactTreebeard from 'storybook-react-treebeard'; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
import { Treebeard } from ...
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
fixed
@@ -0,0 +1,76 @@ | |||
import reactTreebeard from 'storybook-react-treebeard'; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
import { decorators } from ...
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yep.. But it didn't work (they changed the export of the index file in the PR) But I am changing it in the forked version to the named export and it should fix this.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
fixed
@igor-dv i have some issues with the current state, but am merging/releasing anyway. i'll list them as separate issues that we can work through during the alpha stage |
Issue: #151
What I did
I've added react-treebeard and react-icons for a better look and feel of the stories hierarchy
How to test
Run
cra-kitchen-sink
orstorybook-ui-example