Skip to content

refactor(app): 앱 루트를 Navigation 3로 전환 (#1702) - #2295

Merged
1hyok merged 3 commits into
developfrom
refactor/1702-nav3-root
Oct 14, 2026
Merged

1hyok merged 3 commits into
developfrom
refactor/1702-nav3-root

Conversation

@1hyok

@1hyok 1hyok commented Oct 14, 2026 •

Copy link
Copy Markdown
Collaborator

핵심 파일

  • app/src/main/java/com/afternote/afternote_fe/navigation/AppNavigation.kt (루트 NavDisplay와 기존 피처 Nav2 호스트 통합)
  • app/src/main/java/com/afternote/afternote_fe/navigation/AppState.kt (탭별 루트 back stack, 인증 경계, back 처리)
  • app/src/main/java/com/afternote/afternote_fe/navigation/AppNavigationActions.kt (홈·온보딩·설정에서 새 루트 상태로 이동)
  • core/ui/src/main/kotlin/com/afternote/core/ui/Route.kt (루트 NavKey 계약)

변경

앱 루트의 Navigation 2 NavHost를 Navigation 3 FeatureNavDisplay로 전환했습니다. 홈·마음의 기록·타임레터·애프터노트 탭은 각자 루트 back stack을 갖고, 기존 마음의 기록과 타임레터 Nav2 그래프는 루트 entry 안에서 유지합니다. 로그인 성공, 로그아웃·탈퇴, 수신자 흐름, 홈 진입 액션과 루트 back 경계를 새 상태에 연결했습니다.

홈의 마음의 기록 바로가기, 설정의 수신자 등록 인자, Android 테스트에서 쓰던 NavController 연결도 새 경계에 맞췄습니다. Guard 대상인 피처 소유 테스트와 그래프 파일은 수정하지 않았습니다.

Closes #1702

검증

  • :app:testDebugUnitTest
  • :app:compileDebugKotlin
  • :app:compileDebugAndroidTestKotlin
  • :app:assembleDebug
  • lintDebug
  • :app:processDebugMainManifest
  • ktlintCheck, :build-logic:ktlintCheck
  • git diff --check

실기기 계측 테스트는 연결된 Android 기기가 없어 로컬에서 실행하지 않았습니다. CI에서 전체 Android 테스트를 실행합니다.

CI Test Plan

{
  "androidTest": {
    "mode": "full",
    "reason": "앱 루트 navigation runtime과 탭·인증·진입·back 연결을 바꿨고 Android 계측 테스트의 루트 연결도 갱신했다.",
    "tests": []
  }
}

@github-actions github-actions Bot added the android-test PR head에서 Android Managed Device 계측 테스트 실행 label Oct 14, 2026
@1hyok
1hyok added this pull request to the merge queue Oct 14, 2026
Merged via the queue into develop with commit 0831364 Oct 14, 2026
21 checks passed
@1hyok
1hyok deleted the refactor/1702-nav3-root branch October 14, 2026 05:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

android-test PR head에서 Android Managed Device 계측 테스트 실행

Projects

None yet

Development

Successfully merging this pull request may close these issues.

refactor(platform): 앱 루트를 Navigation 3 NavDisplay로 전환

1 participant