Skip to content

fix: 그룹스터디 개설 시 단계별 필수 입력 검증 추가#323

Merged
yeun38 merged 1 commit intodevelopfrom
fix/qnrr-608
Jan 8, 2026
Merged

fix: 그룹스터디 개설 시 단계별 필수 입력 검증 추가#323
yeun38 merged 1 commit intodevelopfrom
fix/qnrr-608

Conversation

@doyou1
Copy link
Contributor

@doyou1 doyou1 commented Jan 7, 2026

Summary

  • 그룹스터디 개설 폼의 "다음" 버튼에 단계별 필수 입력 검증을 추가
  • 사용자가 필수 항목을 입력하지 않으면 다음 단계로 진행할 수 없도록 개선
  • 각 단계별 필수 필드에 주석을 추가하여 스키마 가독성 향상

Changes

  • group-study-form.tsx: useMemo를 활용한 단계별 필수 필드 검증 로직 추가
  • group-study-form.schema.ts: 단계별 필드 주석 추가 및 썸네일 필드 재배치
  • "다음" 버튼에 disabled prop 연동

Test plan

  • 1단계: 필수 항목 미입력 시 "다음" 버튼 비활성화 확인
  • 2단계: 필수 항목 미입력 시 "다음" 버튼 비활성화 확인
  • 3단계: 필수 항목 미입력 시 "완료" 버튼 비활성화 확인
  • 각 단계별 모든 필수 항목 입력 시 버튼 활성화 확인

🤖 Generated with Claude Code

Before After
image image

그룹스터디 개설 폼의 "다음" 버튼에 단계별 필수 입력 검증을 추가하여
사용자가 필수 항목을 입력하지 않으면 다음 단계로 진행할 수 없도록 개선

- 단계별 필수 필드 검증 로직 추가 (useMemo)
- 각 단계별 필수 필드에 주석 추가로 가독성 향상
- 썸네일 필드를 2단계 섹션으로 재배치

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
@doyou1 doyou1 self-assigned this Jan 7, 2026
@yeun38
Copy link
Contributor

yeun38 commented Jan 8, 2026

저희가 react-hook-form이랑 zod쓰면서 이제 유효성 검사에 편리하게 사용하려고 했는데 이부분 라이브러리도 한번 보실겸 활용하셔서 리팩토링해보셔도 좋을 것 같습니다!

@yeun38 yeun38 merged commit 93b7f00 into develop Jan 8, 2026
8 checks passed
@yeun38 yeun38 deleted the fix/qnrr-608 branch January 8, 2026 12:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants