Commit Graph

28 Commits

Author SHA1 Message Date
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
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
5ce77ee86c fix(playground): remove stale versioned manifests 2026-04-03 17:38:29 +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
e9bb09a3e6 Promote signature and harden example jobs 2026-03-23 17:55:55 +09:00
hand-dot
f7504a381a Add cached versioned examples manifests 2026-03-23 17:18:25 +09:00
hand-dot
c759a120d7 feat: update test script to run workspace tests and refactor schema imports
- Changed the test script in package.json to run workspace tests using a new script.
- Updated imports in generator and helper files to point to specific schema paths.
- Added new builtins and tables exports in schemas package.json and created corresponding files.
- Enhanced error handling in multiVariableText propPanel for JSON parsing.
- Refactored UI components to use React 18 and updated dependencies accordingly.
- Improved snapshot tests to ensure cleaner output by removing empty text nodes.
- Updated documentation to reflect changes in package usage and requirements.
2026-03-21 16:10:48 +09:00
hand-dot
fc7567b879 Finish Phase 1 cleanup and verification 2026-03-20 22:58:47 +09:00
hand-dot
193e82b837 Clean up pdf-lib lint and localize playground fonts 2026-03-20 19:11:58 +09:00
hand-dot
0d0f89f12b Prepare ESM migration groundwork 2026-03-20 14:49:50 +09:00
Roman Afanasyev
7c20e78aa7 fix(playground): fix Windows path resolution in template scripts (#1232) 2025-11-26 14:13:24 +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
a9fd52488f feat: update quotes and invoice templates with new dimensions and add quotes to featured templates 2025-03-13 11:19:17 +09:00
Kyohei Fukuda
afbfa87674 [WIP] Add pdf2img integration for converting PDF to images in e2e tests (#774)
* Add pdf2img integration for converting PDF to images in e2e tests

* Refactor PDF generation tests to convert PDFs to images and validate against snapshots

* Refactor package.json files to remove "type": "module" and update import statements to CommonJS format

* Fix e2e test

* Add new image snapshots for e2e tests and remove obsolete snapshot
2025-03-01 16:24:01 +09:00
Kyohei Fukuda
b0d980c433 Modification to make the library ESM-based. (#770)
* Remove fast-xml-parser dependency and update vite-tsconfig-paths to 5.1.4

* tmp

* Refactor test files and scripts to use ES modules; remove obsolete files

* Enhance tests with new PDF utilities and update Jest configuration for ESM support
2025-03-01 02:23:24 +09: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
0b00eea9ae Integrate Ads script and update featured templates list 2025-02-15 17:39:52 +09:00
Kyohei Fukuda
3c718b4b09 Update .gitignore and package-lock.json; enhance thumbnail generation script with caching 2025-01-31 17:23:50 +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
04c705a7b3 Minor fix 2025-01-26 19:41:48 +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
82d8019b13 Add converter package (#681)
* TMP

* TMP

* TMP

* Update README.md to provide library description and documentation link

* TMP

* TMP

* TMP

* TMP

* Update package dependencies by adding @pdfme/converter and removing pdfjs-dist

* Remove pdfjs-dist mock and update tests to reflect changes in dependencies

* minor fix and add document for website

* Add documentation for manipulator and optimizer, and organize converter in sidebar

* Refactor package dependencies by removing @pdfme/converter from peerDependencies and reinstating optionalDependencies for canvas in converter package
2025-01-24 11:09:29 +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