Skip to content

feat(react-zpl): QrCode·^BQ 추가 및 데모·테스트·print 수정#14

Merged
Bori-github merged 6 commits into
mainfrom
feat/qr-code
Mar 22, 2026
Merged

feat(react-zpl): QrCode·^BQ 추가 및 데모·테스트·print 수정#14
Bori-github merged 6 commits into
mainfrom
feat/qr-code

Conversation

@Bori-github

@Bori-github Bori-github commented Mar 22, 2026

Copy link
Copy Markdown
Owner

📝 작업 내용

  • ZPL ^BQbarcodeQR 명령과 QrCode 컴포넌트 추가(문자열 children, ^FD 자동 데이터 입력 A 형식).
  • printChild에서 비 ZPL 노드 순회 시 element.props.children을 사용하도록 수정.
  • tests: QrCode·barcodeQR 단위 테스트, defaultLabelContext 픽스처, tests/AGENTS.md, @types/react·tsconfig(customConditions: development) 정리.
  • demos/web·demos/electron: 배송 라벨·가격표·그래픽 쇼케이스·QR 예제를 examples/로 분리하고, Labelary API 기반 ZPL 미리보기·직접 입력 UI로 통일(Electron은 CSP에 connect-src·blob: 반영).

🔍 변경 범위

  • apps/react-zpl - React ZPL 라이브러리
  • docs - 문서 사이트
  • tests - 테스트 코드
  • demos - 데모 애플리케이션
  • 기타 (설명 필요)

📸 스크린샷 (선택사항)

image

📚 추가 정보

  • 미리보기는 Labelary(api.labelary.com)로 ZPL이 전송됩니다. 데모 사용 시 개인정보·내부 라벨 내용 주의.

- 루프 내 비 ZPL 요소 처리 시 node 대신 element 기준으로 children 참조
- tests/AGENTS.md 추가
- @types/react, customConditions·types 배열 정리
- unit/fixtures/context 및 QrCode·barcodeQR 테스트
- defaultLabelContext 공유
- 컴포넌트 테스트 및 AGENTS 예시 정리
- 배송/가격표/그래픽/QR 예제를 examples로 분리
- ZPL 편집, 라벨 mm·dpmm, 외부 전송 안내·오류 UI
- examples(배송/가격표/그래픽/QR) 및 index export
- App.css, base.css import, CSP에 labelary·blob 허용
@vercel

vercel Bot commented Mar 22, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

1 Skipped Deployment
Project Deployment Actions Updated (UTC)
zpl-viewer Ignored Ignored Mar 22, 2026 3:57pm

@Bori-github Bori-github self-assigned this Mar 22, 2026
@Bori-github Bori-github added the enhancement New feature or request label Mar 22, 2026
@Bori-github Bori-github merged commit f3051d1 into main Mar 22, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant