Skip to content

[REFACTOR/#229] 도연 3차 QA - #234

Merged
doyeon0307 merged 9 commits into
developfrom
refactor/#229-dodo_qa_3
Jul 17, 2026
Merged

doyeon0307 merged 9 commits into
developfrom
refactor/#229-dodo_qa_3

Conversation

@doyeon0307

@doyeon0307 doyeon0307 commented Jul 17, 2026 •

Copy link
Copy Markdown
Collaborator

Related issue 🛠

Work Description ✏️

  • 홈에서 매칭 완료-준비 완료한 강습은 진행중이 아니라 NOW이다

  • 결제화면 팀 이름, 강습인원/장비상태 누락필드 추가

Screenshot 📸

Uncompleted Tasks 😅

  • Task1

To Reviewers 📢

Summary by CodeRabbit

  • 새로운 기능

    • 매칭 요청 정보에 요청자 이름과 참여자별 이름·나이·성별이 표시됩니다.
    • 결제 화면의 매칭 상세 카드에 참여 인원이 반영됩니다.
    • 결제 정보에 참여자 목록과 장비 착용 완료 상태가 표시됩니다.
  • 버그 수정

    • 예약 카드의 상태 및 칩 표시가 실제 진행 상태에 맞게 개선되었습니다.
    • 진행 중인 예약이 더욱 명확하게 구분됩니다.
    • 리뷰 카드의 콘텐츠와 날짜 간 간격 및 배치가 조정되었습니다.

@doyeon0307
doyeon0307 requested a review from a team July 17, 2026 12:47
@doyeon0307 doyeon0307 self-assigned this Jul 17, 2026
@doyeon0307 doyeon0307 added 🔨 FIX 버그 수정 ♻️ REFACTOR 전면 수정, 리팩토링 labels Jul 17, 2026
@doyeon0307 doyeon0307 linked an issue Jul 17, 2026 that may be closed by this pull request
2 tasks
@coderabbitai

coderabbitai Bot commented Jul 17, 2026 •

Copy link
Copy Markdown

Review Change Stack

Warning

Review limit reached

@doyeon0307, you've reached your PR review limit, so we couldn't start this review.

Next review available in: 48 minutes

Enable usage-based reviews in Billing to review now. Otherwise, wait until the next included review is available.
You're only billed for reviews past your plan's rate limits ($0.25/file).

How can I continue?

After more reviews become available, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

To avoid repeated limits, reduce automatic review volume by pausing incremental auto-reviews earlier, using label-based review opt-in, excluding WIP or generated PR titles, or requesting reviews manually when the PR is ready. If your team needs uninterrupted high-volume reviews, an organization admin can enable usage-based reviews.

How do review limits work?

CodeRabbit enforces per-developer PR review limits for each organization. Most developers receive the normal plan review availability.

For paid Pro and Pro+ PR reviews, CodeRabbit uses adaptive limits for sustained high-volume activity. When a developer's recent PR review activity reaches the 95th percentile or higher among CodeRabbit users, additional reviews become available more gradually as earlier reviews age out of the rolling window.

Please refer docs for additional details.

Review details
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro Plus

Run ID: 727f3270-8d55-411d-a19c-eb532588d137

📥 Commits

Reviewing files that changed from the base of the PR and between c63e9a1 and 02bac09.

📒 Files selected for processing (1)
  • presentation/consumer-home/src/main/java/com/ssing/presentation/consumerhome/ConsumerHomeViewModel.kt
📝 Walkthrough

Walkthrough

매칭 요청 요약에 요청자와 참여자 상세 정보가 추가되어 결제 화면에 표시됩니다. 소비자·강사 홈 카드의 상태 및 칩 매핑이 변경되었고, 리뷰 카드의 여백 배치가 조정되었습니다.

Changes

매칭 참여자 데이터 흐름

Layer / File(s) Summary
매칭 요약 계약 및 매핑
data/src/main/java/com/ssing/data/matching/consumermatching/model/ConsumerMatchingActive.kt, data/src/main/java/com/ssing/data/matching/consumermatching/remote/dto/response/ConsumerMatchingActiveResponse.kt, data/src/main/java/com/ssing/data/matching/consumermatching/repository/impl/ConsumerMatchingRepositoryImpl.kt
requesterName과 참여자 상세 목록을 모델 및 응답 DTO에 추가하고 활성 매칭 모델로 변환합니다.
결제 화면 참여자 표시
presentation/consumer-payment/src/main/java/com/ssing/presentation/consumerpayment/PaymentViewModel.kt, presentation/consumer-payment/src/main/java/com/ssing/presentation/consumerpayment/PaymentScreen.kt
참여자 정보를 결제 상태로 변환하고 성별을 매핑하며, 참여자 수와 장비 상태를 상세 카드에 전달합니다.

강습 카드 상태 표시

Layer / File(s) Summary
소비자 강습 카드 상태 연계
presentation/consumer-home/src/main/java/com/ssing/presentation/consumerhome/ConsumerHomeViewModel.kt
예약 상태를 먼저 계산한 뒤 상태에 따라 칩 텍스트를 생성합니다.
강사 강습 카드 상태 매핑
presentation/instructor-home/src/main/java/com/ssing/presentation/instructorhome/InstructorHomeViewModel.kt
진행 중 상태를 Status.Matching으로 매핑하고 상태 기반 칩 텍스트를 사용합니다.

리뷰 카드 레이아웃

Layer / File(s) Summary
리뷰 카드 여백 배치
presentation/consumer-matching/src/main/java/com/ssing/presentation/consumermatching/component/InstructorProfileContent.kt
리뷰 콘텐츠와 날짜 사이에 고정 여백과 가변 여백을 পৃথ পৃথ로 배치합니다.

Estimated code review effort: 3 (Moderate) | ~20 minutes

Sequence Diagram(s)

sequenceDiagram
  participant MatchingResponse
  participant ConsumerMatchingRepositoryImpl
  participant PaymentViewModel
  participant PaymentScreen
  participant SsingMatchingDetailCard
  MatchingResponse->>ConsumerMatchingRepositoryImpl: requesterName과 participants 전달
  ConsumerMatchingRepositoryImpl->>PaymentViewModel: 매핑된 active model 제공
  PaymentViewModel->>PaymentScreen: 참여자 목록과 equipmentStatus 설정
  PaymentScreen->>SsingMatchingDetailCard: teamCount 전달
Loading

Possibly related PRs

Suggested labels: 📱UI, 🧱Component

Suggested reviewers: joyrii, doorimng, apffkxhsls

🚥 Pre-merge checks | ✅ 2 | ❌ 3

❌ Failed checks (2 warnings, 1 inconclusive)

Check name Status Explanation Resolution
Out of Scope Changes check ⚠️ Warning 대부분은 이슈 #229와 맞지만, 리뷰 카드 날짜 간격 수정은 홈/결제 화면 요구사항과 직접 관련되지 않은 별도 변경입니다. 리뷰 카드 간격 수정은 별도 PR로 분리하거나, 이슈 #229 범위에 맞는 변경만 남겨 주세요.
Docstring Coverage ⚠️ Warning Docstring coverage is 0.00% which is insufficient. The required threshold is 80.00%. Write docstrings for the functions missing them to satisfy the coverage threshold.
Title check ❓ Inconclusive 제목이 이슈와 리팩터링 맥락은 담지만, 실제 변경 핵심인 홈 NOW 표시와 결제 화면 필드 추가를 구체적으로 드러내지 않습니다. 홈 화면 NOW 표시와 결제 화면 팀명/인원/장비상태 추가를 반영한 더 구체적인 제목으로 바꿔 주세요.
✅ Passed checks (2 passed)
Check name Status Explanation
Linked Issues check ✅ Passed 홈 화면의 NOW 매핑과 결제 화면의 팀명·인원·장비상태 추가가 이슈 #229 요구사항과 일치합니다.
Description check ✅ Passed 템플릿의 주요 섹션은 대부분 채워졌고 관련 이슈, 작업 내용, 스크린샷, 미완료 작업, 리뷰어 항목이 모두 있습니다.
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch refactor/#229-dodo_qa_3

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.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 1

🧹 Nitpick comments (1)
presentation/consumer-payment/src/main/java/com/ssing/presentation/consumerpayment/PaymentViewModel.kt (1)

49-62: 🎯 Functional Correctness | 🔵 Trivial | 💤 Low value

장비 상태(equipmentStatus) 하드코딩 여부 확인

PR 요약에 서버 변경 사항을 반영하여 결제 화면의 장비 상태 처리를 업데이트했다고 명시되어 있으나, 현재 "착용 완료"로 하드코딩되어 있습니다. 의도된 임시 하드코딩인지, 아니면 ConsumerMatchingActive.Active 내의 상태 필드(예: itemStatus)를 매핑해야 하는 부분인지 확인을 권장합니다.

🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In
`@presentation/consumer-payment/src/main/java/com/ssing/presentation/consumerpayment/PaymentViewModel.kt`
around lines 49 - 62, Update the equipmentStatus assignment in the
PaymentViewModel mapping to use the equipment status field from
ConsumerMatchingActive.Active, such as itemStatus, instead of the hardcoded "착용
완료" value; preserve the existing display mapping or fallback behavior used for
status values.
🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

Inline comments:
In
`@presentation/consumer-home/src/main/java/com/ssing/presentation/consumerhome/ConsumerHomeViewModel.kt`:
- Around line 80-91: Update the ConsumerLessonCard.toCardStatus() mapping used
by toReservation() to inspect displayStatus instead of always returning
Status.Default. Map IN_PROGRESS to Status.Matching, matching
InstructorHomeViewModel, while preserving the existing default behavior for
other statuses.

---

Nitpick comments:
In
`@presentation/consumer-payment/src/main/java/com/ssing/presentation/consumerpayment/PaymentViewModel.kt`:
- Around line 49-62: Update the equipmentStatus assignment in the
PaymentViewModel mapping to use the equipment status field from
ConsumerMatchingActive.Active, such as itemStatus, instead of the hardcoded "착용
완료" value; preserve the existing display mapping or fallback behavior used for
status values.
🪄 Autofix (Beta)

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro Plus

Run ID: 3b96287b-078c-433c-a614-7b70479664c7

📥 Commits

Reviewing files that changed from the base of the PR and between 1030410 and c63e9a1.

📒 Files selected for processing (8)
  • data/src/main/java/com/ssing/data/matching/consumermatching/model/ConsumerMatchingActive.kt
  • data/src/main/java/com/ssing/data/matching/consumermatching/remote/dto/response/ConsumerMatchingActiveResponse.kt
  • data/src/main/java/com/ssing/data/matching/consumermatching/repository/impl/ConsumerMatchingRepositoryImpl.kt
  • presentation/consumer-home/src/main/java/com/ssing/presentation/consumerhome/ConsumerHomeViewModel.kt
  • presentation/consumer-matching/src/main/java/com/ssing/presentation/consumermatching/component/InstructorProfileContent.kt
  • presentation/consumer-payment/src/main/java/com/ssing/presentation/consumerpayment/PaymentScreen.kt
  • presentation/consumer-payment/src/main/java/com/ssing/presentation/consumerpayment/PaymentViewModel.kt
  • presentation/instructor-home/src/main/java/com/ssing/presentation/instructorhome/InstructorHomeViewModel.kt

@doyeon0307
doyeon0307 merged commit 8705ffa into develop Jul 17, 2026
2 checks passed
@doyeon0307
doyeon0307 deleted the refactor/#229-dodo_qa_3 branch July 17, 2026 13:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

🔨 FIX 버그 수정 ♻️ REFACTOR 전면 수정, 리팩토링 💙 도연

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Refactor] 도연 3차 QA

1 participant