Conversation
📝 WalkthroughWalkthrough새로운 HistoryCardItem 컴포저블이 추가되었습니다. 두 가지 크기(SMALL, LARGE)를 지원하는 CardHistorySize enum, 각 크기별 텍스트 스타일을 제공하는 extension properties, 그리고 클릭 상호작용과 누른 상태 피드백을 처리하는 카드 컴포넌트가 구현되었습니다. Changes
Estimated code review effort🎯 3 (Moderate) | ⏱️ ~20 minutes Possibly related PRs
Suggested reviewers
추가 검토 사항Modern Android Development 권장사항 기준으로 몇 가지 확인해주시면 좋을 것 같습니다:
🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (4 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing touches
🧹 Recent nitpick comments
📜 Recent review detailsConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Pro 📒 Files selected for processing (1)
🧰 Additional context used📓 Path-based instructions (1)**/*.kt⚙️ CodeRabbit configuration file
Files:
🔇 Additional comments (2)
✏️ Tip: You can disable this entire section by setting Comment |
| .clickable( | ||
| interactionSource = interactionSource, | ||
| indication = null, | ||
| onClick = onClick, | ||
| ) |
There was a problem hiding this comment.
.noRippleClickable(
interactionSource = interactionSource,
onClick = onClick,
)P2: noRippleClickable() 확장함수 적용 가능할 것 같아유
| Text( | ||
| text = title, | ||
| style = sizeType.titleStyle, | ||
| color = colors.black, | ||
| ) |
There was a problem hiding this comment.
p1: 여기 maxLines=1 / Elipses(?) 라고 합니다! 제가 디쌤한테 물어봄
| Text( | ||
| text = artist, | ||
| style = sizeType.artistStyle, | ||
| color = colors.gray800, | ||
| ) |
There was a problem hiding this comment.
p1: 여기두 maxLines=1 적용해주면 좋을 듯!
| color = colors.black, | ||
| ) | ||
|
|
||
| Spacer(modifier = Modifier.height(12.dp)) |
There was a problem hiding this comment.
p1: verticalArrangement = Arrangement.spacedBy(2.dp)가 적용되어 있어, 본 Spacer로 인해 16dp 여백이 생기는 것 같아요!
verticalArrangement = Arrangement.spacedBy(2.dp) 없애주는 편이 좋아보입니당
또한 SMALL/LARGE일 때 여기 여백이 달라요! LARGE일 때는 22dp
There was a problem hiding this comment.
P1: 그리고 여기 column에도 위아래 여백 large일 때랑 small일 때 패딩 달라요. large일 때는 위아래 4.dp 패딩인데 small일 때는 위에 2.dp고 아래에 4.dp 임!
| ) { | ||
| SMALL(imageSize = 81.dp), | ||
| LARGE(imageSize = 96.dp), | ||
| } | ||
|
|
| color = colors.black, | ||
| ) | ||
|
|
||
| Spacer(modifier = Modifier.height(12.dp)) |
There was a problem hiding this comment.
P1: 그리고 여기 column에도 위아래 여백 large일 때랑 small일 때 패딩 달라요. large일 때는 위아래 4.dp 패딩인데 small일 때는 위에 2.dp고 아래에 4.dp 임!
| val (text, color) = when (state) { | ||
| "done" -> "모집 완료" to colors.poti600 | ||
| "wait" -> "입금 대기" to colors.sementicRed | ||
| else -> "상태" to colors.gray800 | ||
| } |
There was a problem hiding this comment.
P1: 스트링 추출 해주세요! 그리고 이거 enum class로 빼면 좋을 듯
There was a problem hiding this comment.
요고는 임시 컴포넌트인데 필요한 컴포넌트 머지되서 수정할게요
| } | ||
|
|
||
| @Composable | ||
| fun HistoryCardHistory( |
There was a problem hiding this comment.
P1: 이거 History가 두 번 들어가서 좀 어색한듯?? 그냥 HistoryCard나 HistoryCardItem 어떠신가요
| Text( | ||
| text = artist, | ||
| style = sizeType.artistStyle, | ||
| color = colors.gray800, | ||
| ) |

Related issue 🛠️
Work Description ✏️
Screenshot 📸
Uncompleted Tasks 😅
To Reviewers 📢
Summary by CodeRabbit
릴리스 노트
✏️ Tip: You can customize this high-level summary in your review settings.