Conversation
added 8 commits
February 10, 2026 09:53
Member
|
@coderabbitai summary |
|
✅ Actions performedSummary regeneration triggered. |
📝 Walkthrough목표 상세목록 조회 API 연동 및 WeekCalendar 스와이프 기능 구현주요 변경사항1. API 통합 및 데이터 흐름 개선
2. TCA 상태 및 액션 흐름 변경EditGoalListReducer:
HomeReducer:
3. WeekCalendar 스와이프 기능
4. 타입 안전성 강화
5. 라우팅 및 상태 전파
아키텍처 개선 효과
관련 이슈
WalkthroughINT를 INT64로 변경하여 Goal 관련 API의 ID 타입을 확대하고, 목표 상세목록 조회 API를 새로 추가했습니다. EditGoalList의 병렬 데이터 로딩을 새로운 단일 API 호출로 대체하고, 주간 스와이프 네비게이션 기능을 추가했습니다. Changes
Sequence Diagram(s)sequenceDiagram
participant EditGoalListView as EditGoalListView
participant EditGoalListReducer as EditGoalListReducer
participant GoalClient as GoalClient
participant GoalEndpoint as GoalEndpoint
participant GoalEditListResponseDTO as GoalEditListResponseDTO
EditGoalListView->>EditGoalListReducer: onAppear()
EditGoalListReducer->>EditGoalListReducer: dispatch(fetchGoals)
EditGoalListReducer->>GoalClient: fetchGoalEditList(date: String)
GoalClient->>GoalEndpoint: GET /api/v1/goals/detail?date=...
GoalEndpoint-->>GoalClient: GoalEditListResponseDTO
GoalClient->>GoalEditListResponseDTO: toEntity() mapping
GoalEditListResponseDTO-->>GoalClient: [Goal]
GoalClient-->>EditGoalListReducer: fetchGoalsCompleted([Goal], date)
EditGoalListReducer->>EditGoalListReducer: update state with cards & date
EditGoalListReducer-->>EditGoalListView: refresh UI
sequenceDiagram
participant HomeView as HomeView
participant TXCalendar as TXCalendar
participant HomeReducer as HomeReducer
participant HomeCoordinator as HomeCoordinator
participant EditGoalListReducer as EditGoalListReducer
HomeView->>TXCalendar: onWeekSwipe(gesture)
TXCalendar->>HomeReducer: send(.weekCalendarSwipe(next/previous))
HomeReducer->>HomeReducer: calculate nextWeekDate
HomeReducer->>HomeReducer: dispatch(setCalendarDate(date))
HomeReducer->>HomeReducer: dispatch(fetchGoals)
HomeReducer->>HomeCoordinator: delegate(.goToEditGoalList(date))
HomeCoordinator->>EditGoalListReducer: init(calendarDate: date)
EditGoalListReducer-->>HomeCoordinator: EditGoalListState
Estimated Code Review Effort🎯 4 (Complex) | ⏱️ ~45 minutes Possibly Related PRs
✨ Finishing touches
🧪 Generate unit tests (beta)
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 |
clxxrlove
pushed a commit
that referenced
this pull request
Feb 16, 2026
* refactor: fetchByGoalId 병렬 fetch -> GoalEditList fetch로 변경 - #138 * refactor: Id 타입 Int64로 변경 - #138 * feat: EditGoalListView 홈에서 보고있는 날짜 이어받기 - #138 * feat: 날짜 변경 시 해당 날짜 goal 불러오는 기능 구현 - #138 * feat: DTO repeatCycle 추가 - #138 * feat: TXCalendar week일 떄 스와이프 콜백 추가 - #138 * feat: TXCalendarUtil dateByAddingWeek 함수 구햔 - #138 * feat: Home, EditGoalList weekCalendar swipe 기능 구현 - #138 --------- Co-authored-by: jihun <jihun332@gmai.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
🔗 관련 이슈
📙 작업 내역
💬 추가 설명 or 리뷰 포인트 (선택)