feat: 숭실대 재적생 가입 신청 폼 추가 - #15
Merged
Merged
Conversation
blocker 최소화 UX(단일 스크롤 폼, 조건부 노출, 임시저장, 실시간 마스킹)로 개인/팀 지원 신청서를 받는 새 지원서(applications) 테이블과 폼을 추가. 기존 참가자/팀 데모데이 스키마와는 분리해 추후 검토 후 등록하는 흐름으로 설계. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01AwDeTJKVg5t63jqNDVeiUV
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01AwDeTJKVg5t63jqNDVeiUV
|
Caution Review failedThe pull request is closed. ℹ️ Recent review info⚙️ Run configurationConfiguration used: Organization UI Review profile: ASSERTIVE Plan: Team Run ID: 📒 Files selected for processing (16)
📝 WalkthroughWalkthrough숭실대학교 재적생을 위한 공개 가입 신청 페이지를 추가했습니다. 신청서 검증, 입력 포맷팅, 학번 중복 확인, 초안 자동 저장, 팀원 관리, Server Action 제출, Supabase 저장 및 접수 결과 화면을 구현했습니다. Changes공개 모집 신청
Estimated code review effort: 4 (Complex) | ~45 minutes Sequence Diagram(s)sequenceDiagram
participant 지원자
participant SubmitApplicationForm
participant submitApplicationAction
participant Supabase
지원자->>SubmitApplicationForm: 신청서 입력
SubmitApplicationForm->>submitApplicationAction: 검증된 ApplicationInput 제출
submitApplicationAction->>Supabase: applications 저장
submitApplicationAction->>Supabase: 팀 신청 시 팀원 저장
Supabase-->>submitApplicationAction: 저장 결과
submitApplicationAction-->>SubmitApplicationForm: 성공 또는 오류 결과
SubmitApplicationForm-->>지원자: 접수 결과 또는 오류 표시
Poem
✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
보안 리뷰에서 지적된 문제 대응: Server Action은 폼을 거치지 않고도 직접 호출 가능한 엔드포인트라, 클라이언트 zodResolver만으로는 검증이 안 됨. applicationSchema를 엔티티 레이어로 옮겨 서버 액션에서도 동일한 스키마로 재검증하도록 하고, 학번 중복 확인 액션은 8자리 형식이 아니면 DB 조회 없이 거부하도록 함. 팀원 정보 라벨 크기도 TextField description과 통일. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01AwDeTJKVg5t63jqNDVeiUV
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
/apply)applications/application_team_members테이블 (관리자 검토 후 별도로 참가자 등록하는 흐름을 전제로 설계)Test plan
npm run typecheck,npx biome check통과/apply직접 조작해 확인: 학과 종속 선택, 전화번호/생년월일 마스킹, 개인↔팀 전환 후 제출(팀 잔여 데이터로 인한 무반응 버그 수정 확인), 팀원 도움말 자동 노출supabase/migrations/20260904120000_applications.sql은 아직 원격 프로젝트에 적용되지 않음 — 배포 전 마이그레이션 적용 필요🤖 Generated with Claude Code
https://claude.ai/code/session_01AwDeTJKVg5t63jqNDVeiUV
Summary by CodeRabbit
새 기능
개선 사항