Repository navigation
[Feat/#251] 홈 사물함 배정 상태에 신청가능 추가 - #252
Merged
Merged
Conversation
|
Important
This repository does not receive automatic reviews because it has fewer than 10 stars.
|
github-actions
Bot
requested review from
jjunh33,
leegain1,
tnals0924 and
xeoxxn
November 22, 2026 16:36
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.
#️⃣연관된 이슈
🎯 해결하려는 문제가 무엇인가요?
사물함 배정 상태 뱃지 시안에서 홈 내 정보 목록의 사물함 배정 상태가 미신청·신청가능·배정완료·기간종료 네 가지로 정해졌습니다. 지금 화면에는 신청가능이 없습니다.
❓ 왜 해결해야 하나요?
신청 기간에 아직 신청하지 않은 학생에게 홈에서 신청을 안내하기 위해서입니다. 서버는 홈 응답
locker.status에APPLICABLE을 추가했습니다(billilge/stream-server#318).⭐ 어떻게 해결했나요?
locker.status에APPLICABLE을 추가했습니다.LOCKER_STATUS_BADGES)에applicable: 신청가능(파랑,semantic.accent.foreground.blue)을 추가하고, 홈에서APPLICABLE→applicable로 연결했습니다.LockersAssignmentContent)은 신청 내역 API를 써서 신청가능이 나올 일이 없습니다. 그래서LockerAssignment.status타입에서applicable을 뺐습니다.🧩 이 PR의 한계 & 트레이드오프
없습니다.
⛓️ 기존 기능에 미치는 영향
locker.status를z.enum으로 검사해서, 모르는 값(APPLICABLE)을 받으면 홈 응답 검사가 실패해 홈 전체가 에러 화면이 됩니다. 이 PR을 먼저 배포한 뒤 서버 #318을 배포해야 합니다.EXPIRED(기간종료) 대신NOT_APPLIED(미신청)로 나옵니다. 프론트에EXPIRED일 때만 띄우는 문구는 없어서 배지만 바뀝니다.🔀 Edge Case & 실패 시나리오
📋 검토한 대안과 선택 이유
NOT_APPLIED로 바꿔서 홈이 깨지지 않게(.catch) 하는 방법도 있습니다. 다른 홈 필드도 같은 방식으로 검사하고 있어서 이 PR에서는 값만 추가했습니다. 필요하면 따로 이슈로 다루겠습니다.💬 리뷰 포인트
[c]서버 #318과의 배포 순서를 같이 맞춰 주세요.📸 스크린샷
가짜 홈 응답으로 네 상태를 띄운 화면입니다(위부터 미신청·신청가능·배정완료·기간종료).