Skip to content

Conversation

@chaeyun-sim
Copy link
Member

📝 작업 내용

  • 매장 설정 페이지 구현
  • 스키마 작성
  • 테스트 번호 (DPTOTEST로 시작하는 번호) 등록 시 알럿 출력

📷 스크린샷 (선택)

스크린샷 2026-01-02 오후 3 54 13 스크린샷 2026-01-02 오후 3 54 30 스크린샷 2026-01-02 오후 3 54 43

💬 리뷰 요구사항(선택)

@chaeyun-sim chaeyun-sim requested a review from handwoong January 2, 2026 07:16
@chaeyun-sim chaeyun-sim self-assigned this Jan 2, 2026
Copy link
Member

@handwoong handwoong left a comment

Choose a reason for hiding this comment

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

  1. 기기 번호 -> KSNET 단말기 번호 용어 변경해주세요.
  2. 헤더와 폼 사이 간격 좀 띄워야 할 것 같아요.
Image

Copy link
Member

Choose a reason for hiding this comment

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

import 잘못됬어요 확인해주세요!

ksnetDeviceNo: z
.string()
.min(1, "기기 번호를 입력해주세요.")
.max(10, "기기 번호는 10자 이내로 입력해주세요."),
Copy link
Member

Choose a reason for hiding this comment

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

10자가 아닌 20자까지 입력 가능합니다!

Comment on lines +3 to +17
const settingsSchema = z.object({
ksnetDeviceNo: z
.string()
.min(1, "기기 번호를 입력해주세요.")
.max(10, "기기 번호는 10자 이내로 입력해주세요."),
printerLocation: z.enum(["POS", "HALL"]),
showMenuPopup: z.boolean(),
showOrderTotalPrice: z.boolean(),
showOrderMenuImage: z.boolean(),
countryOfOrigins: z.array(z.object({
item: z.string(),
origin: z.string(),
})),
staffCallOptions: z.array(z.string()),
});
Copy link
Member

Choose a reason for hiding this comment

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

POS 여분 테이블 표시 개수 설정이 누락되어있습니다


export interface StoreApplication {
registrationId: string;
accountid: string;
Copy link
Member

Choose a reason for hiding this comment

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

오타있어요 accountid -> accountId

Copy link
Member

Choose a reason for hiding this comment

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

이 모달은 왜 필요한건가요?

mode: "onSubmit",
reValidateMode: "onChange",
defaultValues: {
ksnetDeviceNo: "",
Copy link
Member

Choose a reason for hiding this comment

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

기본값 DPTOTEST03 으로 변경해주세요.

Comment on lines +34 to +36
const handleAddStaffCallOption = () => {
// TODO: 직원 호출 옵션 추가 로직
};
Copy link
Member

Choose a reason for hiding this comment

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

이 함수 위치 폼 useWatch 하단(44번 라인) 으로 옮겨주세요.

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