From 95be0155dc821b9e2fa5e096ae2d10337ab1eb78 Mon Sep 17 00:00:00 2001 From: Henri Courdent <122811744+hcourdent@users.noreply.github.com> Date: Fri, 29 Dec 2023 12:24:00 +0100 Subject: [PATCH] Carousel link and trigger frontend (#2929) Co-authored-by: Faton Ramadani --- .../lib/components/apps/editor/component/components.ts | 4 ++-- .../src/lib/components/flows/content/FlowInputs.svelte | 10 ++++++---- 2 files changed, 8 insertions(+), 6 deletions(-) diff --git a/frontend/src/lib/components/apps/editor/component/components.ts b/frontend/src/lib/components/apps/editor/component/components.ts index c4d6d015b7..a76519917c 100644 --- a/frontend/src/lib/components/apps/editor/component/components.ts +++ b/frontend/src/lib/components/apps/editor/component/components.ts @@ -2192,7 +2192,7 @@ This is a paragraph. carousellistcomponent: { name: 'Carousel List', icon: ListIcon, - documentationLink: `${documentationBaseUrl}/list`, + documentationLink: `${documentationBaseUrl}/carousel`, dims: '3:8-12:8' as AppComponentDimensions, customCss: { container: { class: '', style: '' } @@ -2205,7 +2205,7 @@ This is a paragraph. selectOptions: selectOptions.animationTimingFunctionOptions, value: 'linear', - tooltip: 'See https://developer.mozilla.org/en-US/docs/Web/CSS/animation-timing-function' + tooltip: 'Sets how an animation progresses through the duration of each cycle, see https://developer.mozilla.org/en-US/docs/Web/CSS/animation-timing-function', } }, componentInput: { diff --git a/frontend/src/lib/components/flows/content/FlowInputs.svelte b/frontend/src/lib/components/flows/content/FlowInputs.svelte index 471bcc0bfa..3ddfba33c0 100644 --- a/frontend/src/lib/components/flows/content/FlowInputs.svelte +++ b/frontend/src/lib/components/flows/content/FlowInputs.svelte @@ -67,14 +67,16 @@ {#if kind == 'trigger'}
- Trigger scripts are special actions that are meant to run periodically given a schedule. - A schedule will be automatically attached to this flow to run every 15 minutes. Adjust - frequency in 'Settings' -> 'Schedule'.

+ Trigger scripts are designed to pull data from an external source and return all of the new items since the last run, without resorting to external webhooks.

+ + A trigger script is intended to be used with schedules and states in order to compare the execution to the previous one and process each new item in a for loop. If there are no new items, the flow will be skipped.

+ + By default, adding a trigger will set the schedule to 15 minutes. To see all ways to trigger a flow, check Triggering Flows.
{/if}