diff --git a/desktop/src/features/workflows/ui/WorkflowFormBuilder.tsx b/desktop/src/features/workflows/ui/WorkflowFormBuilder.tsx index 7db923907..f8d8ced0e 100644 --- a/desktop/src/features/workflows/ui/WorkflowFormBuilder.tsx +++ b/desktop/src/features/workflows/ui/WorkflowFormBuilder.tsx @@ -58,8 +58,7 @@ function TriggerConfigFields({ value={trigger.filter ?? ""} />

- Run only when this evalexpr expression matches. Leave empty to run - for every matching event. + Evalexpr. Empty matches all events.

); @@ -78,15 +77,12 @@ function TriggerConfigFields({ placeholder="e.g. thumbsup" value={trigger.emoji ?? ""} /> -

- Leave empty to trigger on any reaction. -

); case "webhook": return (

- A unique webhook URL will be generated when the workflow is created. + A unique URL is generated after creation.

); case "schedule": @@ -121,7 +117,7 @@ function TriggerConfigFields({ />

- Provide either a cron expression or a simple interval. + Use either cron or interval.

); @@ -663,16 +659,7 @@ export function WorkflowFormBuilder({ variants={inspectorContentVariants} > {selectedNode.type === "trigger" ? ( -
-
-

- Trigger settings -

-

- Configure when this event should start the - workflow. -

-
+
updateFormState({ ...formState, trigger }) diff --git a/desktop/src/features/workflows/ui/WorkflowStepCard.tsx b/desktop/src/features/workflows/ui/WorkflowStepCard.tsx index bd32555b9..820be5b15 100644 --- a/desktop/src/features/workflows/ui/WorkflowStepCard.tsx +++ b/desktop/src/features/workflows/ui/WorkflowStepCard.tsx @@ -98,8 +98,8 @@ function StepConfigFields({ value={step.channel ?? ""} />

- Leave empty to use the trigger channel. Webhook runs and manual - Trigger runs need an explicit channel override. + Defaults to the trigger channel. Webhook and manual triggers + require a channel.

{triggerType === "webhook" && !(step.channel ?? "").trim() ? (

@@ -290,21 +290,8 @@ function StepConfigFields({ } } -function SectionHeading({ - description, - title, -}: { - description: string; - title: string; -}) { - return ( -

-

{title}

-

- {description} -

-
- ); +function SectionHeading({ title }: { title: string }) { + return

{title}

; } export function WorkflowStepCard({ @@ -355,10 +342,6 @@ export function WorkflowStepCard({ ) : null}
-
- +
Condition (optional) @@ -387,9 +367,6 @@ export function WorkflowStepCard({ placeholder='e.g. str_contains(trigger_text, "deploy")' value={step.condition ?? ""} /> -

- Leave empty to run whenever the previous node completes. -

@@ -407,16 +384,13 @@ export function WorkflowStepCard({ value={step.timeoutSecs ?? ""} />

- Leave empty to use the workflow default. + Defaults to the workflow timeout.

- +
Name (optional) -

- Shown on the node instead of the action name. -

Step ID @@ -444,7 +415,7 @@ export function WorkflowStepCard({ value={step.id} />

- Unique key used by workflow configuration and history. + Used in configuration and run history.