-
Notifications
You must be signed in to change notification settings - Fork 0
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
π :: (#399) μΈμ¦νκΈ° ν μ€νΈ νλ λμ΄ μμ #401
The head ref may contain hidden characters: "feature/399-\uC778\uC99D\uD558\uAE30-\uD14D\uC2A4\uD2B8-\uD544\uB4DC-\uB192\uC774-\uC218\uC815"
π :: (#399) μΈμ¦νκΈ° ν μ€νΈ νλ λμ΄ μμ #401
Conversation
Walkthroughμ΄ λ³κ²½ μ¬νμ Changes
Possibly related 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.
Actionable comments posted: 1
π§Ή Outside diff range and nitpick comments (3)
core/design-system/src/main/res/values/strings.xml (1)
27-27
: μλ‘μ΄ λ¬Έμμ΄ λ¦¬μμ€κ° μΆκ°λμμ΅λλ€. λͺ λͺ κ·μΉμ λν μμ μ μμ΄ μμ΅λλ€."re_send_authentication_code" ν€μ "μ¬λ°μ‘" κ°μ κ°μ§ μλ‘μ΄ λ¬Έμμ΄ λ¦¬μμ€κ° μ μ ν μΆκ°λμμ΅λλ€. μ΄λ μΈμ¦ μ½λ μ¬μ μ‘ κΈ°λ₯μ μ ν©ν ν μ€νΈμ λλ€.
λ€λ§, κΈ°μ‘΄ νμΌμ λͺ λͺ κ·μΉκ³Όμ μΌκ΄μ±μ μν΄ ν€ μ΄λ¦μ "resendauthenticationcode"λ‘ λ³κ²½νλ κ²μ κ³ λ €ν΄ λ³΄μκΈ° λ°λλλ€. μλ₯Ό λ€μ΄:
- <string name="re_send_authentication_code">μ¬λ°μ‘</string> + <string name="resendauthenticationcode">μ¬λ°μ‘</string>μ΄λ κ² νλ©΄ νμΌ λ΄μ λ€λ₯Έ λ¬Έμμ΄ λ¦¬μμ€μ μΌκ΄λ νμμ μ μ§ν μ μμ΅λλ€.
feature/verify-email/src/main/java/team/retum/jobis/verify/email/ui/VerifyEmailScreen.kt (1)
153-156
: UI κ°μ μ μν μ’μ λ³κ²½μ¬νμ λλ€.μ΄λ©μΌ μ λ ₯ νλμ μΈμ¦ λ²νΌμ ν΅ν©ν κ²μ μ¬μ©μ κ²½νμ ν₯μμν€λ μ’μ μ κ·Ό λ°©μμ λλ€. μ½λκ° κ°κ²°ν΄μ§κ³ UIκ° λ μ§κ΄μ μΌλ‘ λ³κ²½λμμ΅λλ€.
κ°λ μ±μ λμ± λμ΄κΈ° μν΄ λ€μκ³Ό κ°μ΄ 맀κ°λ³μλ₯Ό μ λ ¬νλ κ²μ κ³ λ €ν΄ λ³΄μΈμ:
JobisTextField( title = stringResource(id = R.string.email), value = email, hint = stringResource(id = R.string.hint_email), onValueChange = onEmailChange, showEmailHint = true, checkDescription = stringResource(id = R.string.description_email_sent), errorDescription = stringResource(id = R.string.description_conflict_email), showDescription = showEmailDescription, descriptionType = emailDescriptionType, showVerificationButton = true, onVerificationClick = onAuthenticationClick, isSendAuthenticationCode = sendAuthenticationCode(), )μ΄λ κ² νλ©΄ μλ‘ μΆκ°λ 맀κ°λ³μλ€μ΄ λ λμ λκ² λ©λλ€.
core/design-system/src/main/java/team/retum/jobisdesignsystemv2/textfield/JobisTextField.kt (1)
135-135
: ν μ€νΈ μμμonPrimary
λ‘ λ³κ²½νμ¬ κ°λ μ±μ ν₯μμν€μΈμ.λ²νΌμ λ°°κ²½μμ΄
JobisTheme.colors.primary
μ΄λ―λ‘, ν μ€νΈ μμμJobisTheme.colors.onPrimary
λ‘ λ³κ²½νλ©΄ λλΉκ° λμμ Έ μ¬μ©μμκ² λ λͺ ννκ² λ³΄μΌ κ²μ λλ€.μ μλ μμ μ¬ν:
- color = JobisTheme.colors.onSurfaceVariant, + color = JobisTheme.colors.onPrimary,
π Review details
Configuration used: CodeRabbit UI
Review profile: CHILL
π Files selected for processing (5)
- core/design-system/src/main/java/team/retum/jobisdesignsystemv2/textfield/JobisTextField.kt (6 hunks)
- core/design-system/src/main/res/values/strings.xml (1 hunks)
- feature/signup/src/main/java/team/retum/signup/ui/InputEmailScreen.kt (1 hunks)
- feature/verify-email/src/main/java/team/retum/jobis/verify/email/ui/VerifyEmailScreen.kt (1 hunks)
- feature/verify-email/src/main/java/team/retum/jobis/verify/email/viewmodel/VerifyEmailViewModel.kt (1 hunks)
π§° Additional context used
π Additional comments (3)
core/design-system/src/main/res/values/strings.xml (1)
26-26
: LGTM: μλ‘μ΄ λ¬Έμμ΄ λ¦¬μμ€κ° μ μ ν μΆκ°λμμ΅λλ€."authentication" ν€μ "μΈμ¦ νκΈ°" κ°μ κ°μ§ μλ‘μ΄ λ¬Έμμ΄ λ¦¬μμ€κ° μ¬λ°λ₯΄κ² μΆκ°λμμ΅λλ€. μ΄λ κΈ°μ‘΄μ λͺ λͺ κ·μΉμ λ°λ₯΄κ³ μμΌλ©°, μΈμ¦ κΈ°λ₯μ μ ν©ν ν μ€νΈμ λλ€.
feature/verify-email/src/main/java/team/retum/jobis/verify/email/viewmodel/VerifyEmailViewModel.kt (1)
73-73
: μ΄λ©μΌ μ£Όμ κ΅¬μ± κ°μμ΄ λ³κ²½μ
onAuthenticationClick
λ©μλμμ μ΄λ©μΌ μ£Όμλ₯Ό ꡬμ±νλ λ°©μμ κ°μ νμ΅λλ€.EMAIL_ADDRESS
λ₯Ό μΌκ΄λκ² μΆκ°ν¨μΌλ‘μ¨onNextClick
λ©μλμ λμΌν λ°©μμΌλ‘ μ΄λ©μΌ μ£Όμλ₯Ό μ²λ¦¬νκ² λμμ΅λλ€.μ΄λ¬ν λ³κ²½μ λ€μκ³Ό κ°μ μ΄μ μ μ 곡ν©λλ€:
- μ½λμ μΌκ΄μ± ν₯μ
- μ΄λ©μΌ μ£Όμ μ²λ¦¬μ ν΅μΌμ± ν보
- μ μ¬μ μΈ λ²κ·Έ μλ°©
feature/signup/src/main/java/team/retum/signup/ui/InputEmailScreen.kt (1)
148-151
: JobisTextField μ»΄ν¬λνΈμ κ°μ λ κΈ°λ₯μ±μ μΉμΈν©λλ€.
JobisTextField
μ»΄ν¬λνΈμ μλ‘μ΄ λ§€κ°λ³μλ₯Ό μΆκ°ν κ²μ μ’μ κ°μ μ λλ€. μ΄λ¬ν λ³κ²½μΌλ‘ μΈν΄:
- μ»΄ν¬λνΈμ μ¬μ¬μ©μ±μ΄ ν₯μλμμ΅λλ€.
- μΈμ¦ λ²νΌ κΈ°λ₯μ΄ ν μ€νΈ νλμ μ§μ ν΅ν©λμ΄ μ½λκ° λ λͺ¨λνλμμ΅λλ€.
- UI ꡬμ±μ΄ λ μ μ°ν΄μ Έ λ€μν μν©μ μ½κ² μ μ©ν μ μκ² λμμ΅λλ€.
μ΄λ¬ν λ³κ²½μ μ½λμ μ μ§λ³΄μμ±κ³Ό κ°λ μ±μ ν¬κ² ν₯μμν΅λλ€.
core/design-system/src/main/java/team/retum/jobisdesignsystemv2/textfield/JobisTextField.kt
Outdated
Show resolved
Hide resolved
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: 0
π§Ή Outside diff range and nitpick comments (2)
core/design-system/src/main/java/team/retum/jobisdesignsystemv2/textfield/JobisTextField.kt (2)
104-136
: μΈμ¦ λ²νΌ ꡬνμ΄ μ λμμ΅λλ€. ν΄λ¦ μμ κ°μ μ μν μ μμ΄ μμ΅λλ€.
JobisVerificationButton
ν¨μκ° μ ꡬνλμμ΅λλ€. νμ§λ§ ν΄λ¦ κ°λ₯ν μμμ μ΅λννκΈ° μν΄ modifier μμλ₯Ό μ½κ° μ‘°μ νλ κ²μ΄ μ’κ² μ΅λλ€.λ€μκ³Ό κ°μ΄ μμ νλ κ²μ κ³ λ €ν΄λ³΄μΈμ:
modifier = modifier - .clickable( - onClick = onVerificationClick, - ) .background( color = JobisTheme.colors.primary, shape = RoundedCornerShape(8.dp), ) .padding( horizontal = 8.dp, vertical = 4.dp, ) + .clickable( + onClick = onVerificationClick, + )μ΄λ κ² νλ©΄ ν¨λ©μ ν¬ν¨ν μ 체 μμμ΄ ν΄λ¦ κ°λ₯ν΄μ§λλ€.
363-365
: JobisTextField ν¨μμ μ 맀κ°λ³μκ° μ μ ν μΆκ°λμμ΅λλ€. λ¬Έμ μ λ°μ΄νΈλ₯Ό κ³ λ €ν΄λ³΄μΈμ.
JobisTextField
ν¨μμ μΈμ¦ λ²νΌ κ΄λ ¨ μ 맀κ°λ³μλ€μ΄ μ μΆκ°λμμ΅λλ€. κΈ°λ³Έκ°μ μ 곡νμ¬ μ΄μ λ²μ κ³Όμ νΈνμ±μ μ μ§ν κ²λ μ’μ΅λλ€.ν¨μ μ£Όμ(KDoc)μ μλ‘ μΆκ°λ 맀κ°λ³μλ€μ λν μ€λͺ μ μΆκ°νλ κ²μ κ³ λ €ν΄λ³΄μΈμ. μ΄λ λ€λ₯Έ κ°λ°μλ€μ΄ μ΄ μ»΄ν¬λνΈλ₯Ό μ¬μ©ν λ λμμ΄ λ κ²μ λλ€.
π Review details
Configuration used: CodeRabbit UI
Review profile: CHILL
π Files selected for processing (1)
- core/design-system/src/main/java/team/retum/jobisdesignsystemv2/textfield/JobisTextField.kt (6 hunks)
π§° Additional context used
π Additional comments (2)
core/design-system/src/main/java/team/retum/jobisdesignsystemv2/textfield/JobisTextField.kt (2)
52-52
: μλ‘μ΄ import λ¬Έμ΄ μ μ ν μΆκ°λμμ΅λλ€.
clickable
μ νΈλ¦¬ν°λ₯Ό κ°μ Έμ€λ import λ¬Έμ΄ μΆκ°λμμ΅λλ€. μ΄λ μλ‘μ΄ μΈμ¦ λ²νΌ κΈ°λ₯κ³Ό κ΄λ ¨μ΄ μμ΄ λ³΄μ λλ€.
150-152
: TextField ν¨μμ μΈμ¦ λ²νΌ κΈ°λ₯μ΄ μ ν΅ν©λμμ΅λλ€.
TextField
ν¨μμ μλ‘μ΄ λ§€κ°λ³μλ€μ΄ μΆκ°λμκ³ ,JobisVerificationButton
μ΄ μ‘°κ±΄λΆλ‘ λ λλ§λλλ‘ κ΅¬νλμμ΅λλ€. μ΄ λ³κ²½μ¬νλ€μ κΈ°μ‘΄ μ»΄ν¬λνΈμ ꡬ쑰λ₯Ό μ λ°λ₯΄κ³ μμΌλ©°, μλ‘μ΄ κΈ°λ₯μ μ μ ν ν΅ν©νκ³ μμ΅λλ€.Also applies to: 234-239
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.
μ΄κ±° μμ Kdoc ν λ² μμ±ν΄μ£Όμ€ μ μλμ??
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.
μΆκ°νμμ΅λλΉ
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
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: 0
π§Ή Outside diff range and nitpick comments (2)
core/design-system/src/main/java/team/retum/jobisdesignsystemv2/textfield/JobisTextField.kt (2)
104-136
: μλ‘μ΄JobisVerificationButton
μ»΄ν¬μ λΈμ΄ μ ꡬνλμμ΅λλ€.μ΄ μ»΄ν¬μ λΈμ μΈμ¦ λ²νΌμ κΈ°λ₯μ μ μΊ‘μννκ³ μμΌλ©°, μ¬μ¬μ© κ°λ₯ν λ°©μμΌλ‘ ꡬνλμμ΅λλ€. λ€μκ³Ό κ°μ μ μ΄ νΉν μ’μ΅λλ€:
stringResource
λ₯Ό μ¬μ©νμ¬ λ€κ΅μ΄ μ§μμ μ©μ΄νκ² νμ΅λλ€.JobisTheme
μJobisTypography
λ₯Ό μ¬μ©νμ¬ λμμΈ μμ€ν κ³Όμ μΌκ΄μ±μ μ μ§νμ΅λλ€.clickable
μμ μλ₯Ό μ¬λ°λ₯΄κ² μ μ©νμ¬ μ 체 μμμ΄ ν΄λ¦ κ°λ₯νλλ‘ νμ΅λλ€.μ κ·Όμ±μ κ°μ νκΈ° μν΄
Box
μsemantics
μμ μλ₯Ό μΆκ°νλ κ²μ κ³ λ €ν΄λ³΄μΈμ. μλ₯Ό λ€μ΄:.semantics { role = Role.Button }μ΄λ κ² νλ©΄ μ€ν¬λ¦° 리λ μ¬μ©μμκ² μ΄ μμκ° λ²νΌμμ λͺ νν μ릴 μ μμ΅λλ€.
317-319
:JobisTextField
μ»΄ν¬μ λΈμ΄ μΈμ¦ κΈ°λ₯μ μ§μνλλ‘ μ μ ν μμ λμμ΅λλ€.μλ‘μ΄ λ§€κ°λ³μ
showVerificationButton
,onVerificationClick
,isSendAuthenticationCode
λ₯Ό μΆκ°νκ³ μ΄λ₯Ό λ΄λΆTextField
μ μ λ¬νλ λ°©μμΌλ‘ μΈμ¦ κΈ°λ₯μ μ ν΅ν©νμ΅λλ€. νΉν λ€μ μ¬νλ€μ΄ μ μ²λ¦¬λμμ΅λλ€:
- μ 맀κ°λ³μμ λν κΈ°λ³Έκ° μ€μ μΌλ‘ κΈ°μ‘΄ μ¬μ© μ½λμμ νΈνμ±μ μ μ§νμ΅λλ€.
- KDocμ μ 맀κ°λ³μμ λν μ€λͺ μ μΆκ°νμ¬ λ¬Έμνλ₯Ό μ μ μ§νμ΅λλ€.
KDocμ κ°λ μ±μ λμ± κ°μ νκΈ° μν΄, μλ‘ μΆκ°λ 맀κ°λ³μλ€μ λν μ€λͺ μ μ‘°κΈ λ μμΈν μμ±νλ κ²μ΄ μ’κ² μ΅λλ€. μλ₯Ό λ€μ΄:
/** * @param showVerificationButton μΈμ¦ λ²νΌμ νμν μ§ μ¬λΆλ₯Ό κ²°μ ν©λλ€. κΈ°λ³Έκ°μ falseμ λλ€. * @param onVerificationClick μΈμ¦ λ²νΌμ ν΄λ¦νμ λ νΈμΆλ ν¨μμ λλ€. κΈ°λ³Έκ°μ λΉ λλ€ ν¨μμ λλ€. * @param isSendAuthenticationCode μΈμ¦ μ½λκ° μ΄λ―Έ μ μ‘λμλμ§ μ¬λΆλ₯Ό λνλ λλ€. μ΄ κ°μ λ°λΌ λ²νΌμ ν μ€νΈκ° λ³κ²½λ©λλ€. κΈ°λ³Έκ°μ falseμ λλ€. */μ΄λ κ² νλ©΄ κ° λ§€κ°λ³μμ μν κ³Ό κΈ°λ³Έκ°μ λν΄ λ λͺ ννκ² μ΄ν΄ν μ μμ΅λλ€.
Also applies to: 366-368, 405-407
π Review details
Configuration used: CodeRabbit UI
Review profile: CHILL
π Files selected for processing (1)
- core/design-system/src/main/java/team/retum/jobisdesignsystemv2/textfield/JobisTextField.kt (7 hunks)
π§° Additional context used
π Additional comments (2)
core/design-system/src/main/java/team/retum/jobisdesignsystemv2/textfield/JobisTextField.kt (2)
52-52
: μλ‘μ΄ import λ¬Έμ΄ μ μ ν μΆκ°λμμ΅λλ€.
team.retum.jobisdesignsystemv2.utils.clickable
λ₯Ό importνμ¬ μ»€μ€ν clickable
μμ μλ₯Ό μ¬μ©ν μ μκ² λμμ΅λλ€. μ΄λ νλ‘μ νΈ μ λ°μ κ±Έμ³ μΌκ΄λ ν΄λ¦ λμμ μ 곡νλ λ° λμμ΄ λ κ²μ λλ€.
150-152
:TextField
μ»΄ν¬μ λΈμ μΈμ¦ λ²νΌ κΈ°λ₯μ΄ μ μ ν ν΅ν©λμμ΅λλ€.μλ‘μ΄ λ§€κ°λ³μ
showVerificationButton
,onVerificationClick
,isSendAuthenticationCode
λ₯Ό μΆκ°νκ³ , 쑰건λΆλ‘JobisVerificationButton
μ λ λλ§νλ λ°©μμΌλ‘ μΈμ¦ κΈ°λ₯μ ν μ€νΈ νλμ μ ν΅ν©νμ΅λλ€. μ΄λ¬ν μ κ·Ό λ°©μμ λ€μκ³Ό κ°μ μ΄μ μ΄ μμ΅λλ€:
- μ¬μ¬μ©μ±: μΈμ¦ λ²νΌμ νμ μ¬λΆλ₯Ό μΈλΆμμ μ μ΄ν μ μμ΄ μ μ°μ±μ΄ ν₯μλμμ΅λλ€.
- κ΄μ¬μ¬μ λΆλ¦¬: μΈμ¦ λ‘μ§μ΄
TextField
λ΄λΆλ‘ μΊ‘μνλμ΄ μ¬μ©νλ μͺ½μ μ½λκ° κ°κ²°ν΄μ§λλ€.- μΌκ΄μ±: κΈ°μ‘΄
TextField
ꡬ쑰λ₯Ό μ μ§νλ©΄μ μλ‘μ΄ κΈ°λ₯μ μμ°μ€λ½κ² μΆκ°νμ΅λλ€.Also applies to: 234-239
κ°μ
μΈμ¦νκΈ° λ²νΌμ ν μ€νΈ νλ μμ μΆκ°νμμ΅λλ€.
![image](https://private-user-images.githubusercontent.com/128464859/377783349-a7967e30-e942-46f5-b5ad-f8dc57682f5b.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3Mzk1NjQ5MzksIm5iZiI6MTczOTU2NDYzOSwicGF0aCI6Ii8xMjg0NjQ4NTkvMzc3NzgzMzQ5LWE3OTY3ZTMwLWU5NDItNDZmNS1iNWFkLWY4ZGM1NzY4MmY1Yi5wbmc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjUwMjE0JTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI1MDIxNFQyMDIzNTlaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT1iYTdjZWY2ZTg0ZWE2YWJlNjQzMzU0ZTUzODE1NDI1NGVhM2FiZTY1OTYzZDAzZTgxNTE2NmMyMDYzM2E4MDQwJlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCJ9.8gN9H5334Z1bM-H57E1mWWimr9L7ToyEgTxHImkJfJk)
μμ λ΄μ©
ν λ§
Summary by CodeRabbit
μλ‘μ΄ κΈ°λ₯
JobisTextField
μ»΄ν¬λνΈ μ λ°μ΄νΈ, μ¬μ©μκ° ν μ€νΈ νλμμ μ§μ μΈμ¦ μμ μ μνν μ μλλ‘ κ°μ .λ¬Έμν