-
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
feat/#42: Signup Complete, Pending View 구현 #43
Conversation
Walkthrough이 풀 리퀘스트는 회원가입 프로세스의 새로운 단계를 추가하고 관련 UI 컴포넌트를 구현합니다. 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 (
|
197a7e5
to
d3344ed
Compare
@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: 7
🔭 Outside diff range comments (2)
feature/signup/src/main/java/com/yapp/feature/signup/signup/SignUpScreen.kt (2)
Line range hint
41-56
: 회원가입 단계가 하드코딩되어 있습니다.
AnimatedContent
의targetState
가SignUpStep.Name
으로 하드코딩되어 있어 실제 회원가입 플로우가 동작하지 않을 것 같습니다. 현재 단계를 추적하는 상태 관리가 필요해 보입니다.+ var currentStep by remember { mutableStateOf(SignUpStep.Name) } + AnimatedContent( modifier = Modifier.weight(1f), - targetState = SignUpStep.Name, + targetState = currentStep, label = "AnimatedContent", ) { targetState ->
Line range hint
65-69
: 다음 단계로 이동하는 로직이 누락되었습니다.버튼 클릭 시 다음 단계로 이동하는 로직이 구현되어 있지 않습니다. 각 단계별로 적절한 유효성 검사 후 다음 단계로 이동하는 로직이 필요합니다.
YappSolidPrimaryButtonXLarge( modifier = Modifier .padding(horizontal = 20.dp) .fillMaxWidth(), text = stringResource(R.string.signup_screen_button_next), - onClick = {} + onClick = { + when (currentStep) { + SignUpStep.Name -> if (isNameValid) currentStep = SignUpStep.Email + SignUpStep.Email -> if (isEmailValid) currentStep = SignUpStep.Password + SignUpStep.Password -> if (isPasswordValid) currentStep = SignUpStep.Position + SignUpStep.Position -> if (isPositionValid) currentStep = SignUpStep.Pending + SignUpStep.Pending -> if (isPendingValid) currentStep = SignUpStep.Complete + SignUpStep.Complete -> { /* 회원가입 완료 처리 */ } + } + } )
📜 Review details
Configuration used: CodeRabbit UI
Review profile: ASSERTIVE
Plan: Pro
📒 Files selected for processing (8)
core/designsystem/src/main/java/com/yapp/core/designsystem/component/header/YappHeaderActionbar.kt
(1 hunks)feature/signup/src/main/java/com/yapp/feature/signup/signup/SignUpScreen.kt
(2 hunks)feature/signup/src/main/java/com/yapp/feature/signup/signup/SignUpStep.kt
(1 hunks)feature/signup/src/main/java/com/yapp/feature/signup/signup/content/CompleteContent.kt
(1 hunks)feature/signup/src/main/java/com/yapp/feature/signup/signup/content/PendingContent.kt
(1 hunks)feature/signup/src/main/res/drawable/illust_signup_complete.xml
(1 hunks)feature/signup/src/main/res/drawable/illust_signup_pending.xml
(1 hunks)feature/signup/src/main/res/values/strings.xml
(1 hunks)
🔇 Additional comments (5)
core/designsystem/src/main/java/com/yapp/core/designsystem/component/header/YappHeaderActionbar.kt (2)
63-65
: 매개변수의 Nullable 처리가 적절히 구현되었습니다.매개변수를 nullable로 변경하여 헤더의 유연성이 향상되었습니다.
72-82
: null 체크가 적절히 구현되었습니다.leftIcon이 null일 경우를 안전하게 처리하고 있습니다.
feature/signup/src/main/res/values/strings.xml (1)
38-41
: 회원가입 상태에 대한 메시지가 명확하게 작성되었습니다.완료와 대기 상태에 대한 메시지가 사용자 친화적으로 작성되었습니다. 특히 대기 상태에서 다음 단계(운영진 승인 요청)를 안내하는 것이 좋습니다.
feature/signup/src/main/res/drawable/illust_signup_pending.xml (1)
1-5
: 벡터 드로어블의 크기가 적절히 설정되었습니다.뷰포트와 크기가 명확하게 정의되어 있습니다.
feature/signup/src/main/res/drawable/illust_signup_complete.xml (1)
1-5
: 벡터 드로어블의 크기가 적절히 설정되었습니다.뷰포트와 크기가 명확하게 정의되어 있습니다.
💡 Issue
🌱 Key changes
✅ To Reviewers
📸 스크린샷
Summary by CodeRabbit
새로운 기능
UI 개선
사용자 경험