use scroll for triggers

This commit is contained in:
Guilhem
2025-03-31 17:40:31 +01:00
parent 8dda89b513
commit 3f1cff2411
7 changed files with 14 additions and 12 deletions

View File

@@ -234,7 +234,7 @@
<p>Page not available for operators</p>
</div>
{:else}
<CenteredPage>
<CenteredPage useScroll>
<PageHeader
title="Kafka triggers"
tooltip="Windmill can consume kafka events and trigger scripts or flows based on them."

View File

@@ -228,7 +228,7 @@
f={(x) => (x.summary ?? '') + ' ' + x.path + ' (' + x.script_path + ')'}
/>
<CenteredPage>
<CenteredPage useScroll>
<PageHeader
title="MQTT triggers"
tooltip="Windmill can connect to an MQTT broker, subscribe to specific topics, and trigger scripts or flows based on those topics."

View File

@@ -233,7 +233,7 @@
<p>Page not available for operators</p>
</div>
{:else}
<CenteredPage>
<CenteredPage useScroll>
<PageHeader
title="NATS triggers"
tooltip="Windmill can consume NATS events and trigger scripts or flows based on them."

View File

@@ -226,7 +226,7 @@
f={(x) => (x.summary ?? '') + ' ' + x.path + ' (' + x.script_path + ')'}
/>
<CenteredPage>
<CenteredPage useScroll>
<PageHeader
title="Postgres triggers"
tooltip="Windmill enables real-time responsiveness by listening to specific database transactions—such as inserts, updates, and deletes—and automatically triggering scripts or workflows in response."

View File

@@ -193,17 +193,19 @@
<p>Page not available for operators</p>
</div>
{:else}
<CenteredPage>
<CenteredPage useScroll>
<PageHeader
title="Custom HTTP routes"
tooltip="Every script and flow already has a canonical HTTP API endpoint/webhook attached to it, this is to create additional parametrizable ones."
documentationLink="https://www.windmill.dev/docs/core_concepts/http_routing"
>
{#if $userStore?.is_admin || $userStore?.is_super_admin}
<Button size="md" startIcon={{ icon: Plus }} on:click={() => routeEditor.openNew(false)}>
New&nbsp;route
</Button>
{/if}
<div class="min-h-[41px]">
{#if $userStore?.is_admin || $userStore?.is_super_admin}
<Button size="md" startIcon={{ icon: Plus }} on:click={() => routeEditor.openNew(false)}>
New&nbsp;route
</Button>
{/if}
</div>
</PageHeader>
<div class="w-full h-full flex flex-col">
<div class="w-full pb-4 pt-6">

View File

@@ -227,7 +227,7 @@
f={(x) => (x.summary ?? '') + ' ' + x.path + ' (' + x.script_path + ')'}
/>
<CenteredPage>
<CenteredPage useScroll>
<PageHeader title="SQS triggers" tooltip="SQS trigger">
<Button size="md" startIcon={{ icon: Plus }} on:click={() => sqsTriggerEditor.openNew(false)}>
New&nbsp;SQS trigger

View File

@@ -226,7 +226,7 @@
f={(x) => (x.summary ?? '') + ' ' + x.path + ' (' + x.script_path + ')'}
/>
<CenteredPage>
<CenteredPage useScroll>
<PageHeader
title="WebSocket triggers"
tooltip="Windmill can listen to WebSocket events and trigger scripts or flows based on them."