Skip to content

Copy items from your other forms in the form builder - #552

Merged
doomlab merged 1 commit into
devfrom
feat/5-copy-from-another-form
Oct 8, 2026
Merged

doomlab merged 1 commit into
devfrom
feat/5-copy-from-another-form

Conversation

@doomlab

@doomlab doomlab commented Oct 8, 2026 •

Copy link
Copy Markdown
Member

Part of STAPLE-verse/form-studio#5.

Adds a From another form option to the builder's Create New popover. It lists the signed-in user's own STAPLE forms (not MARKER forms) and copies the chosen items into the form being edited.

What

  • getCopyableForms and getCopyableFormContents queries: scoped to the signed-in user's own non-archived forms, the form being edited is left out, and another user's form id is reported as not found.
  • FormPlayground passes them to the builder as mods.itemSource.

form-studio

Uses mods.itemSource, added in form-studio v1.1.0. This was merged while the pin was still v1.0.1; the pin bump is in #553.

Testing

4 new query tests; with a local build of form-studio the form tests pass (56). Not yet tried in a browser.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
@doomlab
doomlab marked this pull request as ready for review October 8, 2026 22:56
@doomlab
doomlab merged commit 96b489d into dev Oct 8, 2026
1 check failed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant