[REFACTOR] Select 컴포넌트 크기 맞춤, drag svg 추가#107
Conversation
Walkthrough세 개의 UI 컴포넌트 모듈이 업데이트되었습니다. Input의 내보내기 경로가 변경되고, SelectButton에 className 속성이 추가되며 크기 변수가 업데이트되고, 아이콘 에셋에 새로운 Drag 아이콘이 추가되었습니다. Changes
Estimated code review effort🎯 2 (Simple) | ⏱️ ~10 minutes
Possibly related PRs
Suggested labels
Suggested reviewers
Pre-merge checks and finishing touches❌ Failed checks (3 warnings)
✅ Passed checks (2 passed)
✨ Finishing touches
🧪 Generate unit tests (beta)
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. Comment |
|
Update: 2025년 11월 18일 20시 31분 42초 |
There was a problem hiding this comment.
Actionable comments posted: 1
📜 Review details
Configuration used: Path: .coderabbit.yaml
Review profile: ASSERTIVE
Plan: Pro
⛔ Files ignored due to path filters (1)
src/shared/ui/assets/drag.svgis excluded by!**/*.svg
📒 Files selected for processing (3)
src/shared/index.ts(1 hunks)src/shared/ui/Select/SelectButton.tsx(1 hunks)src/shared/ui/assets/index.tsx(2 hunks)
🧰 Additional context used
🧬 Code graph analysis (1)
src/shared/ui/Select/SelectButton.tsx (2)
src/shared/ui/DoubleButton/DoubleButton.tsx (1)
Props(7-16)src/shared/ui/Flex/Flex.tsx (1)
Flex(78-107)
⏰ 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: preview-storybook
🔇 Additional comments (6)
src/shared/ui/assets/index.tsx (2)
43-43: LGTM! 드래그 아이콘 추가Icons 객체에 새로운 드래그 아이콘이 올바르게 추가되었습니다. 이는 PR 목표와 일치하며, IconName 타입이 자동으로 'drag' 키를 포함하도록 확장됩니다.
12-12: 드래그 SVG 파일 검증 완료
drag.svg파일이src/shared/ui/assets/디렉토리에 정상적으로 존재하는 것이 확인되었습니다. 파일 크기는 2.3K이며, 임포트 경로가 정확합니다.src/shared/ui/Select/SelectButton.tsx (3)
24-27: LGTM! className 속성 추가className 속성이 Props에 올바르게 추가되었습니다. 이는 컴포넌트의 확장성을 높이고 다른 컴포넌트(예: DoubleButton)와 일관된 패턴을 따릅니다.
35-52: LGTM! 속성 전달 패턴이 올바르게 구현되었습니다.함수 시그니처가
className과...props를 포함하도록 업데이트되었으며, 이들이 Flex 컴포넌트에 올바르게 전달됩니다. 이는 Flex 컴포넌트의 패턴과 일치하며 추가 HTML 속성을 전달할 수 있게 합니다.
57-57: LGTM! 버튼 스타일 개선버튼 클래스명에
leading-none이 추가되어 수직 정렬이 개선되었으며,rounded-xl은lg크기 변형과 일치합니다.src/shared/index.ts (1)
14-14: 배럴 내보내기 경로 변경이 올바르게 검증되었습니다.검증 결과,
src/shared/ui/Input/index.ts파일이 존재하며export { Input } from './Input';를 통해 Input 컴포넌트를 올바르게 내보내고 있습니다.src/shared/ui/Input/Input.tsx파일도 정상적으로 존재합니다.내보내기 경로 변경(
'./ui/Input/Input'→'./ui/Input')은 배럴 파일 패턴을 올바르게 적용한 것으로, 구조적으로 문제없습니다.
🔥 연관 이슈
🚀 작업 내용
Summary by CodeRabbit
릴리스 노트
새로운 기능
스타일
리팩토링