-
Notifications
You must be signed in to change notification settings - Fork 121
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
docs: enable story source for current stories #557
Merged
Merged
Changes from 45 commits
Commits
Show all changes
49 commits
Select commit
Hold shift + click to select a range
f056b77
chore: add parsing action and split tooltipValues (#516)
markov00 2242fca
refactor: decouple legend and tooltip phase 1 (#491)
markov00 9cee43c
docs: add storysource addon and refactor scales
rshen91 8262d19
docs: fix filteredLabel ids (#552)
markov00 f084630
docs: clean up naming and text
rshen91 e3294fb
docs: separate annotation stories
rshen91 35e8d59
Merge remote-tracking branch 'upstream/master' into story-source
rshen91 a286ce7
docs: separate area stories
rshen91 5694f31
refactor: separate axis to separate stories
rshen91 d431230
refactor: separate bar chart stories to files
rshen91 4c3a6c5
refactor: separate grid stories to own files
rshen91 4377b4e
refactor: separate interactions stories into own file
rshen91 f27f0fa
refactor: separate legend stories
rshen91 8b3a2ea
refactor: separate line stories
rshen91 4429ce7
refactor: separate mixed stories
rshen91 1ed6957
refactor: decouple tooltip from XY chart (#553)
markov00 6f5ed7e
chore: merge commit
rshen91 bf5abc9
refactor: separate stylings
rshen91 b088b9e
refactor: separate rotations stories
rshen91 6aa3449
refactor: separate sunburst stories
rshen91 e380d7d
refactor: separate treemap stories
rshen91 2551270
fix: update test urls and fix webpack config to find new stories
rshen91 a57fb9f
fix: fixed webpack config to render charts and story source
rshen91 d25ba29
fix: fix typo in test
rshen91 d399e41
test: update some tests
rshen91 6da59fb
test: update file name
rshen91 b5d8489
fix: redux connect memo issue related to spec upserting (#563)
nickofthyme 3071d93
Merge remote-tracking branch 'upstream/master' into story-source
rshen91 e553fb1
chore: merge commit
rshen91 a8236f6
Merge remote-tracking branch 'upstream/master' into story-source
rshen91 209344c
docs: change the way of loading stories
markov00 5f0e44f
docs: remove VRT baselines
markov00 1eb1986
docs: recovered baseline from master
markov00 dfadb5a
docs: renamed all.stories scales baselines
markov00 1aeb5c2
docs: fixed annotation stories
markov00 4efe3b2
docs: updated area vrt file names
markov00 968f7d7
test: fix axes stories
markov00 15e4ea6
test: fix bars stories
markov00 1feacdf
test: fix grids stories
markov00 8f2a635
test: fix interactions stories
markov00 21c1fc8
test: fix legend stories
markov00 fdcb192
test: fix remaining stories
markov00 03c227c
test: fixed remaining stories
markov00 6d791da
Merge branch 'master' into pr/557
markov00 cf5bfa3
fix: fix story-loader to load only stories
markov00 923fb33
docs: fix knobs or source default panel per story
markov00 0266642
chore: move panel ids to constants
markov00 3117a11
docs: cleaned md files
markov00 ba1f285
Merge branch 'master' into pr/557
markov00 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
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
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 |
---|---|---|
@@ -1,3 +1,4 @@ | ||
import '@storybook/addon-actions/register'; | ||
import '@storybook/addon-knobs/register'; | ||
import '@storybook/addon-docs/register'; | ||
import '@storybook/addon-storysource/register'; |
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
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
Binary file added
BIN
+12.3 KB
...s-for-all-stories-bar-chart-stacked-to-extent-visually-looks-correct-1-snap.png
Oops, something went wrong.
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
Binary file modified
BIN
-13 Bytes
(99%)
...ual-tests-for-all-stories-stylings-chart-size-visually-looks-correct-1-snap.png
Oops, something went wrong.
File renamed without changes
File renamed without changes
File renamed without changes
Binary file added
BIN
+52.3 KB
...-tests-for-all-stories-stylings-theme-styling-visually-looks-correct-1-snap.png
Oops, something went wrong.
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
Binary file modified
BIN
+14.2 KB
(220%)
...s-stories-test-ts-axis-stories-should-render-with-domain-constraints-1-snap.png
Oops, something went wrong.
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 |
---|---|---|
|
@@ -4,22 +4,22 @@ describe('Annotations stories', () => { | |
describe('rotation', () => { | ||
it('rotation - 0', async () => { | ||
await common.expectChartAtUrlToMatchScreenshot( | ||
'http://localhost:9001/?path=/story/annotations--test-line-annotation-single-value-histogram&knob-debug=&knob-chartRotation=0', | ||
'http://localhost:9001/?path=/story/annotations-lines--single-bar-histogram&knob-debug=&knob-chartRotation=0', | ||
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. 👍 |
||
); | ||
}); | ||
it('rotation - 90', async () => { | ||
await common.expectChartAtUrlToMatchScreenshot( | ||
'http://localhost:9001/?path=/story/annotations--test-line-annotation-single-value-histogram&knob-debug=&knob-chartRotation=90', | ||
'http://localhost:9001/?path=/story/annotations-lines--single-bar-histogram&knob-debug=&knob-chartRotation=90', | ||
); | ||
}); | ||
it('rotation - negative 90', async () => { | ||
await common.expectChartAtUrlToMatchScreenshot( | ||
'http://localhost:9001/?path=/story/annotations--test-line-annotation-single-value-histogram&knob-debug=&knob-chartRotation=-90', | ||
'http://localhost:9001/?path=/story/annotations-lines--single-bar-histogram&knob-debug=&knob-chartRotation=-90', | ||
); | ||
}); | ||
it('rotation - 180', async () => { | ||
await common.expectChartAtUrlToMatchScreenshot( | ||
'http://localhost:9001/?path=/story/annotations--test-line-annotation-single-value-histogram&knob-debug=&knob-chartRotation=180', | ||
'http://localhost:9001/?path=/story/annotations-lines--single-bar-histogram&knob-debug=&knob-chartRotation=180', | ||
); | ||
}); | ||
}); | ||
|
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
Oops, something went wrong.
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.
😍❤️💝💕