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

[Feature] Storybook 적용 #191

Open
1 of 2 tasks
Seo0H opened this issue Aug 4, 2023 · 0 comments
Open
1 of 2 tasks

[Feature] Storybook 적용 #191

Seo0H opened this issue Aug 4, 2023 · 0 comments
Assignees
Labels
feature New feature or request
Milestone

Comments

@Seo0H
Copy link
Member

Seo0H commented Aug 4, 2023

Overview

✨ Issue Type

  • 수정
  • 기능추가

🤔 AS-IS : Problem statement

현재 상태를 설명해주세요 (문제 상황 설명)

  • 현재 사용되고 있는 공통 컴포넌트의 양이 증가했어요. 따라서 이를 효율적으로 사용하기 위해 스토리북으로 정리하는 작업이 필요해요.

🛠️ TO-BE: Proposed work

  • component/common 안에 있는 컴포넌트들을 스토리북으로 문서화 할 예정이에요.
@Seo0H Seo0H added the feature New feature or request label Aug 4, 2023
@Seo0H Seo0H added this to the 💬 Backlog milestone Aug 4, 2023
Seo0H added a commit that referenced this issue Aug 4, 2023
- storybook 설치
- storybook-styled-components 관련 addon 설치
- main : import alias, Global titlePrefix 적용
- preview : autodocs 사용 시 표시 될 문서 블록 구성, 전역 layout 설정
- storybook lint extension 추가
Seo0H added a commit that referenced this issue Aug 4, 2023
@Seo0H Seo0H modified the milestones: 💬 Backlog , Story Book Aug 4, 2023
Seo0H added a commit that referenced this issue Aug 9, 2023
관심사 분리를 위해 좌우측 버튼, 가운데 로고 컴포넌트로 분리.
이후 스토리북으로 헤더의 여러 케이스를 모아 보기 용이하게 하기 위함.
Seo0H added a commit that referenced this issue Aug 9, 2023
Seo0H added a commit that referenced this issue Aug 17, 2023
modal-root가 필요해서 preview-head.html에 추가
autodocs 전체가 모달로 덮여버리기에 modal 스토리에서는 autodocs 제거
Seo0H added a commit that referenced this issue Aug 17, 2023
SearchInput이 가질 수 있는 상태를 스토리로 구현
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New feature or request
Projects
None yet
Development

When branches are created from issues, their pull requests are automatically linked.

2 participants