Skip to content

refactor : 예매자 삭제 확인 모달에 상태별 좌석 반납 안내 문구 분기 추가 - #542

Merged
move-hoon merged 2 commits into
developfrom
refactor/delete-booking-modal-guide
Aug 28, 2026
Merged

move-hoon merged 2 commits into
developfrom
refactor/delete-booking-modal-guide

Conversation

@move-hoon

Copy link
Copy Markdown
Member

📌 개요

  • 메이커의 예매자 관리 페이지에서 예매자 삭제 시, 선택된 예매자의 상태에 따라 확인 모달의 서브텍스트를 분기하여 좌석 반납 여부를 명확히 인지할 수 있도록 개선합니다.

🛠️ 작업 내용

  • 입금확인중(CHECKING_PAYMENT) 예매만 선택 시: 선택한 예매가 취소되며, 해당 티켓은 다시 예매 가능한 잔여 좌석으로 반납돼요. 안내
  • 취소/삭제 완료(BOOKING_CANCELLED / BOOKING_DELETED) 예매만 선택 시: 목록에서 예매자 정보가 삭제돼요. (잔여 좌석 수에는 변동이 없어요) 안내
  • 혼합 선택 시: 입금 확인 중인 예매는 취소되어 좌석이 반납되고, 취소된 예매는 목록에서 삭제돼요. 안내

📸 동작 확인

  • TypeScript 컴파일 및 타입 검증 완료 (tsc -b 통과)

@github-actions

Copy link
Copy Markdown

PR 작성하느라 고생 많았어요!! 라벨 잘 지정되었는지 확인 한 번 해 주기 🫶

@coderabbitai

coderabbitai Bot commented Aug 28, 2026 •

Copy link
Copy Markdown

Review Change Stack

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro Plus

Run ID: 46d970d2-ae9a-4137-b6b8-e67113164f40

📥 Commits

Reviewing files that changed from the base of the PR and between acc9922 and 4285bff.

📒 Files selected for processing (1)
  • src/pages/ticketholderlist/TicketHolderList.tsx

Included review availability: Your plan provides up to 1 included review per hour; 0 remain after this review.


Summary by CodeRabbit

  • 개선 사항
    • 결제 삭제 확인 대화상자가 선택한 예약 상태에 따라 안내 문구를 동적으로 표시하도록 개선했습니다.
    • 진행 중인 예약, 취소된 예약 또는 두 상태가 함께 선택된 경우를 구분해 보다 정확한 설명을 제공합니다.

Walkthrough

선택된 삭제 가능 예매자의 상태를 검사합니다. 활성 예매와 취소 예매의 포함 여부에 따라 삭제 확인 대화상자의 부제목을 동적으로 설정합니다.

Changes

예매자 삭제 흐름

Layer / File(s) Summary
상태별 삭제 확인 메시지
src/pages/ticketholderlist/TicketHolderList.tsx
삭제 가능한 선택 항목을 수집합니다. CHECKING_PAYMENT 및 BOOKING_CONFIRMED 상태와 BOOKING_CANCELLED 및 BOOKING_DELETED 상태를 구분합니다. 상태 조합에 따라 좌석 반환, 목록 삭제 또는 두 동작을 설명하는 부제목을 설정합니다.

Estimated code review effort: 2 (Simple) | ~10 minutes

Merge Risk: ⚪ Minimal · up to 4285b

This change only clarifies deletion messaging based on booking status, while the existing deletion behavior remains unchanged. No actionable merge-blocking risk remains beyond normal checks and review.

Suggested reviewers: pepperdad, sinji2102, imddoy, ocahs9

Poem

토끼가 상태를 살펴요
활성 좌석은 돌아가고
취소 목록은 지워져요
둘 다 있으면 함께 알려요
확인창도 똑똑해졌어요 🐇

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Title check ✅ Passed 제목은 예매자 삭제 확인 모달에 상태별 좌석 반납 안내 문구를 추가한 핵심 변경을 명확하게 설명합니다.
Description check ✅ Passed 설명은 변경 목적, 상태별 동작, 주요 안내 문구, TypeScript 검증 결과를 포함합니다. 관련 이슈 번호, PR 유형 체크, 리뷰어 메모, 실제 스크린샷은 없지만 핵심 변경 내용은 충분히 설명합니다.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff. Analyzed 0 functions across 1…
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
Full details: Docstring Coverage

Explanation

No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff. Analyzed 0 functions across 1 files.

✨ Finishing Touches
📝 Generate docstrings
  • Create stacked PR
  • Commit on current branch
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch refactor/delete-booking-modal-guide

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.

@sonarqubecloud

Copy link
Copy Markdown

@github-actions

Copy link
Copy Markdown

@github-actions

Copy link
Copy Markdown

@move-hoon
move-hoon merged commit b7b26b1 into develop Aug 28, 2026
5 of 6 checks passed
@github-project-automation github-project-automation Bot moved this from ✅Todo to 🎉Done in 🌱beat-board Aug 28, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

♻️ REFACTOR 프로덕션 코드 리팩토링

Projects

Status: 🎉Done

Development

Successfully merging this pull request may close these issues.

1 participant