Skip to content

[#434] HomeView에 Coordinator을 구성한다#442

Merged
opficdev merged 3 commits intodevelopfrom
refactor/#434-HomeView-Coordinator
May 10, 2026
Merged

[#434] HomeView에 Coordinator을 구성한다#442
opficdev merged 3 commits intodevelopfrom
refactor/#434-HomeView-Coordinator

Conversation

@opficdev
Copy link
Copy Markdown
Owner

🔗 연관된 이슈

📝 작업 내용

📌 요약

  • HomeViewCoordinator 추가
  • HomeViewHomeViewModel 및 Home 라우터 소유 책임을 coordinator로 분리
  • HomeView의 DIContainer 직접 의존 제거

🔍 상세

  • MainViewHomeViewCoordinator@State로 소유하도록 구성
  • MainViewCoordinator에서 HomeViewModel, homeNavigationRouter 제거
  • HomeViewCoordinator에서 HomeViewModel, NavigationRouter<HomeRoute>, Home presentation용 ViewModel 생성 책임 관리
  • HomeViewHomeViewCoordinator를 주입받아 상태와 액션을 참조하도록 변경
  • TodoManageViewModel, TodoEditorViewModel, SearchViewModel 생성 경로를 HomeViewCoordinator로 이동
  • Today, PushNotification, Profile coordinator 분리는 후속 브랜치 범위로 제외

📸 영상 / 이미지 (Optional)

@opficdev opficdev self-assigned this May 10, 2026
Copy link
Copy Markdown
Contributor

@gemini-code-assist gemini-code-assist Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request refactors the HomeView architecture by introducing a HomeViewCoordinator to manage view models and routing, decoupling these responsibilities from the MainViewCoordinator. The feedback identifies a redundant @Environment router injection in HomeView that should be removed since the coordinator already provides it.

Comment thread DevLog/UI/Home/HomeView.swift Outdated
@opficdev opficdev merged commit ed65075 into develop May 10, 2026
1 check passed
@opficdev opficdev deleted the refactor/#434-HomeView-Coordinator branch May 10, 2026 04:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

HomeView에 Coordinator을 구성한다

1 participant