Conversation
WalkthroughPain 영역 처리가 전반적으로 확장되었습니다. 표시·변환 로직이 단일 문자열에서 리스트 기반으로 변경되어 다중 부위 지원이 추가되었습니다. 입력 화면은 세분화된 신체 부위를 선택·전송하며, PainService는 painLevel 없이 다중 painAreas 리스트를 전송하도록 API가 변경되었습니다. 기타 파일은 포맷팅 변경뿐입니다. Changes
Sequence Diagram(s)sequenceDiagram
autonumber
participant UI as HealthStatusInputScreen
participant PS as PainService
participant API as Backend
rect rgba(200,230,255,0.3)
Note over UI: 사용자 신체 부위 선택(복수 가능)
UI->>UI: _getSelectedPainAreas()로 부위 리스트 산출
UI->>UI: 화면 전면/후면 전환 시 표시 동기화
end
rect rgba(220,255,220,0.3)
UI->>PS: addPainRecord(date, painAreas: List)
PS->>API: POST /pain-records { date, painArea: [ ... ] }
API-->>PS: 2xx 또는 오류 응답(본문 포함)
alt 성공
PS-->>UI: 결과 반환
UI->>UI: 성공 스낵바 표시
else 오류
PS-->>UI: 상태/본문 포함 예외
UI->>UI: 에러 메시지 표시
end
end
sequenceDiagram
autonumber
participant UI as HealthHomeScreen
participant Map as PainArea Map
UI->>UI: 오늘 기록 불러오기
alt painArea가 List
loop 각 항목
UI->>Map: 대문자 키로 한국어 변환
Map-->>UI: 한국어 라벨
end
UI->>UI: 중복 제거 후 콤마 결합
else 단일 값
UI->>Map: 대문자 키로 한국어 변환
Map-->>UI: 한국어 라벨 또는 원문
end
UI->>UI: 화면에 표시
Estimated code review effort🎯 4 (Complex) | ⏱️ ~60 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 (5)
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: 통증 부위 연결
Summary by CodeRabbit