Skip to content

Conversation

@seoyoon513
Copy link
Contributor

@seoyoon513 seoyoon513 commented Jul 10, 2025

🔗 관련 이슈

📙 작업 설명

  • ButtonSizeStyle에 RoundedButton 타입 추가
  • ButtonSizeStyle애 iconSize 필드 추가 (smallSizeButton 아이콘 크기 변경사항 적용 24px->22px)
  • 버튼 Preview 개선
  • 코드 스타일 개선

📸 스크린샷 또는 시연 영상

Button 프리뷰 부분 예쁘게 바꿔봤습니다
image

💬 추가 설명 or 리뷰 포인트 (선택)

  • 컴포저블 함수 내 파라미터 순서와 같은 컨벤션 부분, 프로젝트가 더 커지기 전에 업보 청산했습니다
  • ReedButton은 onClick, sizeStyle, colorStyle 값을 필수로 받습니다 스타일 값은 아래 코드 참고 부탁드려요!
ReedButton(
    onClick = {},
    sizeStyle = largeButtonStyle, // large, medium, small, largeRounded, mediumRounded, smallRounded 중 선택
    colorStyle = ReedButtonColorStyle.PRIMARY, // PRIMARY, SECONDARY, TERTIARY 중 선택
    text = "button",
)
  • ReedButton의 경우 sizeType, colorType 순서로 받게 했습니다. Button에 shape 파라미터가 color파라미터보다 위에 있어서 해당 부분 참고했습니다

Summary by CodeRabbit

  • New Features

    • 버튼 스타일에 아이콘 크기(iconSize) 옵션이 추가되었습니다.
    • 라운드 형태의 버튼 스타일(large, medium, small)이 새롭게 추가되었습니다.
    • 다양한 버튼 스타일과 상태(비활성화 포함)를 미리 볼 수 있는 프리뷰가 확장되었습니다.
  • Style

    • 버튼, 앱바, 바텀시트 등 여러 컴포넌트에서 파라미터 순서가 일관성 있게 정렬되었습니다.
    • 체크박스 아이콘 리소스가 벡터 방식으로 변경되어 렌더링 품질이 향상되었습니다.

@coderabbitai
Copy link

coderabbitai bot commented Jul 10, 2025

Walkthrough

이 변경사항은 디자인 시스템의 버튼, 체크박스, 바텀시트, 앱바 컴포넌트의 코드 스타일을 개선하고, 버튼 스타일에 라운드 형태와 아이콘 크기 속성을 추가하며, 프리뷰를 확장합니다. 또한, 관련 기능에서 버튼 파라미터 순서를 일관되게 정렬합니다.

Changes

파일/경로 그룹 변경 요약
.../component/button/ButtonSizeStyle.kt ButtonSizeStyle에 iconSize 속성 추가, large/medium/smallRoundedButtonStyle 라운드 버튼 스타일 3종 추가
.../component/button/ReedButton.kt ReedButton 파라미터 순서 변경, 아이콘 크기 적용, 프리뷰 확장 및 Disabled 상태 프리뷰 추가
.../component/checkbox/CircleCheckBox.kt
.../checkbox/SquareCheckBox.kt
.../checkbox/TickOnlyCheckBox.kt
체크박스 아이콘 리소스 painter에서 vector로 변경
.../component/appbar/ReedTopAppBar.kt
.../component/bottomsheet/ReedBottomSheet.kt
Row/ModalBottomSheet 등 컴포저블 파라미터 순서 조정, 코드 스타일 개선
.../feature/login/LoginScreen.kt
.../feature/termsagreement/TermsAgreementScreen.kt
ReedButton 호출 시 sizeStyle, colorStyle 파라미터 순서 일관성 있게 변경

Sequence Diagram(s)

sequenceDiagram
    participant User
    participant UI
    participant ReedButton

    User->>UI: 버튼 클릭
    UI->>ReedButton: ReedButton(onClick, sizeStyle, colorStyle, ...)
    ReedButton->>UI: 버튼 렌더링 (스타일, 라운드, 아이콘 크기 적용)
Loading

Assessment against linked issues

Objective Addressed Explanation
Button 디자인 round shape 추가 (#40)
디자인 가이드 변경사항 적용 (#40)
코드 스타일 개선 (#40)

Poem

버튼이 둥글게, 체크는 선명하게
스타일도 정돈해, 코드는 반짝이네
아이콘 크기도 딱 맞춰
프리뷰도 풍성하게
디자인 토끼는 오늘도 신나게! 🐇✨


📜 Recent review details

Configuration used: CodeRabbit UI
Review profile: CHILL
Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between 69f594d and 3e1ac21.

📒 Files selected for processing (4)
  • core/designsystem/src/main/kotlin/com/ninecraft/booket/core/designsystem/component/button/ReedButton.kt (9 hunks)
  • core/designsystem/src/main/kotlin/com/ninecraft/booket/core/designsystem/component/checkbox/CircleCheckBox.kt (2 hunks)
  • core/designsystem/src/main/kotlin/com/ninecraft/booket/core/designsystem/component/checkbox/SquareCheckBox.kt (2 hunks)
  • core/designsystem/src/main/kotlin/com/ninecraft/booket/core/designsystem/component/checkbox/TickOnlyCheckBox.kt (2 hunks)
🚧 Files skipped from review as they are similar to previous changes (3)
  • core/designsystem/src/main/kotlin/com/ninecraft/booket/core/designsystem/component/checkbox/SquareCheckBox.kt
  • core/designsystem/src/main/kotlin/com/ninecraft/booket/core/designsystem/component/checkbox/CircleCheckBox.kt
  • core/designsystem/src/main/kotlin/com/ninecraft/booket/core/designsystem/component/checkbox/TickOnlyCheckBox.kt
🧰 Additional context used
🧠 Learnings (2)
📓 Common learnings
Learnt from: seoyoon513
PR: YAPP-Github/Reed-Android#32
File: core/designsystem/src/main/kotlin/com/ninecraft/booket/core/designsystem/component/button/ButtonColorStyle.kt:10-16
Timestamp: 2025-07-08T12:33:01.863Z
Learning: Reed Android 프로젝트에서 KAKAO 버튼 스타일은 디자이너가 pressed 상태 색상을 별도로 정의하지 않았기 때문에 pressed 상태에서도 동일한 Kakao 색상을 사용한다.
core/designsystem/src/main/kotlin/com/ninecraft/booket/core/designsystem/component/button/ReedButton.kt (1)
Learnt from: seoyoon513
PR: YAPP-Github/Reed-Android#32
File: core/designsystem/src/main/kotlin/com/ninecraft/booket/core/designsystem/component/button/ButtonColorStyle.kt:10-16
Timestamp: 2025-07-08T12:33:01.863Z
Learning: Reed Android 프로젝트에서 KAKAO 버튼 스타일은 디자이너가 pressed 상태 색상을 별도로 정의하지 않았기 때문에 pressed 상태에서도 동일한 Kakao 색상을 사용한다.
⏰ Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (1)
  • GitHub Check: ci-build
🔇 Additional comments (8)
core/designsystem/src/main/kotlin/com/ninecraft/booket/core/designsystem/component/button/ReedButton.kt (8)

12-13: 새로운 import 추가가 적절합니다.

paddingsize import가 새로 추가되어 프리뷰 확장과 아이콘 크기 개선에 사용되고 있습니다.


35-36: 매개변수 순서 변경이 일관성을 개선합니다.

sizeStylecolorStyle 매개변수를 onClick 바로 다음으로 이동시켜 필수 매개변수들을 앞쪽에 배치한 것이 좋습니다. 이는 PR 목표에서 언급된 컴포넌트 매개변수 순서 일관성 개선과 일치합니다.


51-51: 애니메이션 레이블 개선이 가독성을 향상시킵니다.

"ScaleAnimation"에서 "Scale Animation"으로 변경하여 레이블의 가독성이 향상되었습니다.


72-72: 아이콘 크기 처리가 개선되었습니다.

sizeIn에서 size(sizeStyle.iconSize)로 변경하여 더 명확하고 일관된 아이콘 크기 관리가 가능해졌습니다. 이는 새로 추가된 iconSize 속성을 활용한 좋은 개선입니다.

Also applies to: 93-93


104-104: 프리뷰에 패딩 추가가 시각적 품질을 향상시킵니다.

모든 프리뷰 함수에 20dp 패딩을 추가하여 프리뷰의 시각적 품질이 향상되었습니다.

Also applies to: 278-278, 452-452


129-270: 프리뷰 확장이 포괄적인 컴포넌트 시연을 제공합니다.

각 프리뷰 함수에서 다음과 같은 개선사항이 있습니다:

  • 라운드 버튼 스타일 추가 시연
  • 아이콘이 있는 버튼과 없는 버튼 모두 시연
  • 모든 색상 스타일 조합 시연

이는 디자인 시스템 컴포넌트의 다양한 사용 사례를 효과적으로 보여줍니다.

Also applies to: 303-444, 477-618


622-690: 새로운 비활성화 상태 프리뷰가 유용합니다.

ReedButtonDisabledPreview 함수가 추가되어 비활성화 상태의 버튼들을 시연합니다. 이는 디자인 시스템의 완성도를 높이고 개발자들이 비활성화 상태를 쉽게 확인할 수 있게 합니다.


68-69: ReedButton 내부 Compose Button 호출 파라미터 순서 검증 완료

Compose Button의 공식 시그니처(contentPaddinginteractionSource)와 일치하므로 추가 수정이 필요 없습니다.

  • 대상 위치: core/designsystem/src/main/kotlin/com/ninecraft/booket/core/designsystem/component/button/ReedButton.kt (68–69행)
✨ Finishing Touches
  • 📝 Generate Docstrings

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share
🪧 Tips

Chat

There are 3 ways to chat with CodeRabbit:

  • Review comments: Directly reply to a review comment made by CodeRabbit. Example:
    • I pushed a fix in commit <commit_id>, please review it.
    • Explain this complex logic.
    • Open a follow-up GitHub issue for this discussion.
  • Files and specific lines of code (under the "Files changed" tab): Tag @coderabbitai in a new review comment at the desired location with your query. Examples:
    • @coderabbitai explain this code block.
    • @coderabbitai modularize this function.
  • PR comments: Tag @coderabbitai in a new PR comment to ask questions about the PR branch. For the best results, please provide a very specific query, as very limited context is provided in this mode. Examples:
    • @coderabbitai gather interesting stats about this repository and render them as a table. Additionally, render a pie chart showing the language distribution in the codebase.
    • @coderabbitai read src/utils.ts and explain its main purpose.
    • @coderabbitai read the files in the src/scheduler package and generate a class diagram using mermaid and a README in the markdown format.
    • @coderabbitai help me debug CodeRabbit configuration file.

Support

Need 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)

  • @coderabbitai pause to pause the reviews on a PR.
  • @coderabbitai resume to resume the paused reviews.
  • @coderabbitai review to trigger an incremental review. This is useful when automatic reviews are disabled for the repository.
  • @coderabbitai full review to do a full review from scratch and review all the files again.
  • @coderabbitai summary to regenerate the summary of the PR.
  • @coderabbitai generate docstrings to generate docstrings for this PR.
  • @coderabbitai generate sequence diagram to generate a sequence diagram of the changes in this PR.
  • @coderabbitai resolve resolve all the CodeRabbit review comments.
  • @coderabbitai configuration to show the current CodeRabbit configuration for the repository.
  • @coderabbitai help to get help.

Other keywords and placeholders

  • Add @coderabbitai ignore anywhere in the PR description to prevent this PR from being reviewed.
  • Add @coderabbitai summary to generate the high-level summary at a specific location in the PR description.
  • Add @coderabbitai anywhere in the PR title to generate the title automatically.

CodeRabbit Configuration File (.coderabbit.yaml)

  • You can programmatically configure CodeRabbit by adding a .coderabbit.yaml file to the root of your repository.
  • Please see the configuration documentation for more information.
  • If your editor has YAML language server enabled, you can add the path at the top of this file to enable auto-completion and validation: # yaml-language-server: $schema=https://coderabbit.ai/integrations/schema.v2.json

Documentation and Community

  • Visit our Documentation for detailed information on how to use CodeRabbit.
  • Join our Discord Community to get help, request features, and share feedback.
  • Follow us on X/Twitter for updates and announcements.

Copy link

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

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

Actionable comments posted: 0

🧹 Nitpick comments (1)
core/designsystem/src/main/kotlin/com/ninecraft/booket/core/designsystem/component/appbar/ReedTopAppBar.kt (1)

95-98: 문자열 리소스 하드코딩 제거 제안
"Back", "Close" 문자열이 하드코딩되어 있어 다국어 지원 시 누락될 위험이 있습니다. string 리소스로 분리하면 번역·접근성 관리가 쉬워집니다.

-import androidx.compose.ui.res.painterResource
+import androidx.compose.ui.res.painterResource
+import androidx.compose.ui.res.stringResource
...
-        startIconDescription = "Back",
+        startIconDescription = stringResource(id = R.string.back),
...
-        endIconDescription = "Close",
+        endIconDescription = stringResource(id = R.string.close),

core/designsystem/src/main/res/values/strings.xml 등에 back, close 키를 정의해 주세요.

Also applies to: 110-113

📜 Review details

Configuration used: CodeRabbit UI
Review profile: CHILL
Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between 336c7af and 69f594d.

📒 Files selected for processing (9)
  • core/designsystem/src/main/kotlin/com/ninecraft/booket/core/designsystem/component/appbar/ReedTopAppBar.kt (2 hunks)
  • core/designsystem/src/main/kotlin/com/ninecraft/booket/core/designsystem/component/bottomsheet/ReedBottomSheet.kt (2 hunks)
  • core/designsystem/src/main/kotlin/com/ninecraft/booket/core/designsystem/component/button/ButtonSizeStyle.kt (4 hunks)
  • core/designsystem/src/main/kotlin/com/ninecraft/booket/core/designsystem/component/button/ReedButton.kt (9 hunks)
  • core/designsystem/src/main/kotlin/com/ninecraft/booket/core/designsystem/component/checkbox/CircleCheckBox.kt (2 hunks)
  • core/designsystem/src/main/kotlin/com/ninecraft/booket/core/designsystem/component/checkbox/SquareCheckBox.kt (2 hunks)
  • core/designsystem/src/main/kotlin/com/ninecraft/booket/core/designsystem/component/checkbox/TickOnlyCheckBox.kt (2 hunks)
  • feature/login/src/main/kotlin/com/ninecraft/booket/feature/login/LoginScreen.kt (1 hunks)
  • feature/login/src/main/kotlin/com/ninecraft/booket/feature/termsagreement/TermsAgreementScreen.kt (1 hunks)
🧰 Additional context used
🧠 Learnings (5)
📓 Common learnings
Learnt from: seoyoon513
PR: YAPP-Github/Reed-Android#32
File: core/designsystem/src/main/kotlin/com/ninecraft/booket/core/designsystem/component/button/ButtonColorStyle.kt:10-16
Timestamp: 2025-07-08T12:33:01.863Z
Learning: Reed Android 프로젝트에서 KAKAO 버튼 스타일은 디자이너가 pressed 상태 색상을 별도로 정의하지 않았기 때문에 pressed 상태에서도 동일한 Kakao 색상을 사용한다.
feature/login/src/main/kotlin/com/ninecraft/booket/feature/termsagreement/TermsAgreementScreen.kt (2)
Learnt from: seoyoon513
PR: YAPP-Github/Reed-Android#35
File: feature/login/src/main/kotlin/com/ninecraft/booket/feature/login/TermsAgreementScreen.kt:127-127
Timestamp: 2025-07-09T01:14:29.836Z
Learning: In the Reed-Android project's TermsAgreementScreen.kt, the OnTermDetailClick event is intentionally passed an empty string for the URL parameter because the actual URLs for terms detail pages haven't been decided yet. This is a temporary implementation that will be updated once the URLs are finalized.
Learnt from: seoyoon513
PR: YAPP-Github/Reed-Android#32
File: core/designsystem/src/main/kotlin/com/ninecraft/booket/core/designsystem/component/button/ButtonColorStyle.kt:10-16
Timestamp: 2025-07-08T12:33:01.863Z
Learning: Reed Android 프로젝트에서 KAKAO 버튼 스타일은 디자이너가 pressed 상태 색상을 별도로 정의하지 않았기 때문에 pressed 상태에서도 동일한 Kakao 색상을 사용한다.
core/designsystem/src/main/kotlin/com/ninecraft/booket/core/designsystem/component/bottomsheet/ReedBottomSheet.kt (3)
Learnt from: seoyoon513
PR: YAPP-Github/Reed-Android#35
File: feature/login/src/main/kotlin/com/ninecraft/booket/feature/login/TermsAgreementScreen.kt:127-127
Timestamp: 2025-07-09T01:14:29.836Z
Learning: In the Reed-Android project's TermsAgreementScreen.kt, the OnTermDetailClick event is intentionally passed an empty string for the URL parameter because the actual URLs for terms detail pages haven't been decided yet. This is a temporary implementation that will be updated once the URLs are finalized.
Learnt from: seoyoon513
PR: YAPP-Github/Reed-Android#32
File: core/designsystem/src/main/kotlin/com/ninecraft/booket/core/designsystem/component/button/ButtonColorStyle.kt:10-16
Timestamp: 2025-07-08T12:33:01.863Z
Learning: Reed Android 프로젝트에서 KAKAO 버튼 스타일은 디자이너가 pressed 상태 색상을 별도로 정의하지 않았기 때문에 pressed 상태에서도 동일한 Kakao 색상을 사용한다.
Learnt from: seoyoon513
PR: YAPP-Github/Reed-Android#32
File: core/designsystem/src/main/kotlin/com/ninecraft/booket/core/designsystem/theme/Theme.kt:15-21
Timestamp: 2025-07-08T03:21:24.693Z
Learning: Reed Android 프로젝트에서는 다크모드/라이트모드 대응 계획이 없고 기본 테마 값만 사용할 예정이다.
feature/login/src/main/kotlin/com/ninecraft/booket/feature/login/LoginScreen.kt (2)
Learnt from: seoyoon513
PR: YAPP-Github/Reed-Android#35
File: feature/login/src/main/kotlin/com/ninecraft/booket/feature/login/TermsAgreementScreen.kt:127-127
Timestamp: 2025-07-09T01:14:29.836Z
Learning: In the Reed-Android project's TermsAgreementScreen.kt, the OnTermDetailClick event is intentionally passed an empty string for the URL parameter because the actual URLs for terms detail pages haven't been decided yet. This is a temporary implementation that will be updated once the URLs are finalized.
Learnt from: seoyoon513
PR: YAPP-Github/Reed-Android#32
File: core/designsystem/src/main/kotlin/com/ninecraft/booket/core/designsystem/component/button/ButtonColorStyle.kt:10-16
Timestamp: 2025-07-08T12:33:01.863Z
Learning: Reed Android 프로젝트에서 KAKAO 버튼 스타일은 디자이너가 pressed 상태 색상을 별도로 정의하지 않았기 때문에 pressed 상태에서도 동일한 Kakao 색상을 사용한다.
core/designsystem/src/main/kotlin/com/ninecraft/booket/core/designsystem/component/button/ReedButton.kt (1)
Learnt from: seoyoon513
PR: YAPP-Github/Reed-Android#32
File: core/designsystem/src/main/kotlin/com/ninecraft/booket/core/designsystem/component/button/ButtonColorStyle.kt:10-16
Timestamp: 2025-07-08T12:33:01.863Z
Learning: Reed Android 프로젝트에서 KAKAO 버튼 스타일은 디자이너가 pressed 상태 색상을 별도로 정의하지 않았기 때문에 pressed 상태에서도 동일한 Kakao 색상을 사용한다.
🧬 Code Graph Analysis (1)
core/designsystem/src/main/kotlin/com/ninecraft/booket/core/designsystem/component/bottomsheet/ReedBottomSheet.kt (1)
core/designsystem/src/main/kotlin/com/ninecraft/booket/core/designsystem/component/button/ReedButton.kt (1)
  • ReedButton (33-99)
⏰ Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (1)
  • GitHub Check: ci-build
🔇 Additional comments (19)
core/designsystem/src/main/kotlin/com/ninecraft/booket/core/designsystem/component/appbar/ReedTopAppBar.kt (2)

42-44: Row 파라미터 순서 통일 👍
horizontalArrangementverticalAlignment 순서로 맞춰서 다른 컴포저블들과 스타일을 통일하신 점 확인했습니다. 가독성과 유지보수성이 한층 좋아졌어요.


61-66: Text 파라미터 순서 개선 확인
modifier, textAlign 뒤에 style을 배치해 스타일 관련 인자를 묶어둔 점이 일관성 측면에서 좋습니다. 추가 조치 필요 없어 보입니다.

core/designsystem/src/main/kotlin/com/ninecraft/booket/core/designsystem/component/checkbox/CircleCheckBox.kt (2)

18-20: 벡터 리소스 로딩 방식 개선을 승인합니다.

painterResource에서 ImageVector.vectorResource로 변경하여 벡터 아이콘 로딩 방식을 현대적으로 개선했습니다. 이는 다른 체크박스 컴포넌트들과의 일관성을 위한 좋은 변경입니다.


50-50: 아이콘 렌더링 방식 개선을 승인합니다.

ImageVector.vectorResource를 사용하여 아이콘 렌더링 방식을 개선했습니다. 이는 더 효율적이고 일관된 벡터 처리 방식입니다.

core/designsystem/src/main/kotlin/com/ninecraft/booket/core/designsystem/component/button/ButtonSizeStyle.kt (3)

15-15: 아이콘 크기 속성 추가를 승인합니다.

ButtonSizeStyleiconSize 속성을 추가하여 버튼 크기에 따른 아이콘 크기 조정을 지원합니다. 기본값 24dp로 설정하여 하위 호환성을 보장합니다.


27-27: 기존 버튼 스타일의 아이콘 크기 명시적 설정을 승인합니다.

각 버튼 크기별로 적절한 아이콘 크기를 명시적으로 설정했습니다. 작은 버튼은 22dp, 나머지는 24dp로 설정하여 시각적 균형을 맞췄습니다.

Also applies to: 39-39, 51-51


54-88: 검증 완료: 새로운 라운드 버튼 스타일이 정상적으로 적용되었습니다

ReedButton 컴포저블에서 sizeStyle.iconSizesizeStyle.iconSpacing이 아래 위치에서 올바르게 사용됨을 확인했습니다:

  • core/designsystem/src/main/kotlin/com/ninecraft/booket/core/designsystem/component/button/ReedButton.kt
    • Line 73, 94: Box(Modifier.size(sizeStyle.iconSize))
    • Line 79, 90: Spacer(Modifier.width(sizeStyle.iconSpacing))

모든 라운드 버튼 스타일(large, medium, small)이 기대한 대로 적용되어 있어 추가 작업 없이 승인합니다.

feature/login/src/main/kotlin/com/ninecraft/booket/feature/termsagreement/TermsAgreementScreen.kt (1)

117-118: ReedButton 파라미터 순서 개선을 승인합니다.

sizeStylecolorStyle 파라미터를 선택적 파라미터들보다 앞에 배치하여 일관성을 개선했습니다. 이는 Compose의 일반적인 패턴을 따르며 API를 더 예측 가능하게 만듭니다.

core/designsystem/src/main/kotlin/com/ninecraft/booket/core/designsystem/component/checkbox/SquareCheckBox.kt (2)

18-20: 벡터 리소스 로딩 방식 개선을 승인합니다.

ImageVectorvectorResource 임포트를 추가하여 벡터 아이콘 처리 방식을 현대화했습니다. 이는 CircleCheckBox와 일관된 접근 방식입니다.


50-50: 아이콘 렌더링 방식 개선을 승인합니다.

ImageVector.vectorResource를 사용하여 체크 아이콘을 렌더링하도록 변경했습니다. 이는 더 효율적이고 일관된 벡터 처리 방식으로, 다른 체크박스 컴포넌트들과 통일성을 유지합니다.

feature/login/src/main/kotlin/com/ninecraft/booket/feature/login/LoginScreen.kt (1)

57-58: ReedButton 파라미터 순서 개선을 승인합니다.

sizeStylecolorStyle 파라미터를 modifier와 다른 선택적 파라미터들보다 앞에 배치했습니다. 이는 TermsAgreementScreen과 일관성을 유지하며 전체 코드베이스의 일관성을 향상시킵니다.

core/designsystem/src/main/kotlin/com/ninecraft/booket/core/designsystem/component/bottomsheet/ReedBottomSheet.kt (1)

36-36: 파라미터 순서 일관성 개선 승인

ModalBottomSheet와 ReedButton 컴포넌트의 파라미터 순서를 일관되게 정렬한 변경사항입니다. 기능적 변경 없이 코드 스타일만 개선되었습니다.

Also applies to: 55-55, 61-61

core/designsystem/src/main/kotlin/com/ninecraft/booket/core/designsystem/component/checkbox/TickOnlyCheckBox.kt (2)

12-12: 아이콘 로딩 방식 표준화 승인

ImageVector와 vectorResource 임포트가 적절히 추가되었습니다.

Also applies to: 14-14


28-29: 벡터 리소스 로딩 방식 개선 승인

painterResource에서 ImageVector.vectorResource로 변경하여 다른 체크박스 컴포넌트들과 일관성을 맞춘 좋은 개선사항입니다.

core/designsystem/src/main/kotlin/com/ninecraft/booket/core/designsystem/component/button/ReedButton.kt (5)

36-37: 파라미터 순서 표준화 승인

sizeStyle과 colorStyle 파라미터를 필수 파라미터로 앞으로 이동시켜 PR 목표에 명시된 일관성을 달성했습니다.


52-52: 애니메이션 레이블 포맷 개선 승인

애니메이션 레이블의 포맷이 더 명확하게 개선되었습니다.


69-70: Button 컴포넌트 파라미터 순서 개선 승인

contentPadding과 interactionSource 파라미터의 순서가 조정되어 일관성이 향상되었습니다.


73-73: 아이콘 크기 처리 개선 승인

sizeIn에서 size로 변경하여 ButtonSizeStyle.iconSize 속성을 직접 사용하는 것이 더 명확하고 일관된 접근방식입니다. 이는 PR에서 언급한 아이콘 크기 조정 기능과 잘 맞습니다.

Also applies to: 94-94


130-271: 프리뷰 확장 및 새로운 기능 시연 승인

새로운 라운드 버튼 스타일과 비활성화 상태를 포함한 포괄적인 프리뷰가 추가되어 디자인 시스템의 모든 변형을 잘 보여주고 있습니다. 특히 새로운 ReedButtonDisabledPreview는 접근성 테스트에 유용할 것입니다.

Also applies to: 304-445, 478-621, 623-691

Copy link
Contributor

@easyhooon easyhooon left a comment

Choose a reason for hiding this comment

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

좋구만!

) {
Icon(
painter = painterResource(id = R.drawable.ic_check),
imageVector = ImageVector.vectorResource(id = R.drawable.ic_check),
Copy link
Contributor

Choose a reason for hiding this comment

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

👍 👍 👍

@seoyoon513 seoyoon513 merged commit 3b868b8 into develop Jul 10, 2025
3 checks passed
@seoyoon513 seoyoon513 deleted the BOOK-123-feature/#40 branch July 10, 2025 10:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[BOOK-123/feat] Design 컴포넌트 추가 및 변경사항 적용

3 participants