Commit Graph

52 Commits

Author SHA1 Message Date
hand-dot
a902b1d8bc refactor(cli): remove examples command
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-06-10 16:44:17 +09:00
hand-dot
03fccd3109 feat(designer): increase max zoom level to enhance design flexibility
fix(manifest): update field count for template metadata
2026-06-09 18:45:01 +09:00
hand-dot
45cd072db7 Refactor code structure for improved readability and maintainability 2026-06-09 17:48:10 +09:00
hand-dot
9d4097f7e6 Refactor code structure for improved readability and maintainability 2026-06-09 16:25:59 +09:00
hand-dot
332abf3a78 Refactor code structure for improved readability and maintainability 2026-06-09 15:32:11 +09:00
hand-dot
394a2aaead feat(template): add assistive device options and usage codes to nenkin-shougai-limb-shindansho template 2026-06-08 13:13:59 +09:00
hand-dot
c1cc6fe3c7 Refactor code structure for improved readability and maintainability 2026-06-08 11:51:30 +09:00
hand-dot
dd659d5817 fix(template): update field counts and adjust dimensions for nenkin-shougai-seishin-shindansho template 2026-06-08 09:50:22 +09:00
hand-dot
cc4c9588d8 Implement feature X to enhance user experience and fix bug Y in module Z 2026-06-06 18:46:44 +09:00
hand-dot
44be015414 Add new template assets for version 6.1.5 including various document types such as invoices, certificates, and Japanese forms 2026-06-06 18:05:28 +09:00
hand-dot
42f78e241b Update example template 2026-06-06 17:03:00 +09:00
hand-dot
2825a5e385 Update example template 2026-06-06 16:07:23 +09:00
hand-dot
54c9611a5c Add Nenkin mental disability diagnosis template 2026-06-04 15:09:07 +09:00
hand-dot
441d39c00a Refactor code structure for improved readability and maintainability 2026-06-04 14:02:53 +09:00
hand-dot
41d5867563 Add new template assets for version 6.1.3 including various document types such as invoices, certificates, and labels 2026-06-04 11:49:48 +09:00
hand-dot
c8de9c55bf Refactor code structure for improved readability and maintainability 2026-05-24 16:57:45 +09:00
hand-dot
3615780a90 Add new PDF assets for QR lines, QR title, and Z-fold brochure
- Created source.pdf for QR lines in playground/public/template-assets/qr-lines/
- Created source.pdf for QR title in playground/public/template-assets/qr-title/
- Created source.pdf for Z-fold brochure in playground/public/template-assets/z-fold-brochure/
2026-05-23 15:30:58 +09:00
Kyohei Fukuda
ab24257920 [codex] add mounted file workspace to Playground (#1511)
* docs(playground): plan file workspace

* docs(playground): refine file workspace plan

* feat(playground): add mounted file workspace

* fix(playground): address file workspace review

* chore(playground): remove stale workspace scaffolding

* fix(cli): read per-template example metadata

* fix(playground): add form link after designer save

* feat(playground): standardize template metadata

* feat(playground): manage mounted workspace metadata

* feat(playground): rename mounted folders from metadata title

* fix(playground): harden mounted workspace refresh
2026-05-18 14:54:46 +09:00
Kyohei Fukuda
ba50905193 [codex] Improve JSX authoring starters (#1503)
* feat(playground): improve jsx authoring starters

* refactor(playground): store authoring starters as template assets

* fix(playground): address authoring starter review
2026-05-11 15:20:03 +09:00
Kyohei Fukuda
786c5b93a8 feat(playground): unify template workspace (#1495) 2026-05-09 17:16:18 +09:00
Kyohei Fukuda
4a2c6530dc test(generator): remove dynamic list snapshot template (#1464) 2026-05-05 15:42:12 +09:00
hand-dot
554b8791af fix: update base PDF height to 297 and increment CLI version to 6.1.1; remove deprecated manifest file 2026-05-03 14:32:47 +09:00
Kyohei Fukuda
bed77e5713 [codex] add list schema implementation plan (#1460)
* docs: add list schema implementation plan

* feat(schemas): add list schema

* fix(schemas): improve list form editing

* fix(schemas): localize list editing labels

* fix(schemas): align table control buttons

* fix(schemas): keep list designer editing during actions

* fix(tsconfig): resolve list schema subpath

* fix(schemas): keep list action clicks isolated

* fix(schemas): support empty list state

* fix(schemas): allow editing list items in designer

* fix(schemas): keep list designer editing on enter

* fix(schemas): ignore IME enter in list editor

* fix(schemas): make enter insert list item line breaks

* test(generator): add list plugin to playground snapshots

* refactor(schemas): render list items with text ui

* fix(schemas): adapt list prop panel fields by style

* fix(schemas): simplify list options and nested numbering

* Reorder import statements in generate-templates-thumbnail

* Reorder List plugin in getPlugins function

* fix(ui): reflow schemas after dynamic list resize

* chore: remove obsolete list plan

* fix(ui): reflow form list height changes

* fix(ui): keep designer height changes local

* fix(schemas): commit list item line breaks immediately

* fix(schemas): restore list focus after line break rerender

* fix(schemas): keep form list focused after enter

* test(generator): update dynamic list snapshots

* fix(schemas): store list content as json arrays

* fix(schemas): address list review cleanup

* test(ui): update designer snapshot

* chore: trim list pr noise

* fix(schemas): align list markers in ui
2026-05-03 13:34:51 +09:00
hand-dot
772fa20795 Minor fix 2026-05-02 16:45:47 +09:00
Kyohei Fukuda
16bec8babb [codex] Add inline markdown text format (#1461)
* feat(schemas): add inline markdown text format

* fix(common): handle missing git tags in version script

* fix(converter): align pdfjs document options with latest types

* test(generator): update pdfjs image snapshots

* test(playground): register inline markdown example

* refactor(schemas): avoid default font i18n key

* refactor(schemas): move markdown controls to prop panel end

* refactor(schemas): use checkbox for inline markdown toggle

* fix(schemas): localize multi variable text prop labels

* refactor(schemas): align inline markdown fallback control

* fix(schemas): address inline markdown review feedback

* refactor(schemas): address inline markdown review refinements

* fix(schemas): correct synthetic italic pdf skew

* test(playground): add bold italic inline markdown sample
2026-05-02 16:34:43 +09:00
Kyohei Fukuda
ff363fda63 chore(deps): major version bumps for v5 (Tailwind 4, TS 6 in playground, Sentry 10, react-router 7, etc.) (#1455)
* chore(deps): major version bumps for v5

Consolidates 10 unique major-version Dependabot PRs into one.

Bumps:
- color 4 -> 5 (packages/pdf-lib)
- signature_pad 4 -> 5 (packages/schemas, playground)
- vite-plugin-css-injected-by-js 4 -> 5 (packages/ui)
- jsdom 26 -> 29 (root)
- @sentry/react 9 -> 10 (playground)
- react-router-dom 6 -> 7 (playground)
- tailwindcss 3 -> 4 (playground) -- migrated to @tailwindcss/postcss plugin and @import "tailwindcss" syntax
- typescript 5 -> 6 (playground; root already on 6)

Snapshot updates:
- jsdom 29 normalises CSS slightly (border: medium, background-position: center center, etc.) -- updated UI snapshots
- color 5 produces a 0.34% pixel diff in barcodes-1.png -- regenerated image snapshot

Note: React 19 (#1437, #1438, #1445, #1446, #1447, #1449) deferred to a follow-up. The form-render -> rc-color-picker peer chain pins react@16.x, which forces a dual-instance install incompatible with @dnd-kit/core's hooks dispatcher in tests. Will revisit once form-render is replaced or removed.

Supersedes: #1439, #1440, #1441, #1442, #1443, #1444, #1448, #1450, #1451, #1452, #1453

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>

* test(generator): relax integration-segmenter perf threshold 2.5s -> 3s

CIで2.8秒前後で稳定的にflakyになっており、main上でも落ちている。
許容範囲を広げて誤検知を抑える。

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>

* test(generator): relax integration-other perf threshold 1.5s -> 2.5s

CIで1.9秒前後で落ちる。誤検知を抑えるため許容範囲を拡大。

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>

* test(generator): bump fontSubset test timeout 10s -> 30s

CIで10sタイムアウトしている (フォントsubset無効化での生成が重い)。

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>

---------

Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-04-27 15:52:21 +09:00
hand-dot
11c18c310d fix(release): align TypeScript 6 publish config 2026-04-03 18:17:13 +09:00
hand-dot
1e38ff416d fix(release): unblock 6.0.4 publish 2026-04-03 18:10:18 +09:00
hand-dot
729665193c feat: update CLI version to 6.0.2, refresh template manifests, and remove deprecated manifest file 2026-04-03 17:45:15 +09:00
hand-dot
5ce77ee86c fix(playground): remove stale versioned manifests 2026-04-03 17:38:29 +09:00
hand-dot
8d605ad83c feat: update CLI version to 6.0.1 and add new manifest for templates 2026-04-03 17:15:42 +09:00
hand-dot
74b23fbc7e feat: update CLI version to 6.0.0 and remove deprecated manifest files 2026-04-03 16:54:56 +09:00
hand-dot
f7504a381a Add cached versioned examples manifests 2026-03-23 17:18:25 +09:00
TNBO/Eedge
9942e79eef Add Invoice ja simple landscape template (#1013)
* feat: Add Hihokensha-todoke Template

* feat: Add New Simple Invoice(landscape) Template
2025-05-17 09:33:30 +09:00
TNBO/Eedge
3506207421 feat: Add Hihokensha-todoke Template (#1012) 2025-05-17 09:30:20 +09:00
TNBO/Eedge
f8f95a2637 feat: Add invoice-ja-simple Template (#1010)
* feat: Add invoice-ja-simple Template

* feat: add Japanese font options for template thumbnails

Add NotoSerifJP and NotoSansJP fonts to support Japanese text in template thumbnails.

---------

Co-authored-by: Kyohei Fukuda
2025-05-16 18:30:11 +09:00
Kyohei Fukuda
8e732d2b51 add new template to playground 2025-05-01 09:37:15 +09:00
hitomi-t260g
70d640f269 add z-fold-brochure template (#908) 2025-04-08 09:20:10 +09:00
Kyohei Fukuda
a9fd52488f feat: update quotes and invoice templates with new dimensions and add quotes to featured templates 2025-03-13 11:19:17 +09:00
Devin AI
34c46d5b33 feat: add quotes template based on invoice template
Co-Authored-By: Kyohei Fukuda <kyouhei.fukuda0729@gmail.com>
2025-03-13 01:17:55 +00:00
Kyohei Fukuda
85fb9c173f Devin/1740448101 add e2e tests (#757)
* Add E2E Testing with Puppeteer and Fix Syntax Errors

Co-Authored-By: Kyohei Fukuda <kyouhei.fukuda0729@gmail.com>

* Update package-lock.json

Co-Authored-By: Kyohei Fukuda <kyouhei.fukuda0729@gmail.com>

* Add playground test job to GitHub Actions workflow

Co-Authored-By: Kyohei Fukuda <kyouhei.fukuda0729@gmail.com>

* refactor: update template-assets by removing and re-adding QR lines and title entries

* test: run E2E tests in headless mode for better performance

* fix: adjust Puppeteer launch settings for local testing and set viewport size

* fix: update Puppeteer launch arguments for improved security and add esModuleInterop in TypeScript config

* TMP

* test: add E2E tests for playground with Puppeteer and update workflow configuration

* refactor: rename workflow jobs and streamline dependency installation for playground tests

* refactor: rename unit testing job to pdfme-test for clarity

* chore: remove obsolete image snapshot for playground E2E tests

* test: update image snapshot comparison threshold for E2E tests

* test: update image snapshot failure threshold for Playground E2E tests

* TMP

* TMP

* test: enable experimental VM modules for Jest execution

* test: enhance E2E tests with error handling and logging

* test: add timeout configuration to PuppeteerRunnerExtension in E2E tests

* test: refactor PuppeteerRunnerExtension instantiation for E2E tests

* test: update E2E tests to use localhost URLs and improve request handling

* test: enable request interception in E2E tests for improved request handling

* TMP

* test: refactor E2E tests to remove sleep calls and improve screenshot handling

* test: enhance E2E tests for better performance and reliability

---------

Co-authored-by: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
2025-02-28 15:49:10 +09:00
Kyohei Fukuda
b97ab98334 Update website (#701)
* TMP

* Remove unused components and styles; add new images for UI

* Minor fix

* TMP
2025-02-11 19:22:59 +09:00
Yasuyuki Komatsubara
f95d798a18 use Intl.Segmenter for line breaking and support alignment (#686)
* use Intl.Segmenter for line breaking and support  alignment

* fix no justify for single line texts

* remove locale from text schema

* remove unused locale related codes and minor bug fixes

* Update generator snapshot

* prevent overflow if text is longer than box width

* take into account character spacing when splitting lines

* update some assert pdfs

* Fix  bugs on text segmentation in edge cases

* use const, add containsJapanese

---------

Co-authored-by: Kyohei Fukuda <kyouhei.fukuda0729@gmail.com>
Co-authored-by: Kyohei Fukuda <kyoheif@wix.com>
2025-02-09 22:13:54 +09:00
Kyohei Fukuda
7cc5491ca9 Minor fix for playground and website 2025-01-29 10:37:10 +09:00
Kyohei Fukuda
0a4d425b0e add example templates 2025-01-28 11:27:59 +09:00
Kyohei Fukuda
f09b192e4a Swap template names in index.json and update template request link in Templates.tsx; modify navigation logic in templates.tsx 2025-01-26 19:22:34 +09:00
Kyohei Fukuda
4f702a9108 Update playground (#685)
* fix: update .gitignore to include thumbnail.png and modify dev script to generate template assets

* feat: add author information to templates and update issue templates

* TMP

* TMP

* feat: update feedback template link to include template name in title
2025-01-26 19:13:32 +09:00
Kyohei Fukuda
d43e0006d8 Fix website build 2025-01-24 12:19:09 +09:00
Kyohei Fukuda
1f53b4c60d rename playground dir 2025-01-06 12:28:17 +09:00
Kyohei Fukuda
07c495bdbc Templates4playground (#669)
* TMP

* TMP

* TMP

* TMP

* TMP

* TMP

* TMP

* Add instructions for adding templates to the README
2025-01-06 11:45:09 +09:00