Skip to content

Conversation

@l-lyun
Copy link
Contributor

@l-lyun l-lyun commented Aug 4, 2025

#️⃣연관된 이슈

📝작업 내용

  • shared package 버전 업
  • 요일별 휴업 기능 제작
    • 체크박스 컴포넌트 제작

스크린샷 (선택)

image

💬리뷰 요구사항(선택)

저번 작업에서 openHour 내 시간들을 Date | string으로 제가 생성했었는데,
서버에서 string으로 주고있어 string으로 고정하면 어떨까 합니다!

기존 Date로 관리하던 값들을 string으로 변경했습니다.

@l-lyun l-lyun requested a review from 99mini August 4, 2025 08:30
@l-lyun l-lyun self-assigned this Aug 4, 2025
Copy link
Member

@99mini 99mini left a comment

Choose a reason for hiding this comment

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

감사합니다~!

하나 제안사항으로 CustomeCheckbox라는 이름보다 Checkbox혹은 SquareCheckbox 제안합니다

Comment on lines 12 to 19
const CustomCheckbox = ({
checked,
onPress,
size = 18,
color = 'black',
}: CustomCheckboxProps) => {
return (
<S.Container>
Copy link
Member

Choose a reason for hiding this comment

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

그냥 Checkbox 라는 이름으로 사용해도 될 것같아요

아니면 사각형이니까 SquareCheckbox로 작명하고 추후 변경사항이 생기면 CircleCheckbox,...등등 추가하고 한 단계 추상화 컴포넌트를 만드는 것으로 확장하죠

Copy link
Contributor Author

@l-lyun l-lyun Aug 5, 2025

Choose a reason for hiding this comment

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

넵 좋습니다~! SquareCheckbox로 진행하겠습니다 👍

<S.TimePickerButton
onPress={() => setOpenModal({type: 'open', index: idx})}
disabled={!isEditPermission || isClosed}>
{/* FIXME: openHours.openTime 타입 string으로 고정 */}
Copy link
Member

Choose a reason for hiding this comment

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

Copy link
Member

@99mini 99mini left a comment

Choose a reason for hiding this comment

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

좋습니다~

@l-lyun l-lyun merged commit 052e726 into main Aug 5, 2025
1 check passed
@l-lyun l-lyun deleted the feature/closed-day branch August 5, 2025 02:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants