Conversation
|
Warning Rate limit exceeded
⌛ How to resolve this issue?After the wait time has elapsed, a review can be triggered using the We recommend that you space out your commits to avoid hitting the rate limit. 🚦 How do rate limits work?CodeRabbit enforces hourly rate limits for each developer per organization. Our paid plans have higher rate limits than the trial, open-source and free plans. In all cases, we re-allow further reviews after a brief timeout. Please see our FAQ for further information. WalkthroughMainScreen에 이중 백 버튼으로 앱 종료하는 핸들러를 추가하고, ProcedureViewModel의 여러 UI 상태 갱신 로직을 Changes
Sequence Diagram(s)sequenceDiagram
actor User
participant UI as "Compose UI\n(MainScreen / Screen)"
participant VM as "ProcedureViewModel"
participant Repo as "ProcedureRepository"
participant Activity as "Activity"
User->>UI: 버튼 클릭(onNextClick) / 백버튼 누름
alt 백버튼 흐름
UI->>Activity: BackHandler -> 첫 클릭 타임스탬프 저장
UI->>Activity: 두번째 클릭(<=2000ms) -> activity.finish()
end
alt 절차 흐름 (onNextClick)
UI->>VM: onNextClick()
VM->>VM: 현재 uiState 검사 (currentStateOrNull)
alt 요구 시 비동기 절차 조회 필요
VM->>Repo: fetchProcedures(keyword?)
Repo-->>VM: Result.Success / Result.Failure
VM->>VM: _uiState.update { emit Loading / Success with items or revert }
VM-->>UI: 상태(성공/실패) 반영
else 간단 단계 전진
VM->>VM: _uiState.update { advance step, adjust lists }
VM-->>UI: 상태 업데이트
end
end
Estimated code review effort🎯 3 (Moderate) | ⏱️ ~25 minutes Possibly related PRs
Suggested reviewers
🚥 Pre-merge checks | ✅ 3 | ❌ 2❌ Failed checks (2 warnings)
✅ Passed checks (3 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. 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 |
Related issue 🛠
Work Description ✏️
Uncompleted Tasks 😅
To Reviewers 📢
끗 ~~
Summary by CodeRabbit
릴리스 노트
✏️ Tip: You can customize this high-level summary in your review settings.