fix: 홈 진행중인 사건 API 연동 및 UI 수정 - #83
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>
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
Caution Review failedThe pull request is closed. ℹ️ Recent review info⚙️ Run configurationConfiguration used: Repository UI (base), Organization UI (inherited) Review profile: CHILL Plan: Pro Plus Run ID: 📒 Files selected for processing (1)
📝 WalkthroughWalkthrough
Changes진행중 사건 조회 기능 실제 연동
Estimated code review effort🎯 2 (Simple) | ⏱️ ~10 minutes Possibly related PRs
Poem
🚥 Pre-merge checks | ✅ 3 | ❌ 2❌ Failed checks (1 warning, 1 inconclusive)
✅ 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 |
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
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/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
릴리스 노트
New Features
Improvements
Style