Closed dhkim511 closed 1 week ago
이 PR은 TTS 드롭다운 컴포넌트의 주요 리팩토링을 구현하고 사용자 인증을 위한 새로운 UI 컴포넌트를 추가합니다. 변경 사항에는 TTS 드롭다운을 별도의 컴포넌트로 분리하고, 회원가입 기능을 위한 새로운 폼 컴포넌트를 추가하며, 탭, 라벨, 드롭다운과 같은 다양한 UI 유틸리티를 구현하는 것이 포함됩니다.
classDiagram
class SignupForm {
- useForm<SignupFormData>
- useState
- onSubmit(data: SignupFormData)
- handleEmailCheck()
- handleOpenTerms(type: 'service' | 'privacy', isAll: boolean)
- handleAgreeTerms(type: 'service' | 'privacy')
}
class TermsAgreement
class TermsDialog
class Button
class Form
class FormControl
class FormField
class FormItem
class FormLabel
class FormMessage
class Input
class TERMS
class SignupFormData
class SignupFormRequest
class signupFormSchema
SignupForm --> TermsAgreement
SignupForm --> TermsDialog
SignupForm --> Button
SignupForm --> Form
SignupForm --> FormControl
SignupForm --> FormField
SignupForm --> FormItem
SignupForm --> FormLabel
SignupForm --> FormMessage
SignupForm --> Input
SignupForm --> TERMS
SignupForm --> SignupFormData
SignupForm --> SignupFormRequest
SignupForm --> signupFormSchema
classDiagram
class TTSPage {
- useState<FileProgressItem[]>
- handleDeleteCompleted()
- handleRetryFailed()
}
class FileProgressHeader
class TTSOptionsSidebar
class TTSTable
class Button
class AudioFooter
TTSPage --> FileProgressHeader
TTSPage --> TTSOptionsSidebar
TTSPage --> TTSTable
TTSPage --> Button
TTSPage --> AudioFooter
classDiagram
class FileProgressDropdown {
- useState
- useMemo
- toggleStatus(status: string)
}
class DeleteCompletedButton
class RetryFailedButton
class TbChevronDown
class TbChevronUp
class TbCircleFilled
class TbRotate
FileProgressDropdown --> DeleteCompletedButton
FileProgressDropdown --> RetryFailedButton
FileProgressDropdown --> TbChevronDown
FileProgressDropdown --> TbChevronUp
FileProgressDropdown --> TbCircleFilled
FileProgressDropdown --> TbRotate
변경 사항 | 세부 사항 | 파일 |
---|---|---|
유효성 검사를 포함한 회원가입 폼 기능 구현 |
|
src/components/forms/SignupForm.tsx src/components/terms/TermsAgreement.tsx src/utils/signupSchema.ts src/constants/validation.ts src/types/signup.ts |
TTS 드롭다운을 별도의 컴포넌트로 리팩토링 |
|
src/components/dropdowns/FileProgressDropdown.tsx src/components/header/FileProgressHeader.tsx src/components/header/MainHeader.tsx src/components/dropdowns/ProfileDropdown.tsx src/components/footer/AudioFooter.tsx |
새로운 UI 유틸리티 컴포넌트 추가 |
|
src/components/ui/tabs.tsx src/components/ui/dropdown-menu.tsx src/components/ui/form.tsx src/components/ui/label.tsx |
컴포넌트 문서 및 스토리 업데이트 |
|
src/stories/ui/badge.stories.tsx src/stories/ui/tabs.stories.tsx src/stories/ui/dropdown-menu.stories.tsx src/stories/ui/button.stories.tsx |
Visit the preview URL for this PR (updated for commit 7cda9cb):
https://aipark-four-t--149-0i7cfik0.web.app
(expires Sun, 24 Nov 2024 07:14:51 GMT)
🔥 via Firebase Hosting GitHub Action 🌎
Sign: 0a4b3ef6ecc2c695a6a0d6ade46651e032870a9f
tts 드롭다운 컴포넌트 수정
Sourcery에 의한 요약
TTS 드롭다운, 배지, 가입 양식을 포함한 여러 구성 요소를 리팩토링하여 기능성과 사용자 경험을 개선합니다. SonarQube 및 Slack 알림 단계를 수정하여 CI 및 배포 워크플로를 향상시킵니다. 새로운 및 기존 구성 요소에 대한 문서 및 스토리북 스토리를 업데이트합니다.
개선 사항:
CI:
배포:
문서:
테스트:
Original summary in English
## Summary by Sourcery Refactor multiple components including the TTS dropdown, badge, and signup form for improved functionality and user experience. Enhance the CI and deployment workflows by modifying SonarQube and Slack notification steps. Update documentation and storybook stories for new and existing components. Enhancements: - Refactor the TTS dropdown component to improve its functionality and user interface. - Update the badge component to provide clearer descriptions and remove redundant styles. - Enhance the signup form with validation using Zod and React Hook Form for better user input handling. - Refactor the audio footer and main header components to improve layout and user interaction. CI: - Commenting out the SonarQube analysis results posting step in the CI workflow. Deployment: - Modify the Slack notification format in the AWS deployment workflow to use blocks for better message formatting. Documentation: - Add detailed documentation for the new tabs and dropdown menu components, including usage examples and customization options. Tests: - Update storybook stories for various UI components to reflect recent changes and improvements.