스토리북 설명서 추가합니다.#52
Conversation
Summary of ChangesHello @Jieunsse, I'm Gemini Code Assist1! I'm currently reviewing this pull request and will post my feedback shortly. In the meantime, here's a summary to help you and other reviewers quickly get up to speed! 이 PR은 주로 다양한 UI 컴포넌트, 특히 모달에 대한 스토리북 문서 개선에 중점을 둡니다. 여러 모달 유형에 대한 포괄적인 문서를 도입하여 사용법, 속성 및 일반적인 패턴을 자세히 설명합니다. 또한 CheckBox 및 Dropdown 컴포넌트의 스토리북 항목을 개선하여 더 자세한 설명과 사용 예시를 추가했습니다. 사소한 CSS 임포트 경로 수정 및 TeamStatusBar를 위한 새로운 CSS 모듈도 포함되어 있습니다. Highlights
🧠 New Feature in Public Preview: You can now enable Memory to help Gemini Code Assist learn from your team's feedback. This makes future code reviews more consistent and personalized to your project's style. Click here to enable Memory in your admin console. Changelog
Activity
Using Gemini Code AssistThe full guide for Gemini Code Assist can be found on our documentation page, here are some quick tips. Invoking Gemini You can request assistance from Gemini at any point by creating a comment using either
Customization To customize Gemini Code Assist for GitHub experience, repository maintainers can create a configuration file and/or provide a custom code review style guide (such as PEP-8 for Python) by creating and adding files to a Limitations & Feedback Gemini Code Assist may make mistakes. Please leave feedback on any instances where its feedback is incorrect or counter productive. You can react with 👍 and 👎 on @gemini-code-assist comments. If you're interested in giving your feedback about your experience with Gemini Code Assist for Github and other Google products, sign up here. You can also get AI-powered code generation, chat, as well as code reviews directly in the IDE at no cost with the Gemini Code Assist IDE Extension. Footnotes
|
There was a problem hiding this comment.
Code Review
이 PR은 다양한 컴포넌트에 대한 Storybook 문서를 추가하고 기존 문서를 개선하는 데 중점을 두고 있습니다. 전반적으로 문서의 상세함과 일관성이 크게 향상되어 컴포넌트의 사용법을 이해하고 테스트하는 데 큰 도움이 될 것입니다. 특히 autodocs 태그를 활용하고, 각 prop에 대한 상세한 설명과 사용 예시, 동작 메모를 추가한 점이 인상적입니다. 몇몇 스토리 파일에서 버튼 스타일이 중복되는 부분이 있는데, 이를 공통 유틸리티로 추출하면 코드 유지보수성이 더욱 향상될 것입니다. 좋은 변경사항입니다!
| const triggerButtonStyle = { | ||
| border: '1px solid #d1d5db', | ||
| borderRadius: '10px', | ||
| background: '#ffffff', | ||
| color: '#111827', | ||
| padding: '10px 14px', | ||
| fontSize: '14px', | ||
| fontWeight: 600, | ||
| cursor: 'pointer', | ||
| }; |
There was a problem hiding this comment.
여러 스토리 파일에 걸쳐 triggerButtonStyle이 중복으로 정의되어 있습니다. 이는 코드 중복으로 유지보수를 어렵게 만들 수 있습니다.
이 스타일 객체를 Storybook 설정 내의 공통 유틸리티 파일로 추출하여 여러 스토리에서 재사용하는 것을 고려해 보세요. 예를 들어, storybook/styles.ts와 같은 파일을 만들어 상수로 내보내고 각 스토리 파일에서 가져와 사용할 수 있습니다.
이 문제는 다음 파일들에도 동일하게 적용됩니다:
AddTodoList.stories.tsxCalenderModal.stories.tsxChangePassword.stories.tsxLogoutModal.stories.tsxMemberInvite.stories.tsxProfileModal.stories.tsxResetPassword.stories.tsxWarningModal.stories.tsxtoast/Toast.stories.tsx
Summary
Issue
Scope
포함
특이사항