Skip to content

Conversation

@vvan2
Copy link
Member

@vvan2 vvan2 commented Jul 9, 2025


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


ISSUE

❗ WORK DESCRIPTIONAdd commentMore actions

  • Splash 화면 구현했습니다.
  • Splash navigation, viewmodel 로 UI 분리 및 경로 설정했습니다.
  • Splash 이후 초기 화면 설정을 위해, 임시로 LoginScreen 을 만들고 연결했습니다( UI 수정 예정)

📸 SCREENSHOT

splash.mp4
|
|

📢 TO REVIEWERS

  • logo는 확정되면 바로 변경하겠습니다
  • 작업하기 번거로우시면 startdestination 수정하고 작업해주세요

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

@JiWoo1261 JiWoo1261 left a comment

Choose a reason for hiding this comment

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

처음보다 코드가 많이 깔끔해진 것 같아요! 수고햇더여. .🥵

Copy link
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.

고생하셨습니다!!!


@Preview(showBackground = true)
@Composable
fun PreviewLoginScreen() {
Copy link
Member

Choose a reason for hiding this comment

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

Private 로 해주세요~

.padding(horizontal = 16.dp, vertical = 48.dp)
.background(color = PawKeyTheme.colors.white1)
) {
Column(
Copy link
Member

Choose a reason for hiding this comment

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

여기 부분 column 없이 가능할 거 같은데 깊어질 수록 성능저하가 발생하기 때문에 확인해주세용

Comment on lines +91 to +97
splashNavGraph(
paddingValues = paddingValues,
navigateUp = navigator::navigateUp,
navigateNext = navigator::navigateDummyNext,
navigateLogin = navigator::navigateLogin,
snackBarHostState = snackbarHostState
)
Copy link
Member

Choose a reason for hiding this comment

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

navigateNext 자체가 splash의 다음을 지정하는거라 navigateLogin을 따로 만들어서 할 필요가 없을 것 같아요~ 밑에도 다시 확인해주세여~


@Preview(showBackground = true)
@Composable
fun PreviewSplashScreen() {
Copy link
Member

Choose a reason for hiding this comment

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

private!?!?!?!?!?!?!?!?!?!?!?!?!?!?!?!?!?!?!?"~!?

Column(horizontalAlignment = Alignment.CenterHorizontally) {
Icon(
imageVector = ImageVector.vectorResource(id = R.drawable.ic_logo_draft),
contentDescription = stringResource(id = R.string.ic_logo),
Copy link
Member

Choose a reason for hiding this comment

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

굿뜨

Comment on lines +29 to +35
init {
viewModelScope.launch {
delay(1800)
_sideeffect.emit(SplashContract.SplashSideEffect.NavigateToLogin)
}
}
}
Copy link
Member

Choose a reason for hiding this comment

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

뷰모델에서 delay로 직접 처리할 시 UI 상태 관리와는 별개의 UI 전환 로직을 포함하는 것이기 때문에 지양하고 UI에서 진행해주세요.

@vvan2 vvan2 merged commit 07a1855 into develop Jul 9, 2025
1 check passed
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] 스플래시 뷰 구현

4 participants