feat(session): 응답 계약 정합 + 참가자 라운지/내 팀 강조 - #40
Merged
Conversation
- types: SessionResponse id→sessionId, participants[] 추가 (백엔드 계약 정합) - HostWaitingClient: session.participants 초기 스냅샷 사용 → 새로고침/늦은 입장에도 목록 표시, WS 수신 후 실시간 전환 - PlayerWaitingClient: 라운지(입장한 참가자 닉네임 칩, 내 닉 강조) - PlayerLeaderboardClient: 팀 탭에서 내 팀 강조(teamId=teamName 정합으로 매칭) - NewSessionClient: session.id→sessionId 라우팅 수정
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.
백엔드 #18(SessionResponse sessionId/participants, teamId=teamName)에 맞춰 프론트를 정합하고 남은 한계를 닫습니다.
SessionResponse.id → sessionId,participants[]추가session.participants사용 → 호스트가 새로고침하거나 늦게 들어와도 목록이 보이고, WS 수신 후 실시간으로 전환teamId=teamName정합으로 매칭 정상화)NewSessionClient: 세션 생성 후session.sessionId로 라우팅검증
pnpm tsc --noEmit✅ ·pnpm build✅