-
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
✨공통 컴포넌트 구현 #15
✨공통 컴포넌트 구현 #15
Conversation
* feat: 반응형 레이아웃을 위한 mixin responsive-dimensions 구현 * feat: 공용 style의 쉬운 사용을 위해 _index.scss 생성
- husky install 수정 - CI 파이프라인 스크립트 및 이미지 수정
modal은 z-index 10, backdrop은 z-index 5로 구현
{page} 중앙 정렬을 위해 우측에 dummy div 태그 사용
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.
FSD Architecture에서는 Public API를 이용하여 필요한 부분만을 외부로 추출하고, 내부 정보는 숨기는 걸로 알고있습니다.
근데 현재, shared/ui 부분에 Public API 적용 부분이 빠져있는 것 같아서 Request Changes 하였습니다.
따로 style class가 없는 button을 고려했기에 class 내용을 작성하지 않았습니다. styleClass prop를 optinal하게 두는 방안도 고려했습니다. 하지만 어떤 styleClass를 사용하는지 명시적으로 작성하는 것이 실수를 줄이기에 더 유리하다고 생각합니다.
명확한 역할을 위해 global.scss -> reset.scss로 수정
Modal이 상위요소의 위치에 따라 영향을 받지 않도록 createPortal을 사용한 ModalOverlay 컴포넌트를 구현했습니다.
…/CollaBu/pennyway-client-webview into feature/PW-251-shared-components
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 폴더 자체에 대한 public api도 적용되어야 할 것 같아요!
참고: https://github.com/noveogroup-amorgunov/nukeapp/blob/main/src/shared/ui/index.ts
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.
Profile
컴포넌트에서 제가 말한 의도가 제대로 전달되지 못한 거 같아요!
죄송해요. 마지막으로 확인 부탁드릴게요.
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.
공통 컴포넌트에 대한 내용이 생각보다 너무 많았네요..
의찬님 코드 리뷰하면서 PR을 되도록 이면 간략하게, 하나의 기능에 집중해서 하는 것이 얼마나 중요한지에 대해 깨달을 수 있었던 시간이였던 것 같습니다 ㅎㅎ
저어어엉ㅇ~~~말 고생많으셨습니다!! 🔥🔥🔥🔥🔥
작업 이유
작업 사항
1️⃣ 컴포넌트 구현
BasicButton / ActiveButton
Modal
BottomSheetModal
PageHeader
2️⃣ vite-plugin-svgr 사용
3️⃣ 기타
리뷰어가 중점적으로 확인해야 하는 부분
발견한 이슈