Conversation
|
Caution Review failedThe pull request is closed. Walkthrough새 CrossFamilyRankingScreen 추가와 HealthHomeScreen 내비게이션/뒤로가기 변경, 온도 요약 서비스 및 HomeDonutCapsule의 토큰/기여도 기반 도넛 로직 추가, pubspec에 타이틀 로고 에셋 등록; family_step_tracker_screen은 포맷팅만 수정됨. Changes
Sequence Diagram(s)sequenceDiagram
autonumber
actor User as 사용자
participant Home as HealthHomeScreen
participant CFR as CrossFamilyRankingScreen
participant Prefs as PrefsManager
participant Svc as StepRankService
User->>Home: "다른 가족들은..." CTA 탭
Home->>CFR: view='crossFamilyRanking'로 전환 (Stack)
rect rgb(250,245,240)
CFR->>Prefs: getAccessToken()
alt 토큰 없음
Prefs-->>CFR: null
CFR->>CFR: _errorMessage='로그인이 필요합니다.'
else 토큰 있음
Prefs-->>CFR: accessToken
CFR->>Svc: fetchFamilyStepRanks(accessToken)
alt 성공
Svc-->>CFR: List<FamilyStepRank>
CFR->>CFR: _familyRanks 업데이트 -> UI 렌더링
else 실패
Svc-->>CFR: Exception
CFR->>CFR: _errorMessage 설정 -> 에러 UI 렌더링
end
end
end
Note right of CFR: 로딩/에러/랭킹 리스트 표시
sequenceDiagram
autonumber
actor System as 앱
participant Donut as HomeDonutCapsule
participant Prefs as PrefsManager
participant TempSvc as TemperatureSummaryService
System->>Donut: initState
Donut->>Prefs: getAccessToken()/getFamilyCode()
alt 토큰/가족코드 존재
Prefs-->>Donut: token, familyCode
Donut->>TempSvc: fetchTemperatureSummary(familyCode, token)
alt 성공
TempSvc-->>Donut: memberIncreaseTemperatures / total...
Donut->>Donut: memberContributions 계산 -> 도넛 리페인트
else 실패
TempSvc-->>Donut: Exception
Donut->>Donut: memberContributions 리셋/에러 처리
end
else 없음
Prefs-->>Donut: null
Donut->>Donut: 기본값 사용 또는 에러 처리
end
Estimated code review effort🎯 4 (Complex) | ⏱️ ~45 minutes Poem
Tip 🔌 Remote MCP (Model Context Protocol) integration is now available!Pro plan users can now connect to remote MCP servers from the Integrations page. Connect with popular remote MCPs such as Notion and Linear to add more context to your reviews and chats. 📜 Recent review detailsConfiguration used: CodeRabbit UI 💡 Knowledge Base configuration:
You can enable these sources in your CodeRabbit configuration. 📒 Files selected for processing (2)
Note 🎁 Summarized by CodeRabbit FreeYour organization is on the Free plan. CodeRabbit will generate a high-level summary and a walkthrough for each pull request. For a comprehensive line-by-line review, please upgrade your subscription to CodeRabbit Pro by visiting https://app.coderabbit.ai/login. 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
SupportNeed help? Join our Discord community for assistance with any issues or questions. CodeRabbit Commands (Invoked using PR/Issue comments)Type Other keywords and placeholders
CodeRabbit Configuration File (
|
* feat: 타가족 걸음수 랭킹 화면 * feat: 타가족 걸음수 랭킹 화면 연결 * feat: 타가족 걸음수 랭킹 화면 연결 * feat: 타가족 걸음수 랭킹 화면 연결 * feat: 도넛 차트 api 연결
Summary by CodeRabbit
New Features
Chores