[DEV-124] 요청중이거나 거절 모달이 띄워진 유저에게는 초대가 안되는 이슈 해결#255
Conversation
- 초대 요청도 오고 상단 알림 리스트에도 쌓이나 UI 상 교체가 되지 않는 문제임을 파악. - 알림 리스트에 쌓이는지 확인. - GameMatchStatus requestDevlined 상태에서 receivedInvite event를 받을 때 case 추가 refs: DEV-124
📝 WalkthroughWalkthroughThe change expands pattern matching in GameMatchStatus to handle the receiveInvite event from an additional state. A new case now transitions from .requestDeclined to receivedInvite, allowing invite reception after a request was declined while preserving the wasSoloGame flag. Changes
Estimated code review effort🎯 1 (Trivial) | ⏱️ ~2 minutes Possibly related PRs
Suggested labels
Suggested reviewers
Poem
🚥 Pre-merge checks | ✅ 3 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (3 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing touches
🧪 Generate unit tests (beta)
Tip Issue Planner is now in beta. Read the docs and try it out! Share your feedback on Discord. 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 |
There was a problem hiding this comment.
Actionable comments posted: 1
🤖 Fix all issues with AI agents
In `@iOS/App/Sources/Presentation/Lobby/Model/GameMatchStatus.swift`:
- Around line 47-50: The pattern match handling .receiveInvite currently covers
(.idle), (.soloGame), and (.requestDeclined) but omits the .sendingRequest
state; update the match in GameMatchStatus (the case handling .receiveInvite) to
include (.sendingRequest, .receiveInvite(let player, let wasSoloGame)) alongside
the existing tuples so that .sendingRequest transitions to
.receivedInvite(player:player, wasSoloGame:wasSoloGame) the same way as the
other states.
요약
작업 목록
작업 내용
UI 변경
closes DEV-124
Summary by CodeRabbit