Skip to content

Conversation

@vvan2
Copy link
Member

@vvan2 vvan2 commented Jul 11, 2025


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


ISSUE

❗ WORK DESCRIPTIONAdd commentMore actions

  • Home 컴포넌트 디자인 수정
  • HomeLocationSetting 뷰 구현
  • Home -> HomeLocationSetting 뷰로 화면 전환
  • Home 뷰 디자인 수정
  • HomeScreen : 세부 클릭영역, 토글 생성

📸 SCREENSHOT

Android.Emulator.-.Pixel_8a_API_35_5554.2025-07-12.01-54-14.mp4

BEFORE AFTER

📢 TO REVIEWERS

  • 하단 공통 컴포넌트 추가되면 뷰에 LazyColumn과 함께 적용하겠습니다(@JiWoo1261 공컴 만들어줘잉)
  • 에뮬에서 kakao sdk 안됨 ㅋ(그래서 안찍음)

@vvan2 vvan2 self-assigned this Jul 11, 2025
@vvan2 vvan2 added chore 🔮 작은 단위의 코드 수정 (변수/함수명 수정 등) 🐻주완 주완 전용 라벨 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 sonms July 11, 2025 16:57
@vvan2 vvan2 requested a review from JiWoo1261 July 11, 2025 18:20
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.

수고용~~ 공통 컴포넌트 만들어왔더요;;;;;

if (state.isLocationMenuVisible) {
LocationList(
selected = state.selectedLocation,
locations = listOf("개포동", "논현동", "뭔동", "동동동", "스꾸삐", "4글자유"),
Copy link
Collaborator

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.

믿습니다

@sonms sonms merged commit 8f187c9 into develop Jul 11, 2025
navigateNext: () -> Unit,
navigateHomeLocationSetting: () -> Unit,
modifier: Modifier = Modifier,
viewModel: HomeViewModel = hiltViewModel(),
Copy link
Member

Choose a reason for hiding this comment

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

뷰모델을 파라미터로 넘길 경우 재사용성과 생명주기의 문제와 의존성 주입 원칙에 위배되기 때문에 state.~로 관찰한 값을 넘겨주세요

Copy link
Member Author

Choose a reason for hiding this comment

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

엇...어엇.. 공부하겠습니다


Spacer(modifier = Modifier.weight(1f))

val isFormValid = state.selectedLocation.isNotEmpty()
Copy link
Member

Choose a reason for hiding this comment

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

이것도 상태에 관련된 내용이라 뷰모델에서 ㅎㅎ

text = stringResource(id = R.string.ic_onboarding_signup_button),
enabled = isFormValid,
onClick = {
if (isFormValid) {
Copy link
Member

Choose a reason for hiding this comment

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

? 무슨 용도죵

) {
Icon(
imageVector = ImageVector.vectorResource(id = R.drawable.ic_home_setting),
contentDescription = "setting",
Copy link
Member

Choose a reason for hiding this comment

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

ㅎㅎ 모든 description의 하드 코딩은 지양 해야하지용?

Copy link
Member Author

Choose a reason for hiding this comment

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

수정하겠습니다!

}

@Serializable
data object HomeLocationSetting : MainTabRoute No newline at end of file
Copy link
Member

Choose a reason for hiding this comment

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

놉 지역 설정은 메인탭의루트가 아니죠? 단순
화면의 이동은 route로 해야합니다

Copy link
Member Author

Choose a reason for hiding this comment

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

헉스...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

chore 🔮 작은 단위의 코드 수정 (변수/함수명 수정 등) 🐻주완 주완 전용 라벨

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[chore] 홈 뷰 디자인 수정

4 participants