-
-
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 improved UI #1356
Merged
Merged
Changes from 1 commit
Commits
Show all changes
21 commits
Select commit
Hold shift + click to select a range
a7a3900
Add left panel hierarchy support
ad32ffa
Fix a few related codebeat issues
6960d91
Add more tests for stories.js
3dbdb9e
Better UI for the hierarchy view + bugs fixes
6bfed5d
Merge remote-tracking branch 'origin/master' into left-panel-hierarchy
f27825d
Add shortcut to toggle hierarchy
9b00eb3
Extract hierarchy creation to the mapper
igor-dv 06a4c54
Remove shortcuts for the hierarchy toggling + change leftPanelHierarc…
igor-dv c16cc2d
Rename resolveStoryHierarchyNamespace to resolveStoryHierarchy
igor-dv 3fde529
Fix tests + Add tests for hierarchy
igor-dv 17fb4f5
Fix the cases when the separator is not a "."
igor-dv 87adce4
Add assertions to left_panel.test.js
igor-dv bbf6360
Fix warnings in stories.test.js
igor-dv 1c33fda
Fix tests + Add tests
igor-dv df26718
Remove require.resolve from libs/ui webpack.config.js
igor-dv 21d7173
Remove package-lock.json files
igor-dv f57a602
Merge pull request #1329 from igor-dv/left-panel-hierarchy
shilman dbb04c1
Repalce resolveStoryHierarchy func with hierarchySeparator
igor-dv 279e198
Change the order of the atomic namespace
igor-dv 43ca59b
Merge remote-tracking branch 'origin/release/3.2' into 151-story-hier…
igor-dv 8262b7b
Revert code that was injected by aliens
igor-dv File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -177,16 +177,16 @@ storiesOf('component.Button') | |
|
||
// Atomic | ||
|
||
storiesOf('Atoms.Molecules.Cells.simple', module) | ||
storiesOf('Atoms¯\\_(ツ)_/¯Molecules.Cells/simple', module) | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. should be There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I'll fix it. |
||
.addDecorator(withKnobs) | ||
.add('with text', () => <Button>{text('buttonText', 'Hello Button')}</Button>) | ||
.add('with some emoji', () => <Button>😀 😎 👍 💯</Button>); | ||
|
||
storiesOf('Atoms.Molecules.Cells.more', module) | ||
storiesOf('Atoms/Molecules/Cells.more', module) | ||
.add('with text2', () => <Button>Hello Button</Button>) | ||
.add('with some emoji2', () => <Button>😀 😎 👍 💯</Button>); | ||
|
||
storiesOf('Atoms.Molecules', module) | ||
storiesOf('Atoms/Molecules', module) | ||
.add('with text', () => <Button>Hello Button</Button>) | ||
.add('with some emoji', () => <Button>😀 😎 👍 💯</Button>); | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
awesome ❤️