Skip to content
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: (Docs) Remove interaction debugger flag from docs #21228

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
// .storybook/main.js

export default {
stories: [],
stories: ['../src/**/*.mdx', '../src/**/*.stories.@(js|jsx|ts|tsx)'],
addons: [
// Other Storybook addons
'@storybook/addon-interactions', // 👈 Register the addon
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
import type { StorybookConfig } from '@storybook/your-framework';

const config: StorybookConfig = {
sstories: [],
stories: ['../src/**/*.mdx', '../src/**/*.stories.@(js|jsx|ts|tsx)'],
addons: [
// Other Storybook addons
'@storybook/addon-interactions', // 👈 Register the addon
Expand Down

This file was deleted.

5 changes: 3 additions & 2 deletions docs/writing-stories/play-function.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,13 +24,14 @@ Run the following command to install the addon and the required dependencies.

<!-- prettier-ignore-end -->

Update your Storybook configuration (in `.storybook/main.js`) to include the interactions addon.
Update your Storybook configuration (in `.storybook/main.js|ts`) to include the interactions addon.

<!-- prettier-ignore-start -->

<CodeSnippets
paths={[
'common/storybook-addon-interaction-registration.js.mdx',
'common/storybook-interactions-addon-registration.js.mdx',
'common/storybook-interactions-addon-registration.ts.mdx',
]}
/>

Expand Down
5 changes: 3 additions & 2 deletions docs/writing-tests/interaction-testing.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,13 +37,14 @@ Run the following command to install the interactions addon and related dependen

<!-- prettier-ignore-end -->

Update your Storybook configuration (in `.storybook/main.js|ts`) to include the interactions addon and enable playback controls for debugging.
Update your Storybook configuration (in `.storybook/main.js|ts`) to include the interactions addon.

<!-- prettier-ignore-start -->

<CodeSnippets
paths={[
'common/storybook-main-enable-interactive-debugger.js.mdx',
'common/storybook-interactions-addon-registration.js.mdx',
'common/storybook-interactions-addon-registration.ts.mdx',
]}
/>

Expand Down