Repository navigation
refactor(app): 앱 루트를 Navigation 3로 전환 (#1702) - #2295
Merged
Merged
Conversation
8 tasks
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.
핵심 파일
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 3FeatureNavDisplay로 전환했습니다. 홈·마음의 기록·타임레터·애프터노트 탭은 각자 루트 back stack을 갖고, 기존 마음의 기록과 타임레터 Nav2 그래프는 루트 entry 안에서 유지합니다. 로그인 성공, 로그아웃·탈퇴, 수신자 흐름, 홈 진입 액션과 루트 back 경계를 새 상태에 연결했습니다.홈의 마음의 기록 바로가기, 설정의 수신자 등록 인자, Android 테스트에서 쓰던 NavController 연결도 새 경계에 맞췄습니다. Guard 대상인 피처 소유 테스트와 그래프 파일은 수정하지 않았습니다.
Closes #1702
검증
:app:testDebugUnitTest:app:compileDebugKotlin:app:compileDebugAndroidTestKotlin:app:assembleDebuglintDebug:app:processDebugMainManifestktlintCheck,:build-logic:ktlintCheckgit diff --check실기기 계측 테스트는 연결된 Android 기기가 없어 로컬에서 실행하지 않았습니다. CI에서 전체 Android 테스트를 실행합니다.
CI Test Plan
{ "androidTest": { "mode": "full", "reason": "앱 루트 navigation runtime과 탭·인증·진입·back 연결을 바꿨고 Android 계측 테스트의 루트 연결도 갱신했다.", "tests": [] } }