-
Notifications
You must be signed in to change notification settings - Fork 2.7k
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
chore(v0 docs): Add storybook stories that reference docsite examples for 1JS VR tool migration #25663
Merged
TristanWatanabe
merged 66 commits into
microsoft:master
from
TristanWatanabe:add-stories-to-v0
Dec 1, 2022
Merged
chore(v0 docs): Add storybook stories that reference docsite examples for 1JS VR tool migration #25663
TristanWatanabe
merged 66 commits into
microsoft:master
from
TristanWatanabe:add-stories-to-v0
Dec 1, 2022
Conversation
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
27 tasks
This reverts commit 50f4eb3.
TristanWatanabe
commented
Nov 30, 2022
"lint": "eslint --ext .js,.ts,.tsx .", | ||
"lint:fix": "yarn lint --fix", | ||
"start": "gulp docs", | ||
"screener:build": "yarn build:storybook", |
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.
Using the name screener
here to simplify and align with current template we have while running the VR tool. Will be renamed (along with others) once we completely remove screener.
ling1726
approved these changes
Nov 30, 2022
khmakoto
added
Fluent UI react-northstar (v0)
Work related to Fluent UI V0
and removed
Fluent UI react-northstar
labels
Nov 30, 2022
marcosmoura
added a commit
to marcosmoura/fluentui
that referenced
this pull request
Dec 2, 2022
* master: fix: Pressed and Hover states for toolbar buttons (microsoft#25835) feat: add large size for toolbar (microsoft#25830) applying package updates adding perf test for Persona (microsoft#25863) fix: Fixing Slider's programmatic focus (microsoft#25869) chore(v0 docs): Add storybook stories that reference docsite examples for 1JS VR tool migration (microsoft#25663) fix: Respecting user-provided ids in ComboBox options (microsoft#25867) refactor(scripts): more domain boundaries encapsulation (microsoft#25851) docs: add documentation about how to migrate V0 createSvgIcon (microsoft#25828) support cross story linking and create example in Menu story (microsoft#25850)
Hotell
pushed a commit
to Hotell/fluentui
that referenced
this pull request
Feb 9, 2023
… for 1JS VR tool migration (microsoft#25663)
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.
Story:
react-northstar
VR test setup is incompatible with 1JS's tool because it does not use storybook. 1JS's toolStoryWright
heavily relies on storybook stories to work correctly. In an effort to reduce as much friction as possible, the following changes below were made to simplify the transition from Screener to 1JS's VR tool forreact-northstar
Changes:
vr-tests
subfolder to house.stories.tsx
files to be used by the new 1JS VR Tool.Screener
tests from@fluentui/docs
examplespackages/fluentui/docs/examples/components/**
that don't have any special.steps.
suffix in its file name are combined together in a{ComponentName}.stories.tsx
file and all those components are re-exported as stories (example).packages/fluentui/docs/examples/components/**
that contain.steps.
in its filename will have its own separate{fileName}.stories.tsx
file created where its wrapped by a decorator that contains those specificsteps
(example).Theme
variants are handled by thegetThemeStoryVariant
utility function which returns a story with the appropriateTheme
provider decorator. Component examples that had theALL_THEMES
config in their corresponding.steps.
file use thegetThemeStoryVariant
utility in their new.stories.
file to provide same functionality (example).main.js
andpreview.js
filesstart:storybook
andbuild:storybook
scripts topackage.json
Related Issue(s)
Part of #25078