feat: friendlier template-creation UI#500
Merged
Merged
Conversation
- Replace raw Fields JSON textarea with a row-based field builder (per-row description + friendly type dropdown, add/delete, drag-reorder) - Make commonforms opt-in via an explicit "Make this PDF fillable" button instead of always running it on upload - Show a live field-count badge that flags mismatches between PDF widgets and the rows being built - Append field type as a hint to the LLM prompt - Untrack sample PDFs in src/inputs (now covered by .gitignore) - Add CLAUDE.md Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
Plain /templates/create no longer runs commonforms; it only persists the row. commonforms now runs via the separate /make-fillable endpoint, so the test asserts the controller is not called on create. Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
Upload now extracts the PDF's fillable widgets in the same visual order the filler writes them, using each field's tooltip (or a humanized field name) as the description and mapping the widget type to the builder's type. The field builder is prefilled from this, but never overwrites rows the user has already started. Counting now derives from the same extraction so the badge, the create-time mismatch check, and seeding all agree. Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
Compound selector ensures .hidden overrides the badge's display rule, which previously won on source order and showed an empty pill. Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
Closed
6 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.