Repository navigation
chore(s2): split S2 Storybook into demo and dev - #972
Merged
Merged
Conversation
c-lamoureux
force-pushed
the
chore/s2-storybook-demo-dev-split
branch
from
October 6, 2026 21:25
930e14e to
deb7e7c
Compare
madelineluke
reviewed
Oct 7, 2026
c-lamoureux
force-pushed
the
chore/s2-storybook-demo-dev-split
branch
from
October 7, 2026 16:06
deb7e7c to
0ea44bc
Compare
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
…Handlers folders Apply Axis Storybook review feedback: remove ReferenceLine position/size, currencyCode and tick-count stories; clarify Y/X axis stories; free-text numberFormat; per-orientation position controls; wider bars for subLabels; labelLimit on a horizontal bar; labelFormat 'time' option. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
…ries into folders Callback stories move to an Action Handlers folder per component; props are grouped into Labels, Series Visibility, Symbols, Spacing, Styling, Points, Series, Animation, Highlight, Size and Encodings folders. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
…oryShared Dev stories no longer import from the demo stories tree. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Playgrounds passed undefined for both, overriding Chart's defaults and crashing on render. Adds a smoke test that renders every playground. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
…n stories Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
…Coverage folders Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
c-lamoureux
force-pushed
the
chore/s2-storybook-demo-dev-split
branch
from
October 7, 2026 16:34
0ea44bc to
9aa8431
Compare
…labels Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
madelineluke
previously approved these changes
Oct 7, 2026
…ayground dataPreset options Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
|
Contributor
|
🎨 Storybook -> https://opensource.adobe.com/react-spectrum-charts/PR-972 🎨 S2 Storybook -> https://opensource.adobe.com/react-spectrum-charts/PR-972-s2 🎨 S2 Dev Storybook -> https://opensource.adobe.com/react-spectrum-charts/PR-972-s2-dev 📚 Docs -> https://opensource.adobe.com/react-spectrum-charts/PR-972-docs/ |
madelineluke
approved these changes
Oct 7, 2026
c-lamoureux
added a commit
that referenced
this pull request
Oct 7, 2026
Brings in #967, #970 and #972. Story files moved by #972 take main's version with imports rewritten to core-s2 subpaths and fully specified .js extensions (scripts/addRelativeImportExtensions.mjs). Ports #970's donut constants into core-s2 and excludes the new dev/ and storyShared/ story folders from the S2 declaration build. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
madelineluke
approved these changes
Oct 7, 2026
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.



Splits the S2 Storybook into a polished demo Storybook and a dev Storybook for internal testing.
Description
yarn storybook:s2, port 6010;yarn build:storybook:s2, which the S2 Storybook publish workflow uses) loads onlypackages/react-spectrum-charts-s2/src/stories/**. Stories were curated to one representative story per feature with realistic data, no debug UI and noUNSAFE_/unstable_APIs. Axis, Legend, Bar, Line, Chart, Popover and Action Bar stories are grouped into folders.yarn storybook:s2:dev, port 6011;yarn build:storybook:s2:dev, new.storybook-s2-devconfig) loads the demo stories plussrc/dev/<Chart>/<Folder>/:Playground: one story per chart/component with broad controls, children and interactions.Performance: animation, large-data and stress stories.Dashboards: variation dashboards (the Donut dashboard is unhidden here).Regressions: real bug reproductions. Each setsparameters.regression = { description, pr }, which the dev preview shows above the story.Coverage: test-specific and feature-coverage stories, including former demo variants.storyShared. Dev story tests sit next to the dev stories, and S2 tests no longer depend on demo story args.How Has This Been Tested?
yarn lint,yarn tscand the full test suite (314 suites / 4,646 tests) pass.yarn build:storybook:s2andyarn build:storybook:s2:devboth succeed.Types of changes