Conversation
|
Caution Review failedThe pull request is closed. Walkthrough프로필 이미지 관리 체계가 profileImageId 기반으로 전환되었습니다. 회원가입·로그인·설정 저장 로직과 여러 화면(UI)이 이 ID를 사용해 동적 에셋 경로를 로드하도록 수정되었습니다. 일부 화면은 Future.wait로 가족 정보와 콘텐츠를 병렬 로드하며, Stateless → Stateful 전환이 포함됩니다. Changes
Sequence Diagram(s)sequenceDiagram
participant U as User
participant PS as ProfilepicScreen
participant SP as SharedPreferences(PrefsManager)
participant MS as ModeScreen
participant SS as SignupService
participant LS as LoginService
U->>PS: 아이콘 선택
PS->>SP: signup_username, signup_profileImageId 저장
U->>MS: 다음(역할 선택/진행)
MS->>SP: signup_profileImageId 읽기
MS->>SS: register(email, password, name, isParent, profileImageId)
SS-->>MS: 등록 성공 응답
MS->>LS: login(email, password)
LS->>SP: accessToken, userInfo(profileImageId) 저장
LS-->>MS: 로그인 성공
sequenceDiagram
participant UI as Screen(UI)
participant FS as FamilyService
participant PM as PrefsManager
UI->>UI: Future.wait([fetchSteps/Logs, getFamilyMembers])
UI-->>UI: stepResult / maumLogResponse, familyMembers
UI->>PM: getProfileImagePathByUserId/ByUserName(..., familyMembers)
PM-->>UI: 에셋 경로 반환(기본값 포함)
UI->>UI: 이미지 렌더링
sequenceDiagram
participant UI as UI(FutureBuilder)
participant PM as PrefsManager
UI->>PM: getUserInfo()
PM-->>UI: { profileImageId }
UI->>PM: getProfileImagePath(profileImageId)
PM-->>UI: assets/...png
UI->>UI: CircleAvatar/Image.asset 표시
Estimated code review effort🎯 3 (Moderate) | ⏱️ ~25 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 (10)
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 (
|
Summary by CodeRabbit