fix: 디데이 설정 화면에서의 흐름제어 변경#297
Conversation
|
Important Review skippedAuto reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the ⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Pro Plus Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
📝 WalkthroughWalkthroughDday 기념일 설정 화면이 파트너의 실시간 상태를 지속적으로 확인하도록 수정되었습니다. 화면 진입 시 3초 간격의 폴링을 시작하고, 파트너가 기념일을 완료하면 모달로 알리며 중복 제출을 방지합니다. 사용자가 기념일을 설정하거나 화면을 벗어날 때 폴링을 정리합니다. ChangesDday 파트너 상태 지속 폴링
Sequence Diagram(s)sequenceDiagram
participant View as OnboardingDdayView
participant Reducer as OnboardingDdayReducer
participant Client as onboardingClient
View->>Reducer: .onAppear
Reducer->>Reducer: 3초 간격 .pollingTick 타이머 시작
loop 폴링 반복
Reducer->>Client: fetchOnboardingStatus()
Client-->>Reducer: .pollingResult
alt 파트너 완료됨
Reducer->>Reducer: 모달 표시, 폴링 취소
else 아직 진행 중
Reducer->>Reducer: 폴링 계속
end
end
View->>Reducer: .completeButtonTapped
Reducer->>Reducer: 폴링 취소
Reducer->>Client: setAnniversary(date)
Client-->>Reducer: .setAnniversaryResponse
alt 성공
Reducer->>View: .ddayCompleted 위임
else 이미 온보딩됨
Reducer->>Reducer: 모달 표시
end
Estimated code review effort🎯 3 (Moderate) | ⏱️ ~25 minutes Possibly related issues
Suggested labels
Suggested reviewers
✨ Finishing Touches🧪 Generate unit tests (beta)
Comment |
|
@coderabbitai summary |
✅ Actions performedSummary regeneration triggered. |
|
다른작업 추가해야해서 일단 얼려둠 |
jihun32
left a comment
There was a problem hiding this comment.
오오 continuousClock 이런것도 있네 배웠다 ㅋㅋ
고생했어~
🔗 관련 이슈
📙 작업 내역
💬 추가 설명 or 리뷰 포인트 (선택)