-
Notifications
You must be signed in to change notification settings - Fork 47
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
Improve Storybook docs structure by hide or disable controls of internal-use Stories #1083
Labels
documentation
Issue or PR that improvements or additions to documentation
help wanted
Issue or PR that extra attention is needed
Comments
Dogdriip
added
documentation
Issue or PR that improvements or additions to documentation
help wanted
Issue or PR that extra attention is needed
and removed
status:need triage
Issue or PR that need triage attention
labels
Dec 22, 2022
9 tasks
장기적으로는 위 사진과 같은 스토리 구조가 되면 좋겠네요... https://storybook.js.org/ |
Would love to see this get picked up by the devs :) |
yangwooseong
added a commit
that referenced
this issue
Oct 27, 2023
<!-- How to write a good PR title: - Follow [the Conventional Commits specification](https://www.conventionalcommits.org/en/v1.0.0/). - Give as much context as necessary and as little as possible - Prefix it with [WIP] while it’s a work in progress --> ## Self Checklist - [x] I wrote a PR title in **English** and added an appropriate **label** to the PR. - [x] I wrote the commit message in **English** and to follow [**the Conventional Commits specification**](https://www.conventionalcommits.org/en/v1.0.0/). - [x] I [added the **changeset**](https://github.com/changesets/changesets/blob/main/docs/adding-a-changeset.md) about the changes that needed to be released. (or didn't have to) - [x] I wrote or updated **documentation** related to the changes. (or didn't have to) - [x] I wrote or updated **tests** related to the changes. (or didn't have to) - [x] I tested the changes in various browsers. (or didn't have to) - Windows: Chrome, Edge, (Optional) Firefox - macOS: Chrome, Edge, Safari, (Optional) Firefox ## Related Issue <!-- Please link to issue if one exists --> <!-- Fixes #0000 --> Fixes #1255 ## Summary <!-- Please brief explanation of the changes made --> - 스토리북 메이저 버전을 7로 올리고 브레이킹 체인지에 대응합니다. ## Details <!-- Please elaborate description of the changes --> 버전 업에 따른 변경 사항은 다음과 같습니다. - `main` 파일 마이그레이션 (codemod 사용), ts 마이그레이션하여 스토리북에서 제공하는 타입 활용 ([#](https://github.com/storybookjs/storybook/blob/next/MIGRATION.md#esm-format-in-mainjs)). `preview` 파일도 themeProvider 분리하고 ts 마이그레이션 - `getTitle` 유틸을 활용해서 `component/.../lastFolderName`형식으로 타이틀 얻어오던 것을 제거. 스토리북 7버전 부터는 동적으로 타이틀을 계산하는 것을 허용하지 않고 있고, 명시적으로 지정하지 않으면 알아서 경로를 잘 보여주게 됩니다. ([#](https://github.com/storybookjs/storybook/blob/next/MIGRATION.md#titles-are-statically-computed)) - CSF2 -> CSF3으로 변경 (codemod 사용) - `control` 의 `option` 필드가 `control` 아래에 있었던 것을 하나 올려서 같은 depth 가 되도록 변경 ([#](https://github.com/storybookjs/storybook/blob/next/MIGRATION.md#deprecated-controloptions)) - default export 되는 meta 의 타입 단언을 타입 선언으로 변경 - 이제 docs 가 스토리마다 있는 것이 아니라 컴포넌트 단위로 존재하게 됩니다. 이후 pr 에서 아래 이슈들을 차례대로 다루면 될 것 같습니다. #1083 #1000 ### Breaking change? (Yes/No) <!-- If Yes, please describe the impact and migration path for users --> - No ## References <!-- Please list any other resources or points the reviewer should be aware of --> - https://storybook.js.org/docs/7.0/react/migration-guide#page-top - https://github.com/storybookjs/storybook/blob/next/MIGRATION.md#migration
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
documentation
Issue or PR that improvements or additions to documentation
help wanted
Issue or PR that extra attention is needed
Description
Storybook MDX 문서 내부적으로 사용되는 Story가 Storybook 문서 구조(Sidebar 등)에 보이지 않아야 합니다.
Reasons for suggestion
Proposed solution
TODO
References
The text was updated successfully, but these errors were encountered: