Skip to content

[feat/#35] onboarding signup 뷰 구현#47

Merged
vvan2 merged 12 commits intodevelopfrom
feat/#35-onboarding-signup
Jul 11, 2025
Merged

[feat/#35] onboarding signup 뷰 구현#47
vvan2 merged 12 commits intodevelopfrom
feat/#35-onboarding-signup

Conversation

@vvan2
Copy link
Copy Markdown
Member

@vvan2 vvan2 commented Jul 11, 2025


name: pull_request_template
about: pr 생성용 템플릿입니다~
title: ''
labels: ''
assignees: ''


ISSUE

❗ WORK DESCRIPTIONAdd commentMore actions

  • onboarding_signup 컴포넌트 생성
  • onboarding_signup 회원가입 뷰 구현
  • onboarding_signup viewmodel,state 로 로직 구현
  • onboarding_signup string, img 추가
  • mainnavigation, navhost 에 회원가입 플로우 추가
  • home,splash 코드 리펙토링

📸 SCREENSHOT

BEFORE AFTER

📢 TO REVIEWERS

  • 리뷰어에게 전달해야 하는 말

@vvan2 vvan2 self-assigned this Jul 11, 2025
@vvan2 vvan2 added feature ✨ 새로운 기능 구현 🐻주완 주완 전용 라벨 labels Jul 11, 2025
@vvan2 vvan2 linked an issue Jul 11, 2025 that may be closed by this pull request
1 task
@github-actions github-actions bot requested a review from JiWoo1261 July 11, 2025 10:34

private val _sideEffect = MutableSharedFlow<SignUpContract.SignUpSideEffect>()
val sideEffect: MutableSharedFlow<SignUpContract.SignUpSideEffect>
get() = _sideEffect
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

sideEffect가 정의되어 있는데 현재 사용되고 있지는 않네요..?
추후에 버튼 클릭 등의 이벤트 처리에 활용할 예정이실까용??? 😲

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

sideeffect 일어나는 요소중 아직 , navigation을 통한 이벤트 처리만 구현했어서 이후에, 디테일 잡을 때 고려해서 추가해보겠습니다!

Copy link
Copy Markdown
Member

@sonms sonms left a comment

Choose a reason for hiding this comment

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

고생하셨습니다! 현재는 각 회원가입마다 페이지가 구현되어있는데 회원가입 플로우는 하나의 페이지에서 이뤄지는 느낌이기 때문에
HorizontalPager( state = pagerState, userScrollEnabled = false, pager 형태로 스크롤을 제한하고 넘기는 식으로 해보는 것도 좋을 것 같습니다!

color = PawKeyTheme.colors.gray200
)
Divider(modifier = Modifier.padding(10.dp))
HorizontalDivider(modifier = Modifier.padding(10.dp))
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

굿

Comment on lines +96 to +98
// 회원가입
implementation ("androidx.compose.foundation:foundation:1.4.0")

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

뺏으니까 확인 필요하면 toml에 설정할 수 있도록 해주세요

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

넹!

@@ -1,3 +1,5 @@
@file:Suppress("DEPRECATION")
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

? 확인예정

viewModel: HomeViewModel = hiltViewModel(),
) {
val isLocationMenuVisible = viewModel.isLocationMenuVisible
val state by viewModel.state.collectAsState()
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

collectAsState는 Composable 앱이 백그라운드로 가거나 화면이 가려져도 Flow는 계속 데이터를 발행하고 이에 따라 UI 상태도 계속 업데이트될 수 있습ㄴ니다 그렇기에?! 안드로이드 생명주기에 맞게 조정될 수 있도록 collectAsStateWithLifecycle로 해주세요

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

생명주기 생각하면서 적용해보겠습니답


@Composable
internal fun SettingButton(){
fun SettingButton(){
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

상위에서 하위 컴ㅁ포넌트를 아직은 조절하지 않더라도 꼭 선언해서 사용해주세요 재사용성을 위해 통로를 열어두는 것을 위해!

}

@Composable
fun SignUpLoationGrid(
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Grid를 네이밍에 나타냈는데 LocationButton만있는데 의도하신건가요?

value: String,
onValueChange: (String) -> Unit,
modifier: Modifier = Modifier,
placeholder: String = "",
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

placeholder를 받아와서 사용하는 재사용 컴포넌트인데 placeholder에 기본값을 주신이유가 있을까요?

placeholder: String = "",
enabled: Boolean = true,
) {
val isClicked = remember { mutableStateOf(false) }
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

허허 상태관리

navigate(SignUpActivity, navOptions)
}

fun NavGraphBuilder.signupactivityNavGraph(
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

camel case 지켜주세요 signUpActivity

navigate(SignUpLevel, navOptions)
}

fun NavGraphBuilder.signupLevelNavGraph(
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

마찬가지로 카멜케이스

@vvan2 vvan2 merged commit eec3207 into develop Jul 11, 2025
1 check passed
@vvan2 vvan2 deleted the feat/#35-onboarding-signup branch July 11, 2025 14:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

feature ✨ 새로운 기능 구현 🐻주완 주완 전용 라벨

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[feat] 온보딩/회원가입 뷰 구현

3 participants