Repository navigation
[Feat/#115] 행사 신청내역 화면 구현 (목록·빈 상태·상세·신청취소) - #116
Open
sangrae2325 wants to merge 8 commits into
Open
sangrae2325 wants to merge 8 commits into
sangrae2325 wants to merge 8 commits into
Conversation
|
Important
This repository does not receive automatic reviews because it has fewer than 10 stars. ⚙️ Run configuration
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 |
sangrae2325
marked this pull request as ready for review
October 10, 2026 14:02
github-actions
Bot
requested review from
jjunh33,
leegain1,
tnals0924 and
xeoxxn
October 10, 2026 14:02
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.
#️⃣연관된 이슈
🎯 해결하려는 문제가 무엇인가요?
행사 목록의
신청내역탭이 "신청내역은 아직 준비 중이에요" 문구로만 남아 있었고, 행사 신청 완료 화면의신청내역 보기는 없는 주소(/my/applications)로 가서 준비 중 화면이 떴다. Figma 행사 신청내역 섹션(1133:44426)을 목데이터로 구현한다./events/applications1133:46168/events/applications1165:63551/events/applications/:applicationId1133:461811133:46131/events/applications/:applicationId1133:46216❓ 왜 해결해야 하나요?
신청한 행사를 확인하거나 취소할 곳이 없다. 홈의 신청한 행사
더보기·행(#114)도 이 화면으로 연결해야 한다.실제뷰
⭐ 어떻게 해결했나요?
1. 데이터 (main 규칙:
entities+mockupApi+use()+ 스켈레톤)entities/events에MyEventApplication타입·목데이터·API 추가fetchMyEventApplications(),fetchMyEventApplication(id),cancelMyEventApplication(id)EventsQuestion,EventsAnswer등)을features/events/constants에서entities/events/types.ts로 옮겼다. 신청 폼은 import 경로만 바뀐다lib/mockupApi.ts에 바꾸는 요청용mockupMutation, 캐시를 지우는invalidateMockupApi추가2. 행사 목록 탭을 경로로 나눔
/events, 신청내역/events/applications. 같은 목록 화면이 주소로 탭을 고른다replace라 히스토리가 쌓이지 않고, 새로고침해도 탭이 유지된다/events/applications에서도 "행사"가 선택된다신청내역 보기→/events/applications3. 신청내역 목록·빈 상태
행사 상세·신청 상세EventsEmptyState를 재사용하고행사 둘러보기→ 행사 탭4. 신청내역 상세
EventsQuestionField로 읽기 전용 표시Label/Disable글자로 흐리게5. 신청 취소
신청 취소→ConfirmModal tone="negative"→ 취소 → 상세가 취소 상태로 바뀌고 "신청이 취소됐어요." 토스트6. 공용 컴포넌트 수정
EventsQuestionField: 읽기 전용 모드(변경 콜백을 안 넘기면)·disabled추가, 읽기 전용이면aria-readonlyEventsQuestionField: WDSTextArea글자가 16px로 고정돼 Figma(Label 1/Reading14px)와 달라서sx로 덮었다. 기존 신청 폼 입력칸도 14px로 바뀐다EventsEmptyState: 버튼 동작(onAction)·설명 굵기 옵션 추가, px 임의값을 Tailwind 크기로 정리7. 문서 —
wds-component-usage.md에 행사 신청내역 절 추가, 신청 폼 TextArea 항목에 글자 덮어쓰기 추가🧩 이 PR의 한계 & 트레이드오프
신청 취소버튼이 있어서, 행사가 끝났거나 취소 기한이 지난 경우도 지금은 버튼이 보인다신청내역 보기(→/my/locker)는 #114에서 한다⛓️ 기존 기능에 미치는 영향
신청내역 보기가 준비 중 화면 대신 신청내역 탭으로 간다🔀 Edge Case & 실패 시나리오
📋 검토한 대안과 선택 이유
?tab=)·navigate state vs 경로 — 주소가 깔끔하면서 새로고침·다른 화면에서의 진입에도 탭이 유지되는 경로로 했다EventsSummaryCard재사용 vs 새로 — 기존 카드는 아이콘 + 일시·장소라 Figma의 "행사·신청·취소" 라벨 행과 달라서 새로 만들었다💬 리뷰 포인트
[c]lib/mockupApi.ts의mockupMutation·invalidateMockupApi— 다른 화면의 "바꾸는 요청"에도 이 방식을 쓸지[a]취소할 수 없는 경우(행사 종료·기한 경과) 처리는 디자인 확정 후