[UI] 버튼 컴포넌트 구현완료#20
Conversation
JJUYAAA
left a comment
There was a problem hiding this comment.
헉 양이 엄청 많네용 너무너무 수고하셨습니다아 ~~~~
| <string name="book_author">한한강한강한강한ㅇㅇㄴㄴㅁ강</string> | ||
|
|
||
| <!-- 버튼 컴포넌트 --> | ||
| <string name="author">저</string> |
There was a problem hiding this comment.
ㅎㅋㅎㅋㅎㅋ이게 마자용 ! "한강 저"라고 돼있더라구욧
|
|
||
| <!-- mock data --> | ||
| <string name="book_title">책이름을입력해주세요책이름을</string> | ||
| <string name="book_author">한한강한강한강한ㅇㅇㄴㄴㅁ강</string> |
There was a problem hiding this comment.
저는 앱 내에 디폴트값인 문자열만 따로 추출해서 사용하는 거라고 생각하고 있었는데, mock data도 이렇게 추출해야 하는 건가용? 나중에 수정한다고 해도, 고정된 값이 아닐텐데 따로 추출을 해두는 것이 일반적인 방법인지 궁금해용 -!!🧐
There was a problem hiding this comment.
아 원래는 디폴트만 추출하고 이렇게 mock data는 굳이 추출 안해도 되긴 하는데 이렇게 자주 쓰이는 mock data는 추출하는 편입니두 .. 어차피 나중에 삭제할 데이터라 어떤 방식으로 해도 상관 없을거같긴해용 ~
| painter = painterResource( | ||
| id = if (expanded) R.drawable.ic_upmore else R.drawable.ic_downmore | ||
| ), | ||
| contentDescription = "Dropdown", |
There was a problem hiding this comment.
단순하게 궁금한게 하나 있는데, 코드들을 보면 대부분의 아이콘에 description을 null로 주셨는데 여기서는 채워져있네요! 이게 어떤 기준으로 나누신 건지 궁금합니당
There was a problem hiding this comment.
ㅎㅎㅋㅎㅋㅎㅋ사실 코드 자동완성에 따라서 따라가는 편인데 ... 보통 자동완성은 contentDescription을 채워주고 저는 그냥 null을 때려박아서 ... null은 최대한 안쓰는게 좋긴한데 귀찮으면 null쓰는 편입니다 ㅠㅠ
|
늦은 만큼 확실하게 확인할게요~ |
rbqks529
left a comment
There was a problem hiding this comment.
전부 확인했는데 확실히 안드 고인물 답게 깔끔하게 하시네요
| Box( | ||
| modifier = Modifier | ||
| .fillMaxSize() | ||
| .padding(16.dp), // TODO: 화면에서 버튼 위치 조정 |
There was a problem hiding this comment.
아 이거 화면 상 위치인데 이거 구현했을 당시에 화면상 FAB 버튼의 위치가 어디인지 안나왔어서 임의로 설정했었습니둥
There was a problem hiding this comment.
이 Composable이 그 영상에 나오는 FAB누르면 추가 버튼나오는 함수인가요?
There was a problem hiding this comment.
아뇽 영상 중에 button/icon_checkbox -> CheckboxButton 입니두 ~
| modifier = Modifier | ||
| .fillMaxWidth() | ||
| .clickable( | ||
| interactionSource = remember { MutableInteractionSource() }, |
There was a problem hiding this comment.
이거 아래애 있는
indication = null 코드랑 같이 클릭되는 효과를 없애기 위한 코드입니두
interactionSource = remember { MutableInteractionSource() } 는 상호작용 상태를 추적하는 기능입니닷!
There was a problem hiding this comment.
확인하니까 깔끔하고 좋은데 디자인 사항에는 없긴한데 애니메이션을 넣을 수 있다면 넣는거는 어떨까요
맞습니닷 아직 확실하게 어떻게 될지 결론이 안난거같아서 일단 냅뒀습니당ㅇ |
|
Note Currently processing new changes in this PR. This may take a few minutes, please wait... 📒 Files selected for processing (22)
Tip You can customize the tone of the review comments and chat replies.Set the ✨ Finishing Touches
🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
SupportNeed help? Create a ticket on our support page for assistance with any issues or questions. Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
➕ 이슈 링크
🔎 작업 내용
📸 스크린샷
button/action_book -> AcitonBookButton
button/action_medium -> ActionMediumButton
button/action_fill -> ActionFillButton
button/button_group_vote -> GroupVoteButton ** 애니메이션 효과 추가 **
2025-06-23.10.41.37.mov
button/chips_toggle -> ToggleSwitchButton
2025-05-29.5.17.54.mov
button/chips_option -> OptionChipButton, GenreChipButton, RecentSearchButton
OptionChipButton
2025-05-29.5.18.45.mov
GenreChipButton

RecentSearchButton

button/button_header -> HeaderButton
2025-05-29.5.19.47.mov
button/icon_fab - feedwrite, makeroom / note_default, web_default 컴포넌트로 나눠서 구현
ExpandableFloatingButton
https://github.com/user-attachments/assets/c656d3d4-86fd-4831-bb65-0006f8b4eb49
FloatingButton

button/icon_checkbox -> CheckboxButton
2025-05-29.5.22.42.mov
button/text_filter -> FilterButton
2025-05-29.5.23.35.mov
button/button_follow, button/button_change -> OutlinedButton
😢 해결하지 못한 과제
button/chips_option의 페이지별 보기 버튼은 로직 수정 회의를 해봐야 할 것 같아서 아직 구현 안했습니다.
📢 리뷰어들에게
Summary by CodeRabbit
New Features
리소스
환경설정