Conversation
Walkthrough매칭 멤버 컴포넌트 및 관련 훅에 대한 단계적 개선. 반응형 배너 이미지 소스 추가, 네비게이션 라우팅 개선, UI 스타일 적용, 작업 선호도 조건 로직 단순화. Changes
Estimated code review effort🎯 2 (Simple) | ⏱️ ~10분
Possibly related PRs
Suggested labels
Suggested reviewers
Poem
Pre-merge checks and finishing touches❌ Failed checks (1 warning, 1 inconclusive)
✅ Passed checks (1 passed)
✨ Finishing touches
🧪 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 |
There was a problem hiding this comment.
Actionable comments posted: 0
🧹 Nitpick comments (2)
src/components/matchmember/MatchMemberModal.tsx (1)
26-43: 라우팅 분기 시 모달onClose()도 같이 호출하는 쪽이 안전해요.
라우트 이동만 하면(특히 레이아웃에 모달이 남는 구조면) 오버레이/스크롤락이 잔존할 수 있어서,hasWorkPreference분기에서onClose()후 이동을 권장합니다. 또한 린트가no-floating-promises류를 쓰면void router.push(...)또는await처리도 고려해주세요.const handleNextStep = () => { if (hasWorkPreference) { - router.push(playgroundLink.memberList()); + onClose(); + void router.push(playgroundLink.memberList()); } else { setStep((prev) => prev + 1); } };src/components/common/Banner/BalanceGameBanner/index.tsx (1)
3-23:MB_MID_MEDIA_QUERY는 공용 상수로 끌어올리고, mid 구간 높이 정책도 한 번만 확인해주세요.
이미src/styles/mediaQuery.ts에MB_MID_MEDIA_QUERY가 있어 중복 정의 대신 import가 더 안전하고, 현재BannerImage가 mid(376~768)에서는height: 168px가 유지되는데(모바일만 auto) 새 mid 배너가 크롭되어도 괜찮은지 확인이 필요해 보입니다.Also applies to: 41-55
📜 Review details
Configuration used: CodeRabbit UI
Review profile: CHILL
Plan: Pro
⛔ Files ignored due to path filters (1)
public/icons/img/banner_balancegame_mid.pngis excluded by!**/*.png
📒 Files selected for processing (4)
src/components/common/Banner/BalanceGameBanner/index.tsx(2 hunks)src/components/matchmember/MatchMemberModal.tsx(2 hunks)src/components/matchmember/MemberCard.tsx(1 hunks)src/components/matchmember/hooks/useMatchMemberEvent.ts(1 hunks)
🧰 Additional context used
🧬 Code graph analysis (1)
src/components/common/Banner/BalanceGameBanner/index.tsx (1)
src/styles/mediaQuery.ts (2)
MB_MID_MEDIA_QUERY(18-18)MB_BASE_MEDIA_QUERY(17-17)
⏰ Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (2)
- GitHub Check: chromatic-deploy
- GitHub Check: build-app / build
🔇 Additional comments (2)
src/components/matchmember/MemberCard.tsx (1)
167-180:Tag스타일 변경은 순수 UI 변경으로 문제 없어 보여요.
${fonts.LABEL_12_SB};와colors.orange400적용이 명확하고, 기존 구조/레이아웃에 부작용 없어 보입니다.src/components/matchmember/hooks/useMatchMemberEvent.ts (1)
48-52:hasWorkPreference조건 제거로 “기존 입력자”도 모달 대상이 될 수 있어요—플로우 정합성만 확인해주세요.
enableWorkPreferenceEvent가 true인 경우, 이미hasWorkPreference가 true여도 모달이 열릴 수 있으니(의도라면 OK) 실제 UX가 “모달 → 다음 단계에서 리스트로 라우팅” 시나리오와 맞는지 한 번만 점검 부탁드립니다.
|
🚀 프리뷰 배포 확인하기 🚀 |
* feat: 기획경선 관련 앰플리튜드 로깅 추가 (#2075) * feat: 기획경선 관련 앰플리튜드 로깅 추가 * fix: 기존 feedCard로 로깅되는 부분 memberCard로 변경 * fix: qa 반영 (배너, 홈팝업) (#2079) * fix: 이미 밸런스게임 한 사람이 팝업 접속시 바로 멤버페이지로 이동 * fix: 밸겜 여부 상관없이 홈팝업 오픈되도록 수정 * feat: 홈 배너 반응형 추가 * fix: 캐싱 초기화 로직 추가 및 모달 닫기 로직 (#2080) --------- Co-authored-by: 또이 <[email protected]> Co-authored-by: JAEHOON LEE <[email protected]>
🤫 쉿, 나한테만 말해줘요. 이슈넘버
🧐 어떤 것을 변경했어요~?
🤔 그렇다면, 어떻게 구현했어요~?
❤️🔥 당신이 생각하는 PR포인트, 내겐 매력포인트.
📸 스크린샷, 없으면 이것 참,, 섭섭한데요?