Skip to content

v0.11.0

Choose a tag to compare

@kenresoft kenresoft released this 02 Oct 02:15
· 77 commits to main since this release

Added

  • Submission context — a form can now be "about" one published entry, such as a job application
    for a vacancy. Set the form's content type (Forms → Edit form → "About an entry of this content
    type") and submit to /api/v1/public/forms/{slug}/submissions?context={entry-slug}. The server
    resolves the published entry itself and stores it, with a title snapshot, on the submission, so
    the visitor can't point an application at another record. Optional rules refuse a submission when
    the entry isn't open (status = Open) or a closing-date field has passed. Staff see an "About"
    card on the submission, the owning account sees context in its submissions, and notification
    emails name the entry. Update emails get a {{context.title}} variable. Needs pnpm run update
    to apply the new migration (additive, existing forms are unchanged). The Astro client's
    forms.submit takes a context option: this needs @kenresoft-cms/astro 0.9.0 (which
    depends on @kenresoft-cms/contracts 0.8.0).

Changed

  • Job Application form template now has phone, a PDF/DOCX resume, a cover letter, LinkedIn and
    portfolio links and an additional-information box. Existing forms are not changed.