Repository navigation
[Feat/#91] 사물함 신청 확인·진행·완료·오류 화면 구현 - #92
Merged
Merged
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 3, 2026 14:26
github-actions
Bot
requested review from
jjunh33,
leegain1,
tnals0924 and
xeoxxn
October 3, 2026 14:26
sangrae2325
force-pushed
the
feat/#91-lockers-apply-flow
branch
from
October 7, 2026 08:43
ad31e5c to
c510bc8
Compare
sangrae2325
changed the base branch from
feat/#75-lockers-section-lockers
to
main
October 7, 2026 10:37
sangrae2325
force-pushed
the
feat/#91-lockers-apply-flow
branch
from
October 7, 2026 10:44
c510bc8 to
a6ebc50
Compare
xeoxxn
added a commit
that referenced
this pull request
Oct 8, 2026
사물함 화면 PR(#92)이 먼저 머지되면서 같은 작업이 양쪽에 생겼다. 중복된 것은 모두 main 쪽을 남긴다. - CompleteCheck.tsx, EventsApplicationCompleteScreen.tsx: 체크 모션을 공용으로 빼는 작업을 양쪽이 각자 했다. main은 거기서 더 나아가 결과 화면 공용 컴포넌트 (ResultScreen)까지 만들었으므로 main 쪽을 그대로 쓴다. - component-convention.md: Lottie 파일 위치 규칙을 양쪽이 같은 내용으로 고쳤다. - wds-component-usage.md, router.tsx, HomeScreen.tsx: 서로 다른 것을 더한 충돌이라 양쪽을 모두 남긴다.
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.
#️⃣연관된 이슈
🎯 해결하려는 문제가 무엇인가요?
칸 선택 화면에서
사물함 신청하기를 눌러도 아무 동작이 없다. Figma의 사물함 선택 확인 모달(1737:218322), 신청 로딩(1737:218076), 신청 완료(1737:218058), 오류 5종(3013:99093·99116·99139·99162·99183)을 옮긴다.❓ 왜 해결해야 하나요?
사물함 신청 흐름이 칸 선택에서 끊겨 있다. 신청은 선착순이라 다른 사람이 먼저 신청하거나 신청 중에 마감되는 경우가 실제로 생기므로, 실패 이유마다 다음에 할 행동을 안내해야 한다.
실제 뷰
https://github.com/user-attachments/assets/43a2b463-bd16-4983-bc94-c368eb3b99d3 (동작 영상)



⭐ 어떻게 해결했나요?
화면 흐름
사물함 신청하기→ 확인 모달(수정/신청하기) → 신청 중 화면 → 완료 또는 오류 화면/lockers/apply/sections/:sectionId/complete, 오류:/lockers/apply/sections/:sectionId/failure/:reasonreplace로 열어서 뒤로가기로 칸 선택 화면에 돌아가지 않는다공용 결과 화면
ResultScreencomponents/ui/ResultScreen.tsx로 모았다SubmittingOverlay)·완료 체크 모션(CompleteCheck)·Lottie·자물쇠 그림도components/ui/,assets/*/common/으로 옮겨 행사·사물함이 같이 쓴다오류 화면 5종
taken다른 사용자가 먼저 신청all-closed전체 마감section-closed구역 마감networkserver다시 시도는 오류 화면에서 바로 같은 사물함으로 다시 신청한다(신청 중 화면 → 결과 화면)WDS —
TopNavigation(ScreenHeader) +TopNavigationButton,Typography,ActionArea/ActionAreaButton. 결과 화면 틀은 WDSFallbackView가 일러스트 폭·패딩·컨테이너 폭이 고정이라 맞지 않아 로컬로 짰다(wds-component-usage.md에 정리).🧩 이 PR의 한계 & 트레이드오프
submitLockersApplication이 목업이다(2.6초 뒤 성공). 오류 화면은MOCK_OUTCOME을 바꿔서 확인한다LOCKER_ALREADY_ASSIGNED(409)만 있고 전체 마감·구역 마감 코드는 없다. 백엔드 작업 후 연결한다신청내역 보기는 준비 중 화면으로 간다. 신청내역 화면이 아직 없다(행사 완료 화면과 같음)다른 구역 선택하기가 길어서 Figma보다 넓다. 맞추려면 공용 버튼 여백을 바꿔야 해서 보류했다⛓️ 기존 기능에 미치는 영향
ResultScreen으로 바뀌었다. 렌더링은 교체 전과 같다SubmittingOverlay를 쓴다(문구는 prop으로 그대로 넘김)icons/events/application-closed.svg→icons/common/document-lock.svg,lottie/events/*→lottie/common/*🔀 Edge Case & 실패 시나리오
/failure/xxx)는 홈으로 보낸다📋 검토한 대안과 선택 이유
다시 시도시 칸 선택 화면으로 돌아가기 — 사용자가 다시 칸을 고르고 확인해야 해서, 오류 화면에서 바로 같은 사물함으로 다시 신청하도록 했다FallbackView— 위 WDS 항목 참고💬 리뷰 포인트
ResultScreen의 props(illustration·illustrationGap·children·primaryAction·secondaryAction)가 앞으로의 결과 화면에도 충분한지FAILURE_CONTENTS)로 둔 구조(LockersApplyFailureScreen.tsx)