-
Notifications
You must be signed in to change notification settings - Fork 0
Feature/#26 navigation #27
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. Weโll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Important Review skippedAuto reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the You can disable this status message by setting the Walkthrough์ด ํ ๋ฆฌํ์คํธ๋ Android ์ ํ๋ฆฌ์ผ์ด์ ์ ๋ค๋น๊ฒ์ด์ ๊ตฌ์กฐ๋ฅผ ๊ฐ์ ํ๊ธฐ ์ํ ํฌ๊ด์ ์ธ ๋ณ๊ฒฝ ์ฌํญ์ ํฌํจํ๊ณ ์์ต๋๋ค. ์ฃผ์ ๋ณ๊ฒฝ ์ฌํญ์ Jetpack Compose ๊ธฐ๋ฐ์ ๋ค๋น๊ฒ์ด์ ์์คํ ๊ตฌํ์ผ๋ก, ๋ก๊ทธ์ธ, ํ์๊ฐ์ , ํ, ๊ณต์ง์ฌํญ ๋ฑ ๋ค์ํ ํ๋ฉด ๊ฐ ์ด๋์ ๊ด๋ฆฌํ๋ ์๋ก์ด ๋ค๋น๊ฒ์ด์ ๋ฉ์ปค๋์ฆ์ ๋์ ํ์ต๋๋ค. ๋น๋ ๊ตฌ์ฑ๊ณผ ์์กด์ฑ ๊ด๋ฆฌ๋ ํจ๊ป ์ ๋ฐ์ดํธ๋์์ต๋๋ค. Changes
Assessment against linked issues
Possibly related PRs
Suggested labels
Suggested reviewers
Poem
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media? ๐ชง TipsChatThere are 3 ways to chat with CodeRabbit:
Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
๊ณ ์ํ์ จ์ต๋๋ค!!!
fun NavController.navigateToSignUp(navOptions: NavOptions? = null) { navigate(SignUpRoute, navOptions) } | ||
|
||
fun NavGraphBuilder.signupNavGraph(){ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
์ข๋ค์ ๐
modifier = modifier, | ||
) { | ||
loginNavGraph( | ||
onSignUpClick = { navigator.navigateSignUpScreen() } |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
๏ฟฝC: NIA์์๋ loginNavGraph์ onXXXClick ๋ค์ด๋ฐ์ด ๋ค์ด๊ฐ๋์?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nia์์๋ toSignUpDestination
์ด๋ฐ ๋ค์ด๋ฐ์ด ๋ค์ด๊ฐ๋๋ฐ
์ ํฌ๋ ๋ฒํผ์ ํตํด์ ์ ํ์ด ๋์ด์ click ๋ค์ด๋ฐ์ด ๋ ์ง๊ด์ ์ผ ๊ฒ ๊ฐ๋ค๊ณ ์๊ฐํ์ด์ !
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
์ํ ์ .. onSignUpClick์ด SignUpButton์ ํด๋ฆญํ ๊ฒฝ์ฐ์ธ๊ฐ์?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
๋ต ๋ง์ต๋๋ค~~
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
์ ๊ทธ๋ ๋ค๋ฉด Graph์์๋ Screen์ ๋์์ ๋ชจ๋ฅด๊ฒ๋ ํ๋๊ฒ ๋์ค์ ์ ์ง๋ณด์ ํ๊ธฐ ๋ ์ข์ ๊ฒ ๊ฐ์์!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
์คํธ .. ์ข์ต๋๋ค ! ๋ก๊ทธ์ธ ๋ทฐ ์์ ํ๋ฉด ๋งค๊ฐ๋ณ์๊ฐ ์ถ๊ฐ ๋ ๊ฒ ๊ฐ์์ ๊ทธ ๋ ๊ฐ์ด ๋ค์ด๋ฐ ๋ฐ์ํ๋๋ก ํ ๊ฒ์ !
pluginManager.apply("org.jetbrains.kotlin.android") | ||
with(pluginManager) { | ||
apply("org.jetbrains.kotlin.android") | ||
apply("org.jetbrains.kotlin.plugin.serialization") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
A: ์ค Nia์์๋ serialization์ ์ฌ๊ธฐ์ ํ๋์?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
์ ์๋
ใ
ใ
์ปจ๋ฐด์
์ด๋ฒ์ ์ถ๊ฐํ๋ฉด์ ๋๋๊ฑด๋ฐ ์์ ์ด ํ์๋ก ํด๋ณด์
๋๋ค.. !
( register ๋ฐฉ์ vs / .gradle.kts ํ๋ฌ๊ทธ์ธ ํ์ผ.)
์ฐ์ ์์ ๋์ ์์ ๋๋๋ฉด ๋ ผ์ ํตํด์ ๊ฐ์ ํ๋๊ฒ ์ข์ ๊ฒ ๊ฐ์ต๋๋ท
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
์ข์ต๋๋ค!! ์ผ๋จ ์๋ ๊ฒ ๊ณ ๊ณ ํ์์ฃ
@coderabbitai review |
โ Actions performedReview triggered.
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Actionable comments posted: 16
โป๏ธ Duplicate comments (1)
feature/signup/src/main/java/com/yapp/feature/signup/navigation/SignUpNavigation.kt (1)
10-18
: ๐งน Nitpick (assertive)๊ณต๊ฐ API์ ๋ํ ๋ฌธ์ํ ํ์
HomeNavigation.kt์ ๋์ผํ ํจํด์ผ๋ก, ๋ค์ ํญ๋ชฉ๋ค์ ๋ํ KDoc ๋ฌธ์ํ๊ฐ ํ์ํฉ๋๋ค:
SignUpRoute
๋ฐ์ดํฐ ๊ฐ์ฒดnavigateToSignUp
ํ์ฅ ํจ์signupNavGraph
ํ์ฅ ํจ์
๐ Review details
Configuration used: CodeRabbit UI
Review profile: ASSERTIVE
Plan: Pro
๐ Files selected for processing (17)
app/build.gradle.kts
(1 hunks)app/src/main/java/com/yapp/app/official/MainActivity.kt
(2 hunks)app/src/main/java/com/yapp/app/official/navigation/YappNavHost.kt
(1 hunks)app/src/main/java/com/yapp/app/official/ui/Navigator.kt
(1 hunks)app/src/main/java/com/yapp/app/official/ui/YappApp.kt
(1 hunks)build-logic/src/main/java/com/yapp/ComposeAndroid.kt
(1 hunks)build-logic/src/main/java/com/yapp/KotlinAndroid.kt
(3 hunks)build.gradle.kts
(1 hunks)feature/home/src/main/java/com/yapp/feature/home/HomeScreen.kt
(1 hunks)feature/home/src/main/java/com/yapp/feature/home/navigation/HomeNavigation.kt
(1 hunks)feature/login/src/main/java/com/yapp/feature/login/LoginScreen.kt
(1 hunks)feature/login/src/main/java/com/yapp/feature/login/navigation/LoginNavigation.kt
(1 hunks)feature/notice/src/main/java/com/yapp/feature/notice/NoticeScreen.kt
(1 hunks)feature/notice/src/main/java/com/yapp/feature/notice/navigation/NoticeNavigation.kt
(1 hunks)feature/signup/src/main/java/com/yapp/feature/signup/SignUpScreen.kt
(1 hunks)feature/signup/src/main/java/com/yapp/feature/signup/navigation/SignUpNavigation.kt
(1 hunks)gradle/libs.versions.toml
(3 hunks)
๐ Additional comments (12)
feature/login/src/main/java/com/yapp/feature/login/LoginScreen.kt (1)
12-19
:โ ๏ธ Potential issue๋ก๊ทธ์ธ ํ๋ฉด UI ์์ ์ถ๊ฐ ํ์
ํ์ฌ ๊ตฌํ๋ ๋ก๊ทธ์ธ ํ๋ฉด์๋ ํ์์ ์ธ UI ์์๋ค์ด ๋๋ฝ๋์ด ์์ต๋๋ค:
- ์ด๋ฉ์ผ/์์ด๋ ์ ๋ ฅ ํ๋
- ๋น๋ฐ๋ฒํธ ์ ๋ ฅ ํ๋
- ๋ก๊ทธ์ธ ์ํ ํ์
- ํ์๊ฐ์ ๋งํฌ
- ๋น๋ฐ๋ฒํธ ์ฐพ๊ธฐ ๋งํฌ
๋ํ ๋น onClick ํธ๋ค๋ฌ๋ ์ค์ ๋ก๊ทธ์ธ ๋ก์ง์ผ๋ก ๋์ฒด๋์ด์ผ ํฉ๋๋ค.
feature/home/src/main/java/com/yapp/feature/home/HomeScreen.kt (1)
15-19
: onClick ํธ๋ค๋ฌ ๊ตฌํ ๋ฐ ๋ฒํผ ํ ์คํธ ๊ฐ์ ํ์๋ค์ ์ฌํญ๋ค์ ๊ฐ์ ํด์ฃผ์ธ์:
- ๋ฒํผ์ onClick ํธ๋ค๋ฌ๊ฐ ๋น์ด์์ต๋๋ค
- "Home"์ด๋ผ๋ ๋ฒํผ ํ ์คํธ๋ ์ฌ์ฉ์์๊ฒ ๋ฒํผ์ ๋ชฉ์ ์ ๋ช ํํ ์ ๋ฌํ์ง ๋ชปํฉ๋๋ค
feature/notice/src/main/java/com/yapp/feature/notice/navigation/NoticeNavigation.kt (2)
10-11
: Serializable ๋ฐ์ดํฐ ๊ฐ์ฒด์ ์ ์ ํ ์ฌ์ฉ์ ํ์ธํ์ต๋๋ค.Route ๊ฐ์ฒด๋ฅผ
@Serializable data object
๋ก ์ ์ํ ๊ฒ์ ์ข์ ์ ๊ทผ ๋ฐฉ์์ ๋๋ค.
12-12
: ๋ค๋น๊ฒ์ด์ ํ์ฅ ํจ์์ ๊ตฌํ์ด ๊ฐ๊ฒฐํฉ๋๋ค.
NavController
ํ์ฅ ํจ์๋ฅผ ํตํด ๋ค๋น๊ฒ์ด์ ๋ก์ง์ ์บก์ํํ ๊ฒ์ด ์ข์ต๋๋ค.app/src/main/java/com/yapp/app/official/MainActivity.kt (1)
19-22
: ๋ค๋น๊ฒ์ด์ ์ํ ๊ด๋ฆฌ์ ํ ๋ง ์ ์ฉ์ด ์ ๊ตฌํ๋์์ต๋๋ค.
rememberNavigator()
๋ฅผ ํตํ ๋ค๋น๊ฒ์ด์ ์ํ ๊ด๋ฆฌ๊ฐ ์ ์ ํฉ๋๋ค.YappTheme
์ผ๋ก ์ฑ ์ ์ฒด UI๋ฅผ ๋ํํ์ฌ ์ผ๊ด๋ ๋์์ธ ์์คํ ์ ์ฉ์ด ๊ฐ๋ฅํฉ๋๋ค.app/src/main/java/com/yapp/app/official/navigation/YappNavHost.kt (1)
23-25
: ์ด์ ๋ฆฌ๋ทฐ ์๊ฒฌ์ ๋ฐ์ํด์ฃผ์ธ์์ด์ ๋ฆฌ๋ทฐ์์ ๋ ผ์๋ ๋๋ก,
onSignUpClick
๋์ ํ๋ฉด ์ ํ ๋์์ ๋ ์ ํํํ๋ ๋ค์ด๋ฐ์ผ๋ก ๋ณ๊ฒฝํ๋ ๊ฒ์ด ์ข๊ฒ ์ต๋๋ค.app/src/main/java/com/yapp/app/official/ui/Navigator.kt (1)
29-31
: ์ฌ์ฉ๋์ง ์๋ ํ๋กํผํฐ๊ฐ ์์ต๋๋ค
currentDestination
ํ๋กํผํฐ๊ฐ ์ ์ธ๋์ด ์์ง๋ง ์ฌ์ฉ๋์ง ์๊ณ ์์ต๋๋ค. ํ์ํ์ง ์๋ค๋ฉด ์ ๊ฑฐํ๊ฑฐ๋, ํ์ํ๋ค๋ฉด ํ์ฉ ๋ฐฉ์์ ๊ตฌํํด์ฃผ์ธ์.build-logic/src/main/java/com/yapp/KotlinAndroid.kt (2)
20-23
: ๐งน Nitpick (assertive)ํ๋ฌ๊ทธ์ธ ๊ตฌ์ฑ ๋ฐฉ์ ๊ฐ์ ํ์
์ด์ ๋ฆฌ๋ทฐ ์ฝ๋ฉํธ์์ ๋ ผ์๋ ๊ฒ์ฒ๋ผ, ํ๋ฌ๊ทธ์ธ ๊ตฌ์ฑ ๋ฐฉ์์ ๋ํ ๊ฐ์ ์ด ํ์ํด ๋ณด์ ๋๋ค. ํ์ฌ๋ ์ง์ apply๋ฅผ ์ฌ์ฉํ๊ณ ์์ง๋ง, ๋น๋ ๋ก์ง์ ์ผ๊ด์ฑ์ ์ํด
.gradle.kts
ํ๋ฌ๊ทธ์ธ ํ์ผ ๋ฐฉ์์ผ๋ก ์ ํ์ ๊ณ ๋ คํด๋ณผ ์ ์์ต๋๋ค.
51-54
: ์ง๋ ฌํ ๋ผ์ด๋ธ๋ฌ๋ฆฌ ๋ฒ์ ๊ฒ์ฆ ํ์์ง๋ ฌํ ๋ผ์ด๋ธ๋ฌ๋ฆฌ ์์กด์ฑ์ด ์ถ๊ฐ๋์์ต๋๋ค. ํ๋ก์ ํธ์ ์์ ์ฑ์ ์ํด ๋ฒ์ ํธํ์ฑ์ ํ์ธํด์ฃผ์ธ์.
๋ค์ ์คํฌ๋ฆฝํธ๋ก kotlinx.serialization ๋ผ์ด๋ธ๋ฌ๋ฆฌ์ ์ต์ ๋ฒ์ ๊ณผ ํธํ์ฑ์ ํ์ธํ ์ ์์ต๋๋ค:
โ Verification successful
kotlinx.serialization ๋ผ์ด๋ธ๋ฌ๋ฆฌ ๋ฒ์ ๊ฒ์ฆ ์๋ฃ
ํ๋ก์ ํธ์์ ์ฌ์ฉ ์ค์ธ kotlinx.serialization 1.8.0 ๋ฒ์ ์ ์ต์ ์์ ๋ฒ์ ์ด๋ฉฐ, Kotlin 2.0.0๊ณผ ์๋ฒฝํ๊ฒ ํธํ๋ฉ๋๋ค. ๋ฒ์ ํธํ์ฑ์ ๋ฌธ์ ๊ฐ ์์ต๋๋ค.
๐ Scripts executed
The following scripts were executed for the analysis:
Script:
#!/bin/bash # kotlinx.serialization ๋ผ์ด๋ธ๋ฌ๋ฆฌ์ ์ต์ ๋ฒ์ ํ์ธ curl -s "https://api.github.com/repos/Kotlin/kotlinx.serialization/releases/latest" | jq -r '.tag_name' # Kotlin ๋ฒ์ ๊ณผ์ ํธํ์ฑ ๋งคํธ๋ฆญ์ค ํ์ธ rg "kotlin.*version" -g "*.{gradle,kts,properties}"Length of output: 162
Script:
#!/bin/bash # Find and check version catalog fd "libs.versions.toml" --type f --exec cat {} # Search for version declarations in gradle files with different patterns rg "kotlin|serialization" -g "*.{gradle,gradle.kts,toml,properties}" -A 2 -B 2 # Check buildSrc directory for version declarations fd . "buildSrc" --type f --exec cat {}Length of output: 7918
build.gradle.kts (1)
8-8
: ๋ณ๊ฒฝ์ฌํญ ์น์ธ์ง๋ ฌํ ํ๋ฌ๊ทธ์ธ์ด ์ ์ ํ๊ฒ ์ถ๊ฐ๋์์ต๋๋ค.
gradle/libs.versions.toml (2)
5-5
: Kotlin ์ง๋ ฌํ ๋ผ์ด๋ธ๋ฌ๋ฆฌ ๋ฒ์ ์ ๋ฐ์ดํธ ๊ถ์ฅํ์ฌ ์ฌ์ฉ ์ค์ธ kotlinx.serialization.json ๋ฒ์ (1.8.0)์ด ์ต์ ๋ฒ์ ์ด ์๋ ์ ์์ต๋๋ค. ์ต์ ์์ ๋ฒ์ ์ฌ์ฉ์ ๊ถ์ฅ๋๋ฆฝ๋๋ค.
๋ค์ ์คํฌ๋ฆฝํธ๋ก ์ต์ ๋ฒ์ ์ ํ์ธํด๋ณด์ธ์:
21-23
:โ ๏ธ Potential issue๋ค๋น๊ฒ์ด์ ๋ฒ์ ์ ์ ๊ฐ์ ํ์
- ์ค๋ณต๋ ๋ฒ์ ์ ์๊ฐ ์์ต๋๋ค:
navigationCompose
์navigationComposeVersion
์ด ์ ์ฌํ ๋ชฉ์ ์ผ๋ก ์ฌ์ฉ๋จ- ๋ฒ์ ๋ฒํธ๊ฐ ํ์ฌ ์์ ๋ฒ์ ๋ณด๋ค ๋์ ๋ณด์ ๋๋ค:
- 2.8.4, 2.8.5๋ ํ์ฌ ์กด์ฌํ์ง ์๋ ๋ฒ์ ์ผ ์ ์์
๋ค์๊ณผ ๊ฐ์ด ๊ฐ์ ํ๋ ๊ฒ์ ์ถ์ฒ๋๋ฆฝ๋๋ค:
- ๋ค๋น๊ฒ์ด์ ๊ด๋ จ ๋ฒ์ ์ ํ๋๋ก ํต์ผ
- ์ต์ ์์ ๋ฒ์ ์ฌ์ฉ
๋ฒ์ ๊ฒ์ฆ์ ์ํด ๋ค์ ์คํฌ๋ฆฝํธ๋ฅผ ์คํํด๋ณด์ธ์:
โ Verification successful
๋ค๋น๊ฒ์ด์ ๋ผ์ด๋ธ๋ฌ๋ฆฌ ๋ฒ์ ํต์ผ ํ์
๋ฒ์ ๋ฒํธ๋ ๋ชจ๋ ์ ํจํ ์์ ๋ฒ์ ์ด๋, ๋ค์ ๊ฐ์ ์ฌํญ์ ์ ์๋๋ฆฝ๋๋ค:
- ์ค๋ณต ๋ฒ์ ์ ์ ์ ๊ฑฐ:
navigationCompose
์navigationComposeVersion
์ค ํ๋๋ง ์ฌ์ฉ- ๋ชจ๋ ๋ค๋น๊ฒ์ด์ ์ปดํฌ๋ํธ๋ฅผ ๋์ผ ๋ฒ์ ์ผ๋ก ํต์ผ:
- ํ์ฌ 2.8.4์ 2.8.5๊ฐ ํผ์ฉ๋์ด ์์
- ๋ชจ๋ 2.8.5๋ก ํต์ผ ๊ถ์ฅ
๐ Scripts executed
The following scripts were executed for the analysis:
Script:
#!/bin/bash # ์ต์ ์์ ๋ฒ์ ํ์ธ curl -s "https://dl.google.com/dl/android/maven2/androidx/navigation/navigation-compose/maven-metadata.xml" | grep -oP "(?<=<version>)[^<]+(?=</version>)" | tail -n 1Length of output: 180
Script:
#!/bin/bash # Get all available versions curl -s "https://dl.google.com/dl/android/maven2/androidx/navigation/navigation-compose/maven-metadata.xml" | grep -oP "(?<=<version>)[^<]+(?=</version>)" | sort -VLength of output: 1186
feature/home/src/main/java/com/yapp/feature/home/navigation/HomeNavigation.kt
Show resolved
Hide resolved
feature/notice/src/main/java/com/yapp/feature/notice/navigation/NoticeNavigation.kt
Show resolved
Hide resolved
add("implementation", libs.findLibrary("androidx.material3").get()) | ||
add("implementation", libs.findLibrary("androidx.navigation.compose").get()) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
์ค๋ณต๋ ์์กด์ฑ์ ์ ๊ฑฐํด์ฃผ์ธ์
androidx.material3
์์กด์ฑ์ด ์ค๋ณต ์ ์ธ๋์ด ์์ต๋๋ค. 23๋ฒ ๋ผ์ธ์ ์ ๊ฑฐํด์ฃผ์ธ์.
app/build.gradle.kts
Outdated
implementation(libs.androidx.navigation.runtime.ktx) | ||
implementation(libs.navigation.compose) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
๐ ๏ธ Refactor suggestion
๋ค๋น๊ฒ์ด์ ๋ผ์ด๋ธ๋ฌ๋ฆฌ ๋ฒ์ ๋ถ์ผ์น ํ์ธ ํ์
libs.versions.toml
์ ์ ์๋ ๋ค๋น๊ฒ์ด์
๋ผ์ด๋ธ๋ฌ๋ฆฌ ๋ฒ์ ๋ค ์ฌ์ด์ ๋ถ์ผ์น๊ฐ ์์ต๋๋ค:
- navigationCompose: 2.8.4
- navigationRuntimeKtx: 2.8.5
- navigationComposeVersion: 2.8.5
๋ฒ์ ์ ํต์ผํ์ฌ ์ ์ฌ์ ์ธ ํธํ์ฑ ๋ฌธ์ ๋ฅผ ๋ฐฉ์งํ๋ ๊ฒ์ด ์ข์ต๋๋ค.
|
||
androidx-core-ktx = { group = "androidx.core", name = "core-ktx", version.ref = "coreKtx" } | ||
androidx-appcompat = { group = "androidx.appcompat", name = "appcompat", version.ref = "appcompat" } | ||
material = { group = "com.google.android.material", name = "material", version.ref = "material" } | ||
androidx-lifecycle-runtime-ktx = { group = "androidx.lifecycle", name = "lifecycle-runtime-ktx", version.ref = "lifecycleRuntimeKtx" } | ||
androidx-activity-compose = { group = "androidx.activity", name = "activity-compose", version.ref = "activityCompose" } | ||
androidx-navigation-compose = { module = "androidx.navigation:navigation-compose", version.ref = "navigationCompose" } |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
๐ ๏ธ Refactor suggestion
์ค๋ณต ๋ค๋น๊ฒ์ด์ ์์กด์ฑ ์ ๊ฑฐ ํ์
๋์ผํ ๊ธฐ๋ฅ์ ๋ค๋น๊ฒ์ด์ ์์กด์ฑ์ด ์ฌ๋ฌ ๋ฒ ์ ์๋์ด ์์ต๋๋ค:
androidx-navigation-compose
navigation-compose
ํ๋์ ์์กด์ฑ๋ง ์ฌ์ฉํ๋๋ก ์ ๋ฆฌ๊ฐ ํ์ํฉ๋๋ค.
Also applies to: 55-56
๐ก Issue
๐ฑ Key changes
Navigator.kt
)โ To Reviewers
route ๊ด๋ฆฌ๋ฅผ ์ด๋ป๊ฒ ํ ๊น ๊ณ ๋ฏผํ๋ค๊ฐ .. !
ํ์ฅํจ์๋ฅผ ์ฌ์ฉํ๋ฉด์ app๋ชจ๋์ ์ฐธ์กฐํ์ง ์๊ธฐ ์ํด ๊ฐ๊ฐ์ ํผ์ฒ ์์ ์ ์ธํด์ฃผ์์ต๋๋ค.
( ex
@Serializable data object LoginRoute
)nia ๊ตฌ์กฐ๊ฐ ๋น์ทํด์ ์ฐธ๊ณ ํ์์ต๋๋ค ~
Summary by CodeRabbit
๋ฆด๋ฆฌ์ฆ ๋ ธํธ
์๋ก์ด ๊ธฐ๋ฅ
์์กด์ฑ ์ ๋ฐ์ดํธ
๊ฐ์ ์ฌํญ