Repository navigation
refactor : 예매자 삭제 확인 모달 안내 문구 분기 로직 가독성 개선 - #543
Merged
Merged
Conversation
|
PR 작성하느라 고생 많았어요!! 라벨 잘 지정되었는지 확인 한 번 해 주기 🫶 |
github-actions
Bot
requested review from
imddoy,
ocahs9,
pepperdad and
sinji2102
August 28, 2026 17:50
|
Warning Review limit reachedNext included review available in 22 minutes. View limit detailsLimit details: You’ve used the included review currently available. You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository. Review configuration: ⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Plus Run ID: 📒 Files selected for processing (1)
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 |
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.



📌 개요
Set기반 매칭 및 헬퍼 함수로 리팩터링하여 가독성과 런타임 안정성을 확보합니다.🛠️ 작업 내용
ACTIVE_STATUSES(CHECKING_PAYMENT,BOOKING_CONFIRMED,입금확인중,예매 확정) 및CANCELLED_STATUSESSet기반 상태 조회 적용getDeleteModalSubTitle순수 헬퍼 함수 분리로 모달 서브텍스트 생성 로직 단순화checkedIdSet(Set<number>)을 활용한 O(1) 필터링 최적화 및 명시적Number캐스팅 적용tsc -b) 검증 완료📸 동작 확인
선택한 예매가 취소되며, 해당 티켓은 다시 예매 가능한 잔여 좌석으로 반납돼요.목록에서 예매자 정보가 삭제돼요. (잔여 좌석 수에는 변동이 없어요)선택한 예매 중 활성 예매는 취소되어 좌석이 반납되고, 이미 취소된 건은 목록에서 삭제돼요.