hand-dot
6b49d007da
fix(ui): avoid installing bundled form-render
2026-07-23 17:25:52 +09:00
Kyohei Fukuda
5b8394757c
fix(ui): keep designer controls fixed while zooming ( #1574 )
2026-07-10 18:39:43 +09:00
dependabot[bot]
27d3ab1c22
build(deps): bump the minor-and-patch group across 3 directories with 19 updates ( #1567 )
...
Bumps the minor-and-patch group with 9 updates in the / directory:
| Package | From | To |
| --- | --- | --- |
| [vite](https://github.com/vitejs/vite/tree/HEAD/packages/vite ) | `8.0.14` | `8.1.0` |
| [vite-plus](https://github.com/voidzero-dev/vite-plus/tree/HEAD/packages/cli ) | `0.1.23` | `0.2.1` |
| [acorn](https://github.com/acornjs/acorn ) | `8.16.0` | `8.17.0` |
| [dompurify](https://github.com/cure53/DOMPurify ) | `3.4.7` | `3.4.11` |
| [lucide](https://github.com/lucide-icons/lucide/tree/HEAD/packages/lucide ) | `1.17.0` | `1.21.0` |
| [antd](https://github.com/ant-design/ant-design ) | `6.4.3` | `6.5.0` |
| [lucide-react](https://github.com/lucide-icons/lucide/tree/HEAD/packages/lucide-react ) | `1.17.0` | `1.21.0` |
| [@vitejs/plugin-react](https://github.com/vitejs/vite-plugin-react/tree/HEAD/packages/plugin-react ) | `6.0.2` | `6.0.3` |
| [@napi-rs/canvas](https://github.com/Brooooooklyn/canvas ) | `1.0.0` | `1.0.1` |
Bumps the minor-and-patch group with 7 updates in the /playground directory:
| Package | From | To |
| --- | --- | --- |
| [vite-plus](https://github.com/voidzero-dev/vite-plus/tree/HEAD/packages/cli ) | `0.1.23` | `0.2.1` |
| [@sentry/react](https://github.com/getsentry/sentry-javascript ) | `10.55.0` | `10.62.0` |
| [react-router-dom](https://github.com/remix-run/react-router/tree/HEAD/packages/react-router-dom ) | `7.16.0` | `7.18.0` |
| [@tailwindcss/postcss](https://github.com/tailwindlabs/tailwindcss/tree/HEAD/packages/@tailwindcss-postcss ) | `4.3.0` | `4.3.1` |
| [autoprefixer](https://github.com/postcss/autoprefixer ) | `10.5.0` | `10.5.2` |
| [postcss](https://github.com/postcss/postcss ) | `8.5.15` | `8.5.16` |
| [puppeteer](https://github.com/puppeteer/puppeteer ) | `25.1.0` | `25.2.1` |
Bumps the minor-and-patch group with 2 updates in the /website directory: [react](https://github.com/facebook/react/tree/HEAD/packages/react ) and [react-dom](https://github.com/facebook/react/tree/HEAD/packages/react-dom ).
Updates `vite` from 8.0.14 to 8.1.0
- [Release notes](https://github.com/vitejs/vite/releases )
- [Changelog](https://github.com/vitejs/vite/blob/main/packages/vite/CHANGELOG.md )
- [Commits](https://github.com/vitejs/vite/commits/create-vite@8.1.0/packages/vite )
Updates `vite-plus` from 0.1.23 to 0.2.1
- [Release notes](https://github.com/voidzero-dev/vite-plus/releases )
- [Commits](https://github.com/voidzero-dev/vite-plus/commits/v0.2.1/packages/cli )
Updates `vitest` from 4.1.7 to 4.1.9
- [Release notes](https://github.com/vitest-dev/vitest/releases )
- [Changelog](https://github.com/vitest-dev/vitest/blob/main/docs/releases.md )
- [Commits](https://github.com/vitest-dev/vitest/commits/v4.1.9/packages/vitest )
Updates `acorn` from 8.16.0 to 8.17.0
- [Commits](https://github.com/acornjs/acorn/compare/8.16.0...8.17.0 )
Updates `dompurify` from 3.4.7 to 3.4.11
- [Release notes](https://github.com/cure53/DOMPurify/releases )
- [Commits](https://github.com/cure53/DOMPurify/compare/3.4.7...3.4.11 )
Updates `lucide` from 1.17.0 to 1.21.0
- [Release notes](https://github.com/lucide-icons/lucide/releases )
- [Commits](https://github.com/lucide-icons/lucide/commits/1.21.0/packages/lucide )
Updates `antd` from 6.4.3 to 6.5.0
- [Release notes](https://github.com/ant-design/ant-design/releases )
- [Changelog](https://github.com/ant-design/ant-design/blob/master/CHANGELOG.en-US.md )
- [Commits](https://github.com/ant-design/ant-design/compare/6.4.3...6.5.0 )
Updates `lucide-react` from 1.17.0 to 1.21.0
- [Release notes](https://github.com/lucide-icons/lucide/releases )
- [Commits](https://github.com/lucide-icons/lucide/commits/1.21.0/packages/lucide-react )
Updates `@vitejs/plugin-react` from 6.0.2 to 6.0.3
- [Release notes](https://github.com/vitejs/vite-plugin-react/releases )
- [Changelog](https://github.com/vitejs/vite-plugin-react/blob/main/packages/plugin-react/CHANGELOG.md )
- [Commits](https://github.com/vitejs/vite-plugin-react/commits/plugin-react@6.0.3/packages/plugin-react )
Updates `@napi-rs/canvas` from 1.0.0 to 1.0.1
- [Release notes](https://github.com/Brooooooklyn/canvas/releases )
- [Changelog](https://github.com/Brooooooklyn/canvas/blob/main/CHANGELOG.md )
- [Commits](https://github.com/Brooooooklyn/canvas/compare/v1.0.0...v1.0.1 )
Updates `vite-plus` from 0.1.23 to 0.2.1
- [Release notes](https://github.com/voidzero-dev/vite-plus/releases )
- [Commits](https://github.com/voidzero-dev/vite-plus/commits/v0.2.1/packages/cli )
Updates `vitest` from 4.1.7 to 4.1.9
- [Release notes](https://github.com/vitest-dev/vitest/releases )
- [Changelog](https://github.com/vitest-dev/vitest/blob/main/docs/releases.md )
- [Commits](https://github.com/vitest-dev/vitest/commits/v4.1.9/packages/vitest )
Updates `@sentry/react` from 10.55.0 to 10.62.0
- [Release notes](https://github.com/getsentry/sentry-javascript/releases )
- [Changelog](https://github.com/getsentry/sentry-javascript/blob/develop/CHANGELOG.md )
- [Commits](https://github.com/getsentry/sentry-javascript/compare/10.55.0...10.62.0 )
Updates `react-router-dom` from 7.16.0 to 7.18.0
- [Release notes](https://github.com/remix-run/react-router/releases )
- [Changelog](https://github.com/remix-run/react-router/blob/react-router-dom@7.18.0/packages/react-router-dom/CHANGELOG.md )
- [Commits](https://github.com/remix-run/react-router/commits/react-router-dom@7.18.0/packages/react-router-dom )
Updates `@tailwindcss/postcss` from 4.3.0 to 4.3.1
- [Release notes](https://github.com/tailwindlabs/tailwindcss/releases )
- [Changelog](https://github.com/tailwindlabs/tailwindcss/blob/main/CHANGELOG.md )
- [Commits](https://github.com/tailwindlabs/tailwindcss/commits/v4.3.1/packages/@tailwindcss-postcss )
Updates `autoprefixer` from 10.5.0 to 10.5.2
- [Release notes](https://github.com/postcss/autoprefixer/releases )
- [Changelog](https://github.com/postcss/autoprefixer/blob/main/CHANGELOG.md )
- [Commits](https://github.com/postcss/autoprefixer/compare/10.5.0...10.5.2 )
Updates `postcss` from 8.5.15 to 8.5.16
- [Release notes](https://github.com/postcss/postcss/releases )
- [Changelog](https://github.com/postcss/postcss/blob/main/CHANGELOG.md )
- [Commits](https://github.com/postcss/postcss/compare/8.5.15...8.5.16 )
Updates `puppeteer` from 25.1.0 to 25.2.1
- [Release notes](https://github.com/puppeteer/puppeteer/releases )
- [Changelog](https://github.com/puppeteer/puppeteer/blob/main/CHANGELOG.md )
- [Commits](https://github.com/puppeteer/puppeteer/compare/puppeteer-v25.1.0...puppeteer-v25.2.1 )
Updates `tailwindcss` from 4.3.0 to 4.3.1
- [Release notes](https://github.com/tailwindlabs/tailwindcss/releases )
- [Changelog](https://github.com/tailwindlabs/tailwindcss/blob/main/CHANGELOG.md )
- [Commits](https://github.com/tailwindlabs/tailwindcss/commits/v4.3.1/packages/tailwindcss )
Updates `react` from 19.2.6 to 19.2.7
- [Release notes](https://github.com/facebook/react/releases )
- [Changelog](https://github.com/react/react/blob/main/CHANGELOG.md )
- [Commits](https://github.com/facebook/react/commits/v19.2.7/packages/react )
Updates `react-dom` from 19.2.6 to 19.2.7
- [Release notes](https://github.com/facebook/react/releases )
- [Changelog](https://github.com/react/react/blob/main/CHANGELOG.md )
- [Commits](https://github.com/facebook/react/commits/v19.2.7/packages/react-dom )
---
updated-dependencies:
- dependency-name: vite
dependency-version: 8.1.0
dependency-type: direct:development
update-type: version-update:semver-minor
dependency-group: minor-and-patch
- dependency-name: vite-plus
dependency-version: 0.2.1
dependency-type: direct:development
update-type: version-update:semver-minor
dependency-group: minor-and-patch
- dependency-name: vitest
dependency-version: 4.1.9
dependency-type: direct:development
update-type: version-update:semver-patch
dependency-group: minor-and-patch
- dependency-name: acorn
dependency-version: 8.17.0
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: minor-and-patch
- dependency-name: dompurify
dependency-version: 3.4.11
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: minor-and-patch
- dependency-name: lucide
dependency-version: 1.21.0
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: minor-and-patch
- dependency-name: antd
dependency-version: 6.5.0
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: minor-and-patch
- dependency-name: lucide-react
dependency-version: 1.21.0
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: minor-and-patch
- dependency-name: "@vitejs/plugin-react"
dependency-version: 6.0.3
dependency-type: direct:development
update-type: version-update:semver-patch
dependency-group: minor-and-patch
- dependency-name: "@napi-rs/canvas"
dependency-version: 1.0.1
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: minor-and-patch
- dependency-name: vite-plus
dependency-version: 0.2.1
dependency-type: direct:development
update-type: version-update:semver-minor
dependency-group: minor-and-patch
- dependency-name: vitest
dependency-version: 4.1.9
dependency-type: direct:development
update-type: version-update:semver-patch
dependency-group: minor-and-patch
- dependency-name: "@sentry/react"
dependency-version: 10.62.0
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: minor-and-patch
- dependency-name: react-router-dom
dependency-version: 7.18.0
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: minor-and-patch
- dependency-name: "@tailwindcss/postcss"
dependency-version: 4.3.1
dependency-type: direct:development
update-type: version-update:semver-patch
dependency-group: minor-and-patch
- dependency-name: autoprefixer
dependency-version: 10.5.2
dependency-type: direct:development
update-type: version-update:semver-patch
dependency-group: minor-and-patch
- dependency-name: postcss
dependency-version: 8.5.16
dependency-type: direct:development
update-type: version-update:semver-patch
dependency-group: minor-and-patch
- dependency-name: puppeteer
dependency-version: 25.2.1
dependency-type: direct:development
update-type: version-update:semver-minor
dependency-group: minor-and-patch
- dependency-name: tailwindcss
dependency-version: 4.3.1
dependency-type: direct:development
update-type: version-update:semver-patch
dependency-group: minor-and-patch
- dependency-name: react
dependency-version: 19.2.7
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: minor-and-patch
- dependency-name: react-dom
dependency-version: 19.2.7
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: minor-and-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-07-01 15:17:19 +00:00
AJ
f13a455a70
fix(ui): override form-render color widget for React 19 compat ( #1562 )
...
* fix(ui): override form-render color widget for React 19 compat
* Update packages/ui/src/components/Designer/RightSidebar/DetailView/ColorWidget.tsx
Co-authored-by: greptile-apps[bot] <165735046+greptile-apps[bot]@users.noreply.github.com>
* fix(ui): keep color widget output to valid hex
Address review feedback on the React 19 color widget override:
- Default disabledAlpha to true so the picker emits 6-digit hex; fields
can still opt into alpha with disabledAlpha={false}, where 8-digit hex
is intentional. Prevents unexpected #rrggbbaa values reaching PDF render.
- Only commit valid hex (or empty to clear) from the free-text input.
Local state keeps typing responsive while invalid intermediate values
are kept out of the schema.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com >
---------
Co-authored-by: greptile-apps[bot] <165735046+greptile-apps[bot]@users.noreply.github.com>
Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com >
6.1.11
2026-07-01 16:45:14 +09:00
Kyohei Fukuda
4ee798768f
fix(ui): skip unchanged preview refresh ( #1559 )
2026-06-22 15:23:03 +09:00
hand-dot
09f4f33523
fix(ui): wrap preview controls on narrow screens
6.1.10
2026-06-22 14:08:31 +09:00
hand-dot
79a04cae51
feat(ui): highlight active form field
6.1.9
2026-06-21 13:24:46 +09:00
hand-dot
4175d0451d
fix(tests): update performance threshold for nenkin-shougai-seishin-shindansho-update template
6.1.8
2026-06-19 10:19:30 +09:00
Kyohei Fukuda
99dc26d5fb
[codex] Render PDFs with clawpdf ( #1558 )
...
* feat(converter): render PDFs with clawpdf
* fix(designer): reduce maxZoom value from 500 to 300
* test: update clawpdf image snapshots
6.1.7
2026-06-19 10:02:43 +09:00
hand-dot
eb7f1b85ee
test(generator): relax nenkin template thresholds
6.1.6
2026-06-16 09:07:37 +09:00
hand-dot
5f91409f85
remove some example templates
2026-06-13 11:32:10 +09:00
hand-dot
d27c8c4eb8
feat(playground): support draft template assets
2026-06-13 11:13:49 +09:00
hand-dot
23d6fdcd98
Update generarotor snapshots
2026-06-12 17:39:09 +09:00
hand-dot
12d7d877a3
Update example template
2026-06-12 17:23:09 +09:00
hand-dot
2973ae9736
Update examples
2026-06-12 16:20:15 +09:00
hand-dot
38d9444856
Add example templates
2026-06-11 15:20:09 +09:00
hand-dot
5f4304246e
Refactor code structure for improved readability and maintainability
2026-06-11 14:30:49 +09:00
Kyohei Fukuda
1e1398cd9d
revert: back out mobile canvas render clamps ( #1549 partial, #1551 ) ( #1552 )
...
* Revert "fix(ui): reduce background render budget on mobile to prevent tab crashes (#1551 )"
This reverts commit a994d45954 .
* revert: remove maxCanvasPixels background render clamp from #1549
The per-page canvas clamp did not resolve the mobile crashes either, so
remove it entirely to keep the codebase clean while the root cause is
investigated. The infinite-spinner fixes from #1549 (sidebar auto-close,
non-negative canvas width, positive base scale) and the chunked base64
encoding are kept, since the loading issue is confirmed fixed.
Co-authored-by: Cursor <cursoragent@cursor.com >
---------
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-06-10 17:47:29 +09:00
Kyohei Fukuda
a994d45954
fix(ui): reduce background render budget on mobile to prevent tab crashes ( #1551 )
...
The 16.7M pixel per-page cap added in #1549 still crashes mobile Safari:
real-PDF templates (e.g. nenkin-shougai-respiratory-shindansho, pedigree)
render page backgrounds of ~48-134MB decoded RGBA, exceeding iOS WebContent
memory budgets and repeatedly killing the tab.
pdf2img gains a maxTotalCanvasPixels option that uniformly shrinks the
render scale so the summed canvas area across pages stays within a budget.
The UI now detects mobile browsers and uses a 2048x2048 per-page budget plus
a 4x total budget (~17MB decoded per page instead of ~67MB), while desktop
keeps the previous 4096x4096 per-page cap.
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-06-10 17:36:42 +09:00
Kyohei Fukuda
20b6e97f85
refactor(cli): remove examples command ( #1550 )
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-06-10 16:45:43 +09:00
hand-dot
0178141781
chore(deps): update dependabot packages
2026-06-10 16:29:05 +09:00
Kyohei Fukuda
ed0ee1cd6b
fix(ui): prevent infinite loading spinner and mobile crashes in Designer ( #1549 )
...
On narrow viewports (< ~445px) the open right sidebar consumed more width
than the screen provides, producing a negative base scale that locked the
Designer on the loading spinner forever. The sidebar now auto-closes when
it would not leave usable canvas width, the canvas width is clamped to a
non-negative value, and the base scale is kept strictly positive.
Real-PDF templates also crashed mobile Safari because page backgrounds were
rendered at the maxZoom scale (5x with the playground's maxZoom: 500),
creating canvases above iOS Safari's ~16.7M pixel limit. pdf2img now accepts
a maxCanvasPixels option that clamps the render scale per page, and the UI
caps background rendering at 4096x4096 pixels. arrayBufferToBase64 also
encodes in 32KB chunks instead of byte-by-byte concatenation to reduce peak
memory while encoding multi-megabyte background images.
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-06-10 16:07:32 +09:00
Kyohei Fukuda
a46f835970
fix(playground): surface load errors, harden PDF generation, and optimize loading ( #1548 )
...
- Show toast errors when Designer/Form/Viewer template loading fails instead of failing silently
- Fix generatePDF: avoid Uint8Array view offset bug in Blob, revoke object URLs, replace alert with toast, and report success to callers
- Make readFile reject on errors instead of hanging, and check response.ok in template fetches
- Load GitHub avatars directly from github.com/<user>.png instead of the rate-limited API
- Add single-project IndexedDB lookups instead of reading all projects on every get/save
- Lazy-load all routes to split Designer/Templates/Form chunks out of the initial bundle
- Gate Sentry plugin and sourcemaps on SENTRY_AUTH_TOKEN; skip Sentry.init without a DSN
- Remove unused signature_pad dependency and validate persisted form/viewer mode
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-06-10 15:50:36 +09:00
hand-dot
db6ebcb276
fix(ui): select active page by visible area
2026-06-09 18:56:56 +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
b178c6f557
feat(ui): improve zoom controls and gestures
2026-06-09 18:44:19 +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
ae1bec25ae
feat(font): enhance remote font caching and error handling in getFontKitFont
2026-06-09 15:32:00 +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
97d44bf4a4
feat(playground): improve template workspace navigation
2026-06-08 10:37:46 +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
b9b613647c
fix(tests): update performance threshold for playground template benchmark
6.1.5
2026-06-06 17:50:34 +09:00
hand-dot
b870579d37
fix(tests): refactor snapshot tests for playground templates
2026-06-06 17:42:58 +09:00
hand-dot
a79278d9e9
fix(tests): update image snapshots for nenkin-shougai-seishin-shindansho
2026-06-06 17:37:36 +09:00
hand-dot
cbd790d280
fix(designer): enhance button layout and accessibility in DesignerApp
2026-06-06 17:21:06 +09:00
hand-dot
f28cc9b5d2
fix(playground): improve template thumbnails and actions
6.1.4
2026-06-06 17:04:18 +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
6bcd468227
Refactor code structure for improved readability and maintainability
2026-06-04 18:31:11 +09:00
hand-dot
563b604d7e
feat(playground): store browser projects in IndexedDB
2026-06-04 17:22:02 +09:00
hand-dot
4fa509d036
Add circle mark plugin and improve tag filter handling in Templates
2026-06-04 16:11:05 +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
7524b8c423
Persist agent template metadata
2026-06-04 11:49:28 +09:00