Skip to content
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

[UI/#12] 홈뷰 / 홈 기본 화면 구현 #47

Merged
merged 35 commits into from
Jul 11, 2024
Merged

Conversation

Hyobeen-Park
Copy link
Member

⛳️ Work Description

  • 홈 화면 상황별 UI 컴포넌트 제작
  • stickyHeader 구현

📸 Screenshot

Screen_Recording_20240711_070948_Terning-Android.mp4

📢 To Reviewers

  • stickyHeader 구현 기념 pr이에요..ㅎㅎ
  • 코드가 고칠게 많은데,,, 큼지막한 것들은 따로 이슈 파서 고치겠습니다
  • 공고 정렬은 해당 컴포넌트 머지 되면 반영할게요!!

# Conflicts:
#	feature/src/main/res/values/strings.xml
Copy link
Contributor

@arinming arinming left a comment

Choose a reason for hiding this comment

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

stickyHeader 스무스하게 해내셨네요,,,,,,,,짱

verticalArrangement = Arrangement.Center,
) {
Image(
painter = painterResource(id = R.drawable.ic_empty_logo),
Copy link
Contributor

Choose a reason for hiding this comment

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

ic_empty_logo가 저랑 겹치는 아이콘,.! 화긴

Comment on lines 63 to 88
HomeFilteringText(
text = grade.toString() + stringResource(id = R.string.home_recommend_filtering_grade),
modifier = Modifier
.padding(vertical = 7.dp, horizontal = 28.dp),
)
HomeFilteringDivider()
HomeFilteringText(
text = stringResource(
id = when (period) {
1 -> R.string.home_recommend_filtering_working_period_1
2 -> R.string.home_recommend_filtering_working_period_2
3 -> R.string.home_recommend_filtering_working_period_3
else -> R.string.server_failure
}
),
modifier = Modifier
.padding(vertical = 7.dp, horizontal = 25.dp)
)
HomeFilteringDivider()
HomeFilteringText(
text = month.toString() + stringResource(id = R.string.home_recommend_filtering_month),
modifier = Modifier
.padding(vertical = 7.dp)
.padding(start = 34.dp, end = 13.dp)
)
}
Copy link
Contributor

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.

아 진짜 여기가 반복이 너무 심한데 묘하게 패딩 값 등이 달라서 어떻게 해결할 수 있을지 모르겠네요ㅜㅜ 계속 고민해보겠습니다!! 감사해요:)

}
Image(
painter = painterResource(id = R.drawable.ic_home_bookmark_28),
contentDescription = "scrap",
Copy link
Contributor

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.

웁씨 여기를 놓쳤네요!! 근데 이게 컴포넌트로 수정될 예정이라 혹시 적용 안되어있으면 수정할게요!

HomeTodayIntern()
}
}
stickyHeader {
Copy link
Contributor

Choose a reason for hiding this comment

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

stickyHeader!!! ㄷ ㄷ

Copy link
Member

@leeeyubin leeeyubin left a comment

Choose a reason for hiding this comment

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

LGTM~~~!!!

Comment on lines 80 to 82

HomeFilteringScreen(3, 1, 7)

Copy link
Member

Choose a reason for hiding this comment

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

여기 named argument 추가해주세요!!

Copy link
Member

@boiledEgg-s boiledEgg-s left a comment

Choose a reason for hiding this comment

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

너무 잘하셨네요!! LGTM~

Comment on lines 50 to 57
Text(
text = stringResource(
id = R.string.home_today_title_start
)
+ "남지우"
+ stringResource(
id = R.string.home_today_title_end
),
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
Text(
text = stringResource(
id = R.string.home_today_title_start
)
+ "남지우"
+ stringResource(
id = R.string.home_today_title_end
),
Text(
text = stringResource(id = R.string.home_today_title, "남지우"
),

와 같은 방식으로 수정하는게 좋아보여요!!
문자열 리소스에서 변수를 넣을 부분을 %s로 지정하면 됩니다!!

Copy link
Member Author

Choose a reason for hiding this comment

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

와우 진짜 감사합니다!!

@Hyobeen-Park Hyobeen-Park merged commit ce20eb1 into develop Jul 11, 2024
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
UI 💐 UI 작업 효빈💚 효빈
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[UI] 홈뷰 / 홈 기본 화면 구현
4 participants