airfleet/airfleet-nexus-plugin
Release 0.41.0
Added
forms: New Forms module — Gutenberg-based CPT (afn_form) with Custom HTML (embed) and HubSpot Form provider blocks, single-block editor guard, and a submit actions registry extensible viaairfleet/nexus/forms/submit-action-typesfilter.forms: Built-in submit actions — content actions (Thank You Message, Calendly, Show Reusable Content) and addon actions (Redirect with delay, Close Parent Modal, Open Modal). Frontend handler executes actions onairfleet/nexus/form/successevent.block-form: New Form block (airfleet-nexus/form) — a CPT reference that renders provider block content viado_blocks(). In-editor form picker with live sandboxed preview.block-hubspot-form: New HubSpot Form block (airfleet-nexus/hubspot-form) with form selector, live preview, submit action controls, and portal/region overrides.hubspot-forms: New HubSpot Forms sub-module — OAuth 2.0 Public App integration (one-click connect, auto-refresh tokens), HubSpot Marketing API v3 form list, and HubSpot v4 embed rendering. Manual Private App token fallback included.block-cf7-form: New CF7 Form block (airfleet-nexus/cf7-form) — Contact Form 7 integration with form picker, submit action controls, andwpcf7mailsent→airfleet/nexus/form/successevent bridge.cf7-forms: New CF7 Forms sub-module — lightweight provider requiring only the CF7 plugin. No settings page or API credentials needed.forms: Shared form events module (form-events.js) withFORM_EVENTSconstants anddispatchFormEvent()helper. All provider bridges dispatchairfleet/nexus/form/successwith consistentdetailpayload (provider,formId,fields,providerEvent).- Docs: Add
docs/modules/forms.md,docs/modules/hubspot-forms.md, anddocs/blocks/form.md.