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

Settings #27

Merged
merged 11 commits into from
Apr 20, 2024
Merged

Settings #27

merged 11 commits into from
Apr 20, 2024

Conversation

Yoon-Chan
Copy link
Owner

PR 템플릿

close #10 로그아웃 기능 및 설정 화면 구성

아직 설정 화면 프로필 변경 기능은 구현 x

@Yoon-Chan Yoon-Chan added this to the settings milestone Apr 20, 2024
@Yoon-Chan Yoon-Chan self-assigned this Apr 20, 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

domain/src/main/java/com/example/domain/usecase/main/setting/GetMyUserUseCase.kt|6 col 35| Unexpected spacing before ":"

import com.example.data.retrofit.UserService
import com.google.gson.GsonBuilder
import dagger.Module
import dagger.Provides
import dagger.hilt.InstallIn
import dagger.hilt.components.SingletonComponent
import okhttp3.Interceptor

Choose a reason for hiding this comment

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

🚫 [ktlint] standard:no-unused-imports reported by reviewdog 🐶
Unused import

import okhttp3.OkHttpClient
import okhttp3.Request

Choose a reason for hiding this comment

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

🚫 [ktlint] standard:no-unused-imports reported by reviewdog 🐶
Unused import

@@ -33,4 +35,7 @@ abstract class UserModule {

@Binds
abstract fun bindClearUseCase(clearTokenUseCaseImpl: ClearTokenUseCaseImpl) : ClearTokenUseCase

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)

@@ -33,4 +35,7 @@ abstract class UserModule {

@Binds
abstract fun bindClearUseCase(clearTokenUseCaseImpl: ClearTokenUseCaseImpl) : ClearTokenUseCase

@Binds

Choose a reason for hiding this comment

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

🚫 [ktlint] standard:blank-line-before-declaration reported by reviewdog 🐶
Expected a blank line for this declaration

@@ -33,4 +35,7 @@ abstract class UserModule {

@Binds
abstract fun bindClearUseCase(clearTokenUseCaseImpl: ClearTokenUseCaseImpl) : ClearTokenUseCase

@Binds
abstract fun bindGetMyUserUseCase(getMyUserUseCaseImpl: GetMyUserUseCaseImpl) : GetMyUserUseCase

Choose a reason for hiding this comment

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

🚫 [ktlint] standard:function-return-type-spacing reported by reviewdog 🐶
Unexpected whitespace

class GetMyUserUseCaseImpl @Inject constructor(
private val userService: UserService
) : GetMyUserUseCase {
override suspend fun invoke(): Result<User> = runCatching {

Choose a reason for hiding this comment

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

🚫 [ktlint] standard:function-signature reported by reviewdog 🐶
Newline expected before expression body

val id: Long,
val loginId: String,
val username: String,
val profileImageUrl: String? = null

Choose a reason for hiding this comment

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

🚫 [ktlint] standard:trailing-comma-on-declaration-site reported by reviewdog 🐶
Missing trailing comma before ")"

@@ -1,5 +1,5 @@
package com.example.domain.usecase.login

interface ClearTokenUseCase {
suspend operator fun invoke()
suspend operator fun invoke() : Result<Unit>

Choose a reason for hiding this comment

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

🚫 [ktlint] standard:function-return-type-spacing reported by reviewdog 🐶
Unexpected whitespace

@@ -1,5 +1,5 @@
package com.example.domain.usecase.login

interface ClearTokenUseCase {
suspend operator fun invoke()
suspend operator fun invoke() : Result<Unit>

Choose a reason for hiding this comment

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

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

import com.example.domain.model.User

interface GetMyUserUseCase {
suspend operator fun invoke() : Result<User>

Choose a reason for hiding this comment

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

🚫 [ktlint] standard:function-return-type-spacing reported by reviewdog 🐶
Unexpected whitespace

@Yoon-Chan Yoon-Chan added Feat Improvements or additions to documentation Fix This issue or pull request already exists labels Apr 20, 2024
@Yoon-Chan Yoon-Chan merged commit 6efd5f9 into main Apr 20, 2024
4 checks passed
@Yoon-Chan Yoon-Chan deleted the settings branch April 20, 2024 19:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feat Improvements or additions to documentation Fix This issue or pull request already exists
Projects
None yet
Development

Successfully merging this pull request may close these issues.

설정 화면 및 로그아웃 기능 구현
1 participant