221 Commits

Author SHA1 Message Date
Kyle Gach
de82bf05d4 Fix sidebar order 2024-09-09 13:54:36 -06:00
Kyle Gach
63e46fa47b Rename to 'Storybook Vitest plugin', and more 2024-09-09 13:31:16 -06:00
Kyle Gach
d982babd55
Apply suggestions from code review
Co-authored-by: Yann Braga <yannbf@gmail.com>
2024-09-06 10:13:38 -06:00
Kyle Gach
e76df58230 Update heading 2024-09-04 11:05:39 -06:00
Kyle Gach
59f926afa6 Address comments and further changes
- Limit to react, vue, and svelte renderers
- `addon-vitest` -> `addon-test`
- `addon-vitest/plugin` -> `addon-test/vite-plugin`
- Add requirements
- Add more details and examples about framework plugins
- Add more detail about test setup file
- Move comparison to previous test runner into its own section
- Format snippets
2024-09-03 12:11:11 -06:00
Kyle Gach
1654ac5fa7 Fixes 2024-08-29 12:59:41 -06:00
Kyle Gach
99ffaccdf7 Merge branch 'next' into docs-addon-vitest
* next:
  Address feedback
  add link to docs for how to set feature flags.
  improve migration notes for globals project
  Fix typo
  ConfigFile: Fix `as const satisfies` modifiers
  Bump version from "8.3.0-alpha.11" to "8.3.0-beta.0" [skip ci]
  Update docs/versions/next.json
  Add description to empty 8.3.0-beta.0 release
  Write changelog for 8.3.0-beta.0 [skip ci]
  Bump version from "8.3.0-alpha.10" to "8.3.0-alpha.11" [skip ci]
  Write changelog for 8.3.0-alpha.11 [skip ci]
  Re-order sidebar
  Rename interaction test -> component test
2024-08-29 10:31:29 -06:00
Kyle Gach
9e3d644c83 Address feedback 2024-08-29 08:49:05 -06:00
Kyle Gach
78b22a96fe Address feedback 2024-08-28 14:35:38 -06:00
Kyle Gach
4aeab56311 Further updates 2024-08-27 09:52:16 -06:00
Kyle Gach
5d06f4d750
Apply suggestions from code review
Co-authored-by: Kasper Peulen <kasperpeulen@gmail.com>
2024-08-27 09:02:09 -06:00
Kyle Gach
8cdbbaf95a More polish 2024-08-26 12:34:26 -06:00
Kyle Gach
877e4a335a More updates 2024-08-26 12:30:35 -06:00
Kyle Gach
89be6a0b45 More updates 2024-08-26 12:30:35 -06:00
Kyle Gach
2bdd9dc969 WIP: Docs for Test runner with Vitest
- Includes sidebar order updates
    - Use non-zero-indexed orders
2024-08-26 12:30:35 -06:00
Kyle Gach
57022a0e0b Re-order sidebar
- Testing above Docs
- Component, visual, a11y, snapshot testing first, then others
2024-08-22 14:52:50 -06:00
Kyle Gach
df80522e1b Rename interaction test -> component test 2024-08-22 14:48:54 -06:00
Kasper Peulen
8f2c88dd6b Use internal renderToCanvas method if testingLibaryRender is not specified 2024-07-31 16:30:19 +02:00
Kyle Gach
4ae680cdec
Merge branch 'next' into yann/document-portable-stories 2024-07-10 13:02:40 -06:00
Kyle Gach
f73dc21b53 Add beforeAll section 2024-07-10 12:36:28 -06:00
Kyle Gach
dbcbae8d9e Further updates 2024-07-10 08:30:25 -06:00
Kyle Gach
bdbf67459a WIP: Just pushing what I can 2024-07-09 23:28:33 -06:00
Yann Braga
9308896321 update snippets 2024-07-09 19:20:36 +02:00
Kyle Gach
a31b882dd0 Add Angular fallback guidance 2024-07-09 09:41:08 -06:00
Kyle Gach
f1b57d0d79 Updates
- Prose tweaks, adding links for context
- Use `If` blocks for conditional content
- Restructure content to be story, component, project-ordered
- Update headings to be problem-oriented
2024-07-08 14:59:03 -06:00
Kasper Peulen
e683be22c8
Update docs/writing-tests/interaction-testing.mdx
Co-authored-by: Yann Braga <yannbf@gmail.com>
2024-07-08 14:14:15 +02:00
Kasper Peulen
87bea60d56
Update docs/writing-tests/interaction-testing.mdx
Co-authored-by: Yann Braga <yannbf@gmail.com>
2024-07-08 14:13:24 +02:00
Kasper Peulen
c471d07332 Improve message 2024-07-08 12:45:03 +02:00
Kasper Peulen
92efbe499a Address feedback 2024-07-08 12:05:17 +02:00
Kasper Peulen
58ea726f91
Update docs/writing-tests/interaction-testing.mdx
Co-authored-by: Yann Braga <yannbf@gmail.com>
2024-07-08 11:32:24 +02:00
Kasper Peulen
45a83bd282
Update docs/writing-tests/interaction-testing.mdx
Co-authored-by: Yann Braga <yannbf@gmail.com>
2024-07-08 11:32:14 +02:00
Kasper Peulen
ed48d74417
Update docs/writing-tests/interaction-testing.mdx
Co-authored-by: Yann Braga <yannbf@gmail.com>
2024-07-08 11:31:52 +02:00
Yann Braga
2b8b888a65 Document portable stories usage 2024-07-04 14:16:34 +02:00
Kasper Peulen
25a0266957 Add docs for mounting inside the play function 2024-07-03 23:46:02 +02:00
jonniebigodes
47e919ce0e Docs: Fix malformed frontmatter 2024-06-28 15:30:21 +01:00
Kyle Gach
cdde79ce70 Replace remaining *.md docs links with *.mdx 2024-06-27 22:25:39 -06:00
Kyle Gach
35d30d2914 Fix links that were missing new directories
e.g. `./api/main-config-typescript.mdx` -> `./api/main-config/main-config-typescript.mdx`
2024-06-27 22:25:03 -06:00
Kyle Gach
09bd49af77 Fix incorrect relative links
On a page inside a new directory (e.g. `get-started/frameworks`), almost* every relative link that went up a level (e.g. `../writing-stories/args.mdx`) now needs to go up two levels (e.g. `../../writing-stories/args.mdx`).

* The exception is relative links pointing to directories that are siblings of the current directory, e.g. on `configure/integration`, a link to `../user-interface/sidebar.mdx` does _not_ need adjusted.
2024-06-27 22:22:39 -06:00
Kyle Gach
c94e995d2d Split problematic snippet into two
- It previously mixed three package manager snippets with a common one, which doesn't work correctly
2024-06-21 09:28:21 -06:00
Charles de Dreuille
d1e2130f9b writing tests 2024-06-18 09:57:00 +01:00
Charles de Dreuille
d1c2a507a8 Update all videos 2024-06-14 10:37:07 +01:00
Charles de Dreuille
c8495172d2 Updating all pngs 2024-06-14 09:55:31 +01:00
Charles de Dreuille
23ffd11f4b Multiple sections 2024-06-13 19:12:12 +01:00
Charles de Dreuille
c9b9a0929f Updated indexes root 2024-06-13 18:34:00 +01:00
Charles de Dreuille
fdf0856332 Convert code snippets paths into a single path 2024-06-13 17:53:43 +01:00
Charles de Dreuille
41e0a4fca2 Update comments to javascript 2024-06-13 17:52:40 +01:00
Charles de Dreuille
36b38f7283 Rename all file extensions from .md to .mdx 2024-06-13 17:52:12 +01:00
Charles de Dreuille
4949308eed Move all assets to a single folder 2024-06-13 17:50:53 +01:00
jonniebigodes
47f46c8a7f Docs: Test runner add missing flag to the CLI options 2024-05-23 21:13:50 +01:00
ImgBotApp
3312cd6067
[ImgBot] Optimize images
*Total -- 3,378.51kb -> 3,172.13kb (6.11%)

/docs/contribute/storybook-reproduction-generator-location.png -- 77.72kb -> 47.79kb (38.51%)
/code/lib/core-events/src/errors/message-reference.png -- 68.88kb -> 44.25kb (35.76%)
/CONTRIBUTING/prerelease-workflow-inputs.png -- 77.58kb -> 49.85kb (35.74%)
/docs/contribute/storybook-reproduction-generator-template.png -- 119.93kb -> 77.09kb (35.72%)
/docs/api/story-pipeline-playwright-ct.png -- 97.43kb -> 72.32kb (25.77%)
/docs/api/story-pipeline.png -- 90.20kb -> 68.18kb (24.41%)
/code/lib/core-server/public/favicon.svg -- 1.26kb -> 1.22kb (3.17%)
/docs/writing-tests/test-coverage-storybook.gif -- 566.61kb -> 554.79kb (2.09%)
/docs/assets/mdx-vs-code-extension-errors.gif -- 1,090.69kb -> 1,077.12kb (1.24%)
/code/lib/cli/rendererAssets/common/assets/tutorials.svg -- 1.24kb -> 1.23kb (1.1%)
/code/lib/cli/rendererAssets/common/assets/discord.svg -- 2.36kb -> 2.34kb (0.91%)
/docs/essentials/addon-themes-example.gif -- 1,177.62kb -> 1,168.98kb (0.73%)
/code/lib/cli/rendererAssets/common/assets/accessibility.svg -- 1.52kb -> 1.50kb (0.71%)
/test-storybooks/portable-stories-kitchen-sink/nextjs/stories/assets/accessibility.svg -- 1.52kb -> 1.50kb (0.71%)
/code/lib/cli/rendererAssets/common/assets/youtube.svg -- 0.70kb -> 0.70kb (0.69%)
/test-storybooks/portable-stories-kitchen-sink/nextjs/public/vercel.svg -- 0.61kb -> 0.61kb (0.16%)
/code/lib/cli/rendererAssets/common/assets/github.svg -- 2.66kb -> 2.66kb (0.11%)

Signed-off-by: ImgBotApp <ImgBotHelp@gmail.com>
2024-05-07 19:11:27 +00:00