Skip to content

Commit 4a69ab5

Browse files
committed
refactor: use deprecated terminology for Webhook Form compatibility
1 parent 15635fc commit 4a69ab5

63 files changed

Lines changed: 170 additions & 159 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

‎apps/builder/app/services/api-build.server.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ export const createBuildSnapshot = ({
101101
snapshot.homePageId = pages.homePageId;
102102
snapshot.rootFolderId = pages.rootFolderId;
103103
if (include.has("pages")) {
104-
// Preserve the deprecated Webhook Form identity migration marker in snapshots.
104+
// Preserve the Form identity version so old projects migrate only once.
105105
snapshot.formComponentIdentityVersion =
106106
pages.formComponentIdentityVersion;
107107
snapshot.redirects = pages.redirects;

‎apps/builder/e2e/tests/mcp-legacy-form-query.[shard-2].[shard-5].[shard-6].e2e.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ import { test } from "../test";
1010

1111
const execFileAsync = promisify(execFile);
1212

13-
test("MCP-edited saved legacy Webhook Form preserves single and repeated query bindings through navigation and submission", async ({
13+
test("MCP-edited saved deprecated Webhook Form preserves single and repeated query bindings through navigation and submission", async ({
1414
page,
1515
context,
1616
}) => {

‎apps/builder/e2e/tests/mcp-legacy-form-route.[shard-2].[shard-5].[shard-6].e2e.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ import { test } from "../test";
1010

1111
const execFileAsync = promisify(execFile);
1212

13-
test("MCP-edited saved legacy Webhook Form action uses current dynamic route params in generated Preview", async ({
13+
test("MCP-edited saved deprecated Webhook Form action uses current dynamic route params in generated Preview", async ({
1414
page,
1515
context,
1616
}) => {

‎docs/SUMMARY.md‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -137,14 +137,14 @@
137137
* [🔗 Integrations](university/integrations/README.md)
138138
* [How to build a frontend for Supabase using Webstudio](university/integrations/supabase.md)
139139
* [How to build a frontend for Airtable using Webstudio](university/integrations/airtable-frontend.md)
140-
* [How to integrate a Webhook Form with Airtable (legacy)](university/integrations/airtable-form-webhook.md)
140+
* [How to integrate a Webhook Form with Airtable (deprecated)](university/integrations/airtable-form-webhook.md)
141141
* [How to build a frontend for Baserow using Webstudio](university/integrations/baserow.md)
142142
* [How to build a frontend for Hygraph using Webstudio](university/integrations/hygraph.md)
143143
* [How to build a WordPress frontend using Webstudio (no-code builder)](university/integrations/wordpress.md)
144144
* [How to integrate a Notion database with Webstudio](university/integrations/notion.md)
145-
* [How to integrate Webhook Form with Pabbly (legacy)](university/integrations/pabbly.md)
146-
* [How to integrate Webhook Form with Zapier (legacy)](university/integrations/zapier.md)
147-
* [How to integrate Webhook Form with N8N (legacy)](university/integrations/n8n.md)
145+
* [How to integrate Webhook Form with Pabbly (deprecated)](university/integrations/pabbly.md)
146+
* [How to integrate Webhook Form with Zapier (deprecated)](university/integrations/zapier.md)
147+
* [How to integrate Webhook Form with N8N (deprecated)](university/integrations/n8n.md)
148148
* [How to integrate Flotiq with Webstudio](university/integrations/flotiq.md)
149149
* [Craft](university/craft.md)
150150
* [Use Craft](university/craft-guide.md)

‎docs/university/core-components/form.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,5 +61,5 @@ For ordinary browser form behavior, add **Element**, set its tag to `form`, and
6161

6262
- [Input](input.md) – Name fields and choose input types
6363
- [Element](element.md) – Use native HTML form behavior
64-
- [Webhook Form](webhook-form.md) – Configure an existing legacy form
64+
- [Webhook Form](webhook-form.md) – Configure an existing deprecated form
6565
- [Self-Hosting](../self-hosting/README.md) – Choose a dynamic or static export

‎docs/university/foundations/project-settings.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ Each email from a Form submission includes an `X-Message-ID` header. Email actio
3030

3131
An email resource without a custom body includes submitted Form fields and browser information by default when used on a Form. The automatic text includes submitted hidden fields, but excludes password inputs and Webstudio's internal bot fields. Set the resource body to customize the message, including an explicitly empty body. To use `formData` or `browserInfo` in a resource expression, define the resource on the Form; resources on an ancestor or global root cannot bind that Form's data.
3232

33-
Email resources inherit project recipients and Reply to unless overridden. Republish to update the settings included in a published site. On Webstudio Cloud, published email resources use the private Cloudflare email service when the `EMAIL_SERVICE` binding is configured. Saving settings or publishing does not itself send email; a visitor must submit the Form. Delivery fails explicitly if the service is unavailable. Self-hosted sites need a custom server-side email integration. The existing Contact email recipient setting continues to serve legacy Webhook Forms.
33+
Email resources inherit project recipients and Reply to unless overridden. Republish to update the settings included in a published site. On Webstudio Cloud, published email resources use the private Cloudflare email service when the `EMAIL_SERVICE` binding is configured. Saving settings or publishing does not itself send email; a visitor must submit the Form. Delivery fails explicitly if the service is unavailable. Self-hosted sites need a custom server-side email integration. The existing Contact email recipient setting continues to serve deprecated Webhook Forms.
3434

3535
## Publishing
3636

‎docs/university/integrations/airtable-form-webhook.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ description: >-
77
# How to integrate a Webhook Form with Airtable
88

99
{% hint style="info" %}
10-
**Deprecated:** This guide uses the legacy [Webhook Form](../core-components/webhook-form.md). Use [Form](../core-components/form.md) for new forms.
10+
**Deprecated:** This guide uses the [Webhook Form](../core-components/webhook-form.md). Use [Form](../core-components/form.md) for new forms.
1111
{% endhint %}
1212

1313
{% embed url="https://www.youtube.com/watch?v=xYJFh_u-8Tc" %}

‎docs/university/integrations/n8n.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ description: Connect Webstudio forms to n8n for workflow automation.
55
# How to integrate Webhook Form with N8N
66

77
{% hint style="info" %}
8-
**Deprecated:** This guide uses the legacy [Webhook Form](../core-components/webhook-form.md). Use [Form](../core-components/form.md) for new forms.
8+
**Deprecated:** This guide uses the [Webhook Form](../core-components/webhook-form.md). Use [Form](../core-components/form.md) for new forms.
99
{% endhint %}
1010

1111
This guide shows you how to link Webstudio Forms with [n8n](https://n8n.io/) for workflow automation. We will move data from Webstudio to n8n, save it in a Supabase table, and then ping a Slack channel when certain conditions are met.

‎docs/university/integrations/pabbly.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ description: Connect Webstudio forms to Pabbly Connect for automation.
55
# How to integrate Webhook Form with Pabbly
66

77
{% hint style="info" %}
8-
**Deprecated:** This guide uses the legacy [Webhook Form](../core-components/webhook-form.md). Use [Form](../core-components/form.md) for new forms.
8+
**Deprecated:** This guide uses the [Webhook Form](../core-components/webhook-form.md). Use [Form](../core-components/form.md) for new forms.
99
{% endhint %}
1010

1111
{% embed url="https://youtu.be/gKNsyYKxuDA" %}

‎docs/university/integrations/zapier.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ description: Connect Webstudio forms to Zapier for workflow automation.
55
# How to integrate Webhook Form with Zapier
66

77
{% hint style="info" %}
8-
**Deprecated:** This guide uses the legacy [Webhook Form](../core-components/webhook-form.md). Use [Form](../core-components/form.md) for new forms.
8+
**Deprecated:** This guide uses the [Webhook Form](../core-components/webhook-form.md). Use [Form](../core-components/form.md) for new forms.
99
{% endhint %}
1010

1111
{% embed url="https://youtu.be/FDm4mz5FBD8" %}

0 commit comments

Comments
 (0)