-
Notifications
You must be signed in to change notification settings - Fork 639
Trying to add live editor #7002
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
base: main
Are you sure you want to change the base?
Conversation
|
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.
Pull Request Overview
This PR adds a live editor feature to Storybook stories using the storybook-addon-code-editor package. The change enables interactive code editing capabilities within Storybook, allowing users to modify component code in real-time.
Key changes:
- Integration of the
storybook-addon-code-editoraddon into the Storybook configuration - Addition of a live editor example to the Avatar component story
- Installation of the required dependency package
Reviewed Changes
Copilot reviewed 3 out of 4 changed files in this pull request and generated 2 comments.
| File | Description |
|---|---|
| packages/react/.storybook/main.ts | Configures Storybook to use the code editor addon and sets up static directories |
| packages/react/src/Avatar/Avatar.stories.tsx | Adds a live editor implementation to the Avatar component's Default story |
| package.json | Adds the storybook-addon-code-editor dependency |
|
👋 Hi, this pull request contains changes to the source code that github/github depends on. If you are GitHub staff, we recommend testing these changes with github/github using the integration workflow. Thanks! |
|
Uh oh! @lukasoppermann, at least one image you shared is missing helpful alt text. Check your pull request body to fix the following violations:
Alt text is an invisible description that helps screen readers describe images to blind or low-vision users. If you are using markdown to display images, add your alt text inside the brackets of the markdown image. Learn more about alt text at Basic writing and formatting syntax: images on GitHub Docs.
|
|
@lukasoppermann removed review request as I expect things to change with the conflicts/CI failures. Feel free to re-request me once this is ready for review! |
Changelog
New
Changed
Removed
Rollout strategy
Only changes storybook
Testing & Reviewing
Merge checklist