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

Feature/profile image #47

Merged
merged 5 commits into from
Oct 3, 2024
Merged

Feature/profile image #47

merged 5 commits into from
Oct 3, 2024

Conversation

leesa-l
Copy link
Collaborator

@leesa-l leesa-l commented Oct 3, 2024

프로필 이미지 수정 기능 추가

@github-actions github-actions bot requested a review from kts6056 October 3, 2024 08:21
@leesa-l leesa-l added this pull request to the merge queue Oct 3, 2024
Merged via the queue into develop with commit b8e3e68 Oct 3, 2024
4 checks passed
@leesa-l leesa-l deleted the feature/profile_image branch October 3, 2024 08:21
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

🚫 [ktlint] standard:function-signature reported by reviewdog 🐶
Parameter should start on a newline

suspend fun uploadProfileImage(uploadURL: String, uploadMethod: String, uploadHeaders: String, file: File)


🚫 [ktlint] standard:function-signature reported by reviewdog 🐶
Parameter should start on a newline

suspend fun uploadProfileImage(uploadURL: String, uploadMethod: String, uploadHeaders: String, file: File)


🚫 [ktlint] standard:function-signature reported by reviewdog 🐶
Parameter should start on a newline

suspend fun uploadProfileImage(uploadURL: String, uploadMethod: String, uploadHeaders: String, file: File)


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

suspend fun uploadProfileImage(uploadURL: String, uploadMethod: String, uploadHeaders: String, file: File)


🚫 [ktlint] standard:function-expression-body reported by reviewdog 🐶
Function body should be replaced with body expression

override suspend fun execute(params: Param): ProfileImageData {


🚫 [ktlint] standard:class-signature reported by reviewdog 🐶
Newline expected after opening parenthesis


🚫 [ktlint] standard:class-signature reported by reviewdog 🐶
Newline expected before closing parenthesis


🚫 [ktlint] standard:final-newline reported by reviewdog 🐶
File must end with a newline (\n)


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


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


🚫 [ktlint] standard:final-newline reported by reviewdog 🐶
File must end with a newline (\n)


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


🚫 [ktlint] standard:multiline-expression-wrapping reported by reviewdog 🐶
A multiline expression should start on a new line


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


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


🚫 [ktlint] standard:multiline-expression-wrapping reported by reviewdog 🐶
A multiline expression should start on a new line


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


🚫 [ktlint] standard:multiline-expression-wrapping reported by reviewdog 🐶
A multiline expression should start on a new line


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


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


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


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


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


🚫 [ktlint] standard:function-signature reported by reviewdog 🐶
Newline expected after opening parenthesis

private fun saveProfileSetting(name: String, imageUrl: String, imageChanged: Boolean) {


🚫 [ktlint] standard:function-signature reported by reviewdog 🐶
Parameter should start on a newline

private fun saveProfileSetting(name: String, imageUrl: String, imageChanged: Boolean) {


🚫 [ktlint] standard:function-signature reported by reviewdog 🐶
Parameter should start on a newline

private fun saveProfileSetting(name: String, imageUrl: String, imageChanged: Boolean) {


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

private fun saveProfileSetting(name: String, imageUrl: String, imageChanged: Boolean) {


🚫 [ktlint] standard:multiline-expression-wrapping reported by reviewdog 🐶
A multiline expression should start on a new line


🚫 [ktlint] standard:chain-method-continuation reported by reviewdog 🐶
Expected newline before '.'


🚫 [ktlint] standard:chain-method-continuation reported by reviewdog 🐶
Expected newline before '.'


🚫 [ktlint] standard:multiline-expression-wrapping reported by reviewdog 🐶
A multiline expression should start on a new line


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


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


🚫 [ktlint] standard:wrapping reported by reviewdog 🐶
Missing newline before ")"


🚫 [ktlint] standard:multiline-expression-wrapping reported by reviewdog 🐶
A multiline expression should start on a new line


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


🚫 [ktlint] standard:wrapping reported by reviewdog 🐶
Missing newline before ")"


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

data class SaveImageProfile(val name: String, val imageUrl: String, val file: File) : ProfileSettingIntent


🚫 [ktlint] standard:class-signature reported by reviewdog 🐶
Newline expected after opening parenthesis

data class SaveImageProfile(val name: String, val imageUrl: String, val file: File) : ProfileSettingIntent


🚫 [ktlint] standard:class-signature reported by reviewdog 🐶
Parameter should start on a newline

data class SaveImageProfile(val name: String, val imageUrl: String, val file: File) : ProfileSettingIntent


🚫 [ktlint] standard:class-signature reported by reviewdog 🐶
Parameter should start on a newline

data class SaveImageProfile(val name: String, val imageUrl: String, val file: File) : ProfileSettingIntent


🚫 [ktlint] standard:class-signature reported by reviewdog 🐶
Newline expected before closing parenthesis

data class SaveImageProfile(val name: String, val imageUrl: String, val file: File) : ProfileSettingIntent


🚫 [ktlint] standard:condition-wrapping reported by reviewdog 🐶
Newline expected before operand in multiline condition

name.isNotBlank() && name.length < 8 && settingState.imageUrl.isNotBlank()


🚫 [ktlint] standard:condition-wrapping reported by reviewdog 🐶
Newline expected before operand in multiline condition

name.isNotBlank() && name.length < 8 && settingState.imageUrl.isNotBlank()


🚫 [ktlint] standard:multiline-expression-wrapping reported by reviewdog 🐶
A multiline expression should start on a new line


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


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


🚫 [ktlint] standard:import-ordering reported by reviewdog 🐶
Imports must be ordered in lexicographic order without any empty lines in-between with "java", "javax", "kotlin" and aliases in the end


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


🚫 [ktlint] standard:function-signature reported by reviewdog 🐶
Newline expected after opening parenthesis

private suspend fun saveProfileWithImage(name: String, imageUrl: String, file: File,) {


🚫 [ktlint] standard:function-signature reported by reviewdog 🐶
Parameter should start on a newline

private suspend fun saveProfileWithImage(name: String, imageUrl: String, file: File,) {


🚫 [ktlint] standard:function-signature reported by reviewdog 🐶
Parameter should start on a newline

private suspend fun saveProfileWithImage(name: String, imageUrl: String, file: File,) {


🚫 [ktlint] standard:parameter-list-spacing reported by reviewdog 🐶
Whitespace after ',' is missing

private suspend fun saveProfileWithImage(name: String, imageUrl: String, file: File,) {


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

private suspend fun saveProfileWithImage(name: String, imageUrl: String, file: File,) {


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

private suspend fun saveProfileWithImage(name: String, imageUrl: String, file: File,) {


🚫 [ktlint] standard:chain-method-continuation reported by reviewdog 🐶
Expected newline before '.'


🚫 [ktlint] standard:multiline-expression-wrapping reported by reviewdog 🐶
A multiline expression should start on a new line


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


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


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


🚫 [ktlint] standard:function-signature reported by reviewdog 🐶
Newline expected after opening parenthesis


🚫 [ktlint] standard:function-signature reported by reviewdog 🐶
Parameter should start on a newline


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


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


🚫 [ktlint] standard:chain-method-continuation reported by reviewdog 🐶
Expected newline before '.'


🚫 [ktlint] standard:multiline-expression-wrapping reported by reviewdog 🐶
A multiline expression should start on a new line


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


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

fun providePureOkHttpClient(
httpLoggingInterceptor: HttpLoggingInterceptor,
chuckerInterceptor: ChuckerInterceptor,
) = OkHttpClient.Builder()
Copy link

Choose a reason for hiding this comment

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

🚫 [ktlint] standard:chain-method-continuation reported by reviewdog 🐶
Expected newline before '.'

fun providePureRetrofit(
@Named("Pure") okHttpClient: OkHttpClient,
@JsonConverter jsonConverter: Converter.Factory,
): Retrofit = Retrofit.Builder()
Copy link

Choose a reason for hiding this comment

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

🚫 [ktlint] standard:multiline-expression-wrapping reported by reviewdog 🐶
A multiline expression should start on a new line

fun providePureRetrofit(
@Named("Pure") okHttpClient: OkHttpClient,
@JsonConverter jsonConverter: Converter.Factory,
): Retrofit = Retrofit.Builder()
Copy link

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

fun providePureRetrofit(
@Named("Pure") okHttpClient: OkHttpClient,
@JsonConverter jsonConverter: Converter.Factory,
): Retrofit = Retrofit.Builder()
Copy link

Choose a reason for hiding this comment

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

🚫 [ktlint] standard:chain-method-continuation reported by reviewdog 🐶
Expected newline before '.'

@Provides
@Singleton
fun provideImageAPI(
@Named("Pure") retrofit: Retrofit
Copy link

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 ")"

uploadURL: String,
uploadMethod: String,
uploadHeaders: String,
file: File
Copy link

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 ")"

val uploadMethod: String,
val uploadURL: String,
val uploadHeaders: String,
val imageURL: String
Copy link

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 ")"

val uploadURL: String,
val uploadHeaders: String,
val imageURL: String
) : DomainModel
Copy link

Choose a reason for hiding this comment

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

🚫 [ktlint] standard:final-newline reported by reviewdog 🐶
File must end with a newline (\n)

@@ -1,6 +1,9 @@
package com.dkin.chevit.domain.repository

import com.dkin.chevit.domain.base.None
Copy link

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


suspend fun getProfileUploadURL(fileSize: Int): ProfileImageData

suspend fun uploadProfileImage(uploadURL: String, uploadMethod: String, uploadHeaders: String, file: File)
Copy link

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 after opening parenthesis

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.

1 participant