Skip to content
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

Feat:[snsproject] navigation-compose, hilt-navigation-compose 의존성 추가 … #24

Merged
merged 2 commits into from
Apr 18, 2024

Conversation

Yoon-Chan
Copy link
Owner

…및 화면 이동 구현

navigation compose를 이용하여 NavHost를 이용하여 화면 이동 구현 및 LoginViewModel 간단 구현 issue #6

PR 템플릿

close #6 힐트와 Navgiation을 이용하여 viewModel, navHost 구현

…및 화면 이동 구현

navigation compose를 이용하여 NavHost를 이용하여 화면 이동 구현 및 LoginViewModel 간단 구현 issue #6
@Yoon-Chan Yoon-Chan added this to the settings milestone Apr 18, 2024
@Yoon-Chan Yoon-Chan self-assigned this Apr 18, 2024
Copy link

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

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

Remaining comments which cannot be posted as a review comment to avoid GitHub Rate Limit

ktlint

presentation/src/main/java/com/example/presentation/login/LoginScreen.kt|106 col 21| Argument should be on a separate line (unless all arguments can fit a single line)
presentation/src/main/java/com/example/presentation/login/LoginScreen.kt|106 col 32| A multiline expression should start on a new line
presentation/src/main/java/com/example/presentation/login/LoginScreen.kt|109 col 68| Missing newline before ")"
presentation/src/main/java/com/example/presentation/login/LoginScreen.kt|109 col 69| Missing newline before ")"
presentation/src/main/java/com/example/presentation/login/LoginViewModel.kt|11 col 21| Expected newline before annotation
presentation/src/main/java/com/example/presentation/login/LoginViewModel.kt|11 col 29| Expected newline after last annotation
presentation/src/main/java/com/example/presentation/login/LoginViewModel.kt|12 col 43| Missing trailing comma before ")"
presentation/src/main/java/com/example/presentation/login/LoginViewModel.kt|14 col 1| Class body should not start with blank line
presentation/src/main/java/com/example/presentation/login/LoginViewModel.kt|14 col 1| Trailing space(s)
presentation/src/main/java/com/example/presentation/login/LoginViewModel.kt|22 col 1| Trailing space(s)
presentation/src/main/java/com/example/presentation/login/LoginViewModel.kt|22 col 5| Unexpected blank line(s) before "}"
presentation/src/main/java/com/example/presentation/login/WelcomeScreen.kt|21 col 5| No whitespace expected between opening parenthesis and first parameter name
presentation/src/main/java/com/example/presentation/login/WelcomeScreen.kt|21 col 42| No whitespace expected between last parameter and closing parenthesis
presentation/src/main/java/com/example/presentation/login/WelcomeScreen.kt|21 col 42| Missing trailing comma before ")"

@@ -75,6 +75,8 @@ dependencies {
implementation(libs.converter.gson)
implementation(libs.hilt.android)
ksp(libs.hilt.android.compiler)
implementation(libs.androidx.hilt.navigation.compose)
implementation (libs.androidx.navigation.compose)

Choose a reason for hiding this comment

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

🚫 [ktlint] standard:paren-spacing reported by reviewdog 🐶
Unexpected spacing before "("

@@ -65,5 +65,7 @@ dependencies {
debugImplementation(libs.androidx.compose.ui.ui.test.manifest)
implementation(libs.hilt.android)
ksp(libs.hilt.android.compiler)
implementation(libs.androidx.hilt.navigation.compose)
implementation (libs.androidx.navigation.compose)

Choose a reason for hiding this comment

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

🚫 [ktlint] standard:paren-spacing reported by reviewdog 🐶
Unexpected spacing before "("

navController.navigate(LoginRoute.LoginScreen.route)
}
}

Choose a reason for hiding this comment

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

🚫 [ktlint] standard:no-trailing-spaces reported by reviewdog 🐶
Trailing space(s)

composable(route = LoginRoute.LoginScreen.route) {
LoginScreen()
}

Choose a reason for hiding this comment

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

🚫 [ktlint] standard:no-trailing-spaces reported by reviewdog 🐶
Trailing space(s)

composable(route = LoginRoute.SignUpScreen.route) {
SignUpScreen(id = "", username = "", password1 = "", password2 = "", {}, {}, {}, {}, {})
}

Choose a reason for hiding this comment

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

🚫 [ktlint] standard:no-trailing-spaces reported by reviewdog 🐶
Trailing space(s)

Modifier
.padding(top = 24.dp)
.fillMaxWidth(),
Modifier

Choose a reason for hiding this comment

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

🚫 [ktlint] standard:indent reported by reviewdog 🐶
Unexpected indentation (20) (should be 24)

.padding(top = 24.dp)
.fillMaxWidth(),
Modifier
.padding(top = 24.dp)

Choose a reason for hiding this comment

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

🚫 [ktlint] standard:indent reported by reviewdog 🐶
Unexpected indentation (24) (should be 28)

.fillMaxWidth(),
Modifier
.padding(top = 24.dp)
.fillMaxWidth(),

Choose a reason for hiding this comment

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

🚫 [ktlint] standard:indent reported by reviewdog 🐶
Unexpected indentation (24) (should be 28)

text = "로그인",
onClick = {},
)

Choose a reason for hiding this comment

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

🚫 [ktlint] standard:no-trailing-spaces reported by reviewdog 🐶
Trailing space(s)

Spacer(modifier = Modifier.weight(1f))
Row(modifier = Modifier.align(Alignment.CenterHorizontally).padding(bottom = 24.dp).clickable(onClick = onNavigationToSignUpScreen)) {
Row(modifier = Modifier

Choose a reason for hiding this comment

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

🚫 [ktlint] standard:wrapping reported by reviewdog 🐶
Missing newline after "("

@Yoon-Chan Yoon-Chan merged commit ed6345b into main Apr 18, 2024
5 checks passed
@Yoon-Chan Yoon-Chan deleted the hilt branch April 18, 2024 10:23
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.

Hilt와 Navigation을 활용한 그래프 생성
1 participant