-
Notifications
You must be signed in to change notification settings - Fork 1
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
[QA] 디테일 스크린 해상도 대응 #239
[QA] 디테일 스크린 해상도 대응 #239
Conversation
20c8919
to
a3b8815
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
굳굳 고생했어요!!! 빨리 작업해야겠다 나도!
@@ -26,6 +26,21 @@ data class DetailUiState( | |||
isError = false, | |||
isLoading = false, | |||
) | |||
|
|||
val PREVIEW_STATE = DetailUiState( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
오 이렇게 preview state 뺴놓는거 좋다~ 참고할게요!!
@@ -188,7 +201,7 @@ internal fun DetailHashTags( | |||
shape = FarmemeRadius.Radius4.shape, | |||
), | |||
text = name.truncateDisplayedString(16), | |||
color = FarmemeTheme.textColor.primary, | |||
color = if (currentDetailScreenSize == DetailScreenSize.SMALL) FarmemeTheme.textColor.inverse else FarmemeTheme.textColor.primary, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
개인적으로는 textColor 변수로 빼는게 깔끔해 보이더라구요~
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
오 깔끔하네용! 리뷰감사해용! 반영완룡!
SMALL(360.dp, 640.dp), | ||
MEDIUM(360.dp, 800.dp), | ||
LARGE(430.dp, 932.dp); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
요 size들은 어떤 기준으로 정해진거야?
뭔가 관련있다면 요고를 참고해봐도 좋을 듯 하기도 하고?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ui에 적힌 기준이였엉! 오 !! 안드전용으로 다시 바꿔달라구 해야겠다~ 감사합니당 ><
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
구웄~
LARGE(430.dp, 932.dp); | ||
|
||
companion object { | ||
fun from(width: Dp, height: Dp): DetailScreenSize { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
enum class 및 from 함수 정의 좋은데? 직관적이네유~
@@ -323,11 +339,12 @@ fun DetailFunnyButton( | |||
fun PreviewDetailContent() { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Preview Private으로 숨기면 좋을듯~
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
앗 까먹구있었당 고마옹!! 반영 완룡!
Issue
작업 내역 (Required)
Review Point (Required)
Screenshot
test용으로 W,H dp사이즈 출력했고 commit에서는 지웠어염
https://github.com/user-attachments/assets/672f9221-84de-4003-b031-513a9a1b35fd