fix: 홈 진행중인 사건 API 연동 및 UI 수정 - #85
Conversation
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
- GET /api/disputes에 active=true 파라미터 추가 → 4개 진행중 상태 필터링 - toParticipantDto에 nickname: null 추가로 타입 불일치 해소 - useActiveCases 실제 fetch 함수 활성화 및 DTO → ActiveCase 변환 구현 Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
|
The latest updates on your projects. Learn more about Vercel for GitHub. |
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Repository UI (base), Organization UI (inherited) Review profile: CHILL Plan: Pro Plus Run ID: 📒 Files selected for processing (6)
💤 Files with no reviewable changes (1)
📝 WalkthroughWalkthrough
ChangesActive disputes 필터 및 훅 연동
Estimated code review effort🎯 3 (Moderate) | ⏱️ ~20 minutes Possibly related PRs
Poem
🚥 Pre-merge checks | ✅ 3 | ❌ 2❌ Failed checks (2 warnings)
✅ Passed checks (3 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
Comment |
테스트 플랜 결과환경
결과
특이사항
|
Summary
GET /api/disputes에active=true파라미터 추가 → 진행중 상태(waiting_opponent,opponent_joined,both_submitted,judging) 필터링useActiveCasesfetch 함수 활성화 및 API 응답 → 컴포넌트 타입 변환 구현max-width: 365px제거로 너비 100% 적용Changes
src/app/api/disputes/route.tsactive=true필터 추가,nickname: null타입 불일치 해소src/app/api/disputes/[id]/route.tsnickname: null타입 불일치 해소src/hooks/useActiveCases.tssrc/app/page.module.scssmax-width제거src/components/home/NewCaseButton.tsxsrc/types/dispute.tsDisputeParticipantDto에nickname필드 추가Test plan
waiting_opponent,opponent_joined,both_submitted,judging)인 사건만 표시되는지 확인🤖 Generated with Claude Code
Summary by CodeRabbit
릴리스 노트
새로운 기능
버그 수정
스타일