Skip to content

Conversation

@vvan2
Copy link
Member

@vvan2 vvan2 commented Jul 8, 2025


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


ISSUE

❗ WORK DESCRIPTIONAdd commentMore actions

  • 홈 컴포넌트 수정
  • 홈 뷰 네비게이션 , 클릭 수정

📸 SCREENSHOT

BEFORE AFTER

📢 TO REVIEWERS

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

@vvan2 vvan2 self-assigned this Jul 8, 2025
@vvan2 vvan2 added feature ✨ 새로운 기능 구현 🐻주완 주완 전용 라벨 labels Jul 8, 2025
@vvan2 vvan2 linked an issue Jul 8, 2025 that may be closed by this pull request
1 task
@github-actions github-actions bot requested a review from JiWoo1261 July 8, 2025 15:29
@vvan2 vvan2 requested a review from sonms July 8, 2025 15:37
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.

고생하셨습니다! 전체적으로 타입세이프티 네비게이션과 modifier, 재사용 컴포저블 관련해서 보완할 점이 보입니다! 홧팅홧팅!

verticalArrangement = Arrangement.spacedBy(31.dp),
modifier = Modifier
.fillMaxWidth()
.fillMaxWidth()
Copy link
Member

Choose a reason for hiding this comment

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

중복제거 해주세요~

Copy link
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 DaytimeCard(
Copy link
Member

Choose a reason for hiding this comment

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

internal 같은 경우 접근제한자로 같은 모듈에서만 사용할 수 있도록 하는데 현재 저희 프로젝트 구조상 app 모듈 하나만 사용하는 구조라 큰 의미는 없을 것 같은데 넣으신 이유가 있으실까요?

@Composable
internal fun DaytimeCard(
daytime: String,
daystate: String,
Copy link
Member

Choose a reason for hiding this comment

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

재사용 가능한 Composable함수를 만들 때 Modifier를 인자로 받는 방식을 준수해주세요요ㅛㅇ

Copy link
Member Author

Choose a reason for hiding this comment

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

넹....

) {
Column (
color = PawKeyTheme.colors.white2,
shape = RoundedCornerShape(12.dp)
Copy link
Member

Choose a reason for hiding this comment

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

background의 shape는 배경은 둥글게 보이지만 그 안에 있는 내용이 값을 넘어설 경우 여전히 표시될 수 있습니다 이를 방지하고자 clip을 사용하는데 현재 상황은 의도된 것인가요?

shape = RoundedCornerShape(12.dp)
),
) {
Column()
Copy link
Member

Choose a reason for hiding this comment

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

안쓰는 () 역시 가독성을 위해 제거해주세요

fontSize = 24.sp
),
modifier = modifier.padding(start = 4.dp)
modifier = modifier.padding(start = 4.dp),
Copy link
Member

Choose a reason for hiding this comment

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

보통 최상위(현재는 Row)에서 한 번 modifier를 사용해서 구현하고 나머지 안쪽 부분은 Modifier를 사용해서 구현하면 됩니다. 이러한 이유는 제가 나중에 질문할 것이니 공부해두세여ㅛ ㅎ

Copy link
Member Author

Choose a reason for hiding this comment

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

Text(
text=rating,
text = rating,
style = PawKeyTheme.typography.head22B.copy(
Copy link
Member

Choose a reason for hiding this comment

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

이거 여전히 copy 사용 중인데 아직 타이포그래피 적용이 안되서 그런 건가요?

Copy link
Member Author

Choose a reason for hiding this comment

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

네...ㅜ

Comment on lines +14 to +23
var isLocationMenuVisible by mutableStateOf(false)
private set

fun toggleLocationMenu() {
isLocationMenuVisible = !isLocationMenuVisible
}

fun hideLocationMenu() {
isLocationMenuVisible = false
}
Copy link
Member

Choose a reason for hiding this comment

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

자 이 부분 state 로 관리해봅시다 현재 dummy 쪽을 보고 공부하시면 좋을 것 같습니다~

Comment on lines +65 to +69

fun navigateCourse(navOptions: NavOptions? = null) {
navController.navigatePet(navOptions = navOptions)
}

Copy link
Member

Choose a reason for hiding this comment

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

MainTapRoute로 모두 MainNavigator가 graph를 연결 중이라 navigateNext용으로 navigate를 만들 필요가 없습니다. 삭제하셔도 무방합니다.

paddingValues = paddingValues,
navigateUp = navigator.navController::navigateUp,
navigateNext = navigator.navController::navigateUp,
navigateNext = navigator::navigateCourse,
Copy link
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 f6feb99 into develop Jul 8, 2025
1 check passed
@vvan2 vvan2 deleted the feat/#27-home-component-edit branch July 8, 2025 17:24
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