You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* feat: CreateMeetingForm zod 스키마 추가
모임 생성 폼의 validation을 zod 기반으로 관리하기 위한 스키마 정의
- peopleCount, scheduledDate, timeSlot, region 필드 정의
- 기존 validateDateInput 유틸 함수 재사용
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
* refactor: 모임 생성 폼을 zod 기반 validation으로 리팩토링
- useCreateMeetingForm에 zodResolver 적용 및 submit 로직 통합
- Step 컴포넌트에서 rules 객체 제거
- page.tsx에서 submit 로직 제거하여 간소화
- CreateMeetingForm 인터페이스를 스키마 타입으로 대체
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
* refactor: DATE_ERROR_MESSAGES 중복 제거 및 formState 활용
- DATE_ERROR_MESSAGES를 유틸로 추출하여 공유
- DateStep에서 fieldState.error 사용으로 변경
- DateStepFooter에서 formState.errors 기반으로 버튼 활성화 판단
- 스키마에서 10자리 미만일 때는 validation 건너뛰도록 수정 (이전 동작 유지)
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
* style: useCreateMeetingForm 조건문 포맷팅 정리
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
---------
Co-authored-by: Claude Opus 4.5 <noreply@anthropic.com>
0 commit comments