added note about publishing to triggers

This commit is contained in:
arkml 2025-09-11 15:40:45 +05:30
parent 63e95cf853
commit b3bd89a478
3 changed files with 22 additions and 7 deletions

View file

@ -131,8 +131,13 @@ export function CreateRecurringJobRuleForm({
</Button>
</Link>
) : null}
<div className="text-sm font-medium text-gray-900 dark:text-gray-100">
CREATE RECURRING JOB RULE
<div>
<div className="text-sm font-medium text-gray-900 dark:text-gray-100">
CREATE RECURRING JOB RULE
</div>
<p className="mt-1 text-xs text-gray-500 dark:text-gray-400">
Note: Triggers run only on the published version of your workflow. Publish any changes to make them active.
</p>
</div>
</div>
}

View file

@ -460,9 +460,14 @@ export function TriggersTab({ projectId }: { projectId: string }) {
return (
<div className="space-y-4">
<div className="flex items-center justify-between">
<h3 className="text-lg font-semibold text-gray-900 dark:text-gray-100">
Select a Toolkit to Create Trigger
</h3>
<div>
<h3 className="text-lg font-semibold text-gray-900 dark:text-gray-100">
Select a Toolkit to Create Trigger
</h3>
<p className="mt-1 text-xs text-gray-500 dark:text-gray-400">
Note: Triggers run only on the published version of your workflow. Publish any changes to make them active.
</p>
</div>
{triggers.length > 0 && (
<Button
variant="secondary"

View file

@ -120,8 +120,13 @@ export function CreateScheduledJobRuleForm({ projectId, onBack, hasExistingTrigg
</Button>
</Link>
) : null}
<div className="text-sm font-medium text-gray-900 dark:text-gray-100">
CREATE SCHEDULED JOB RULE
<div>
<div className="text-sm font-medium text-gray-900 dark:text-gray-100">
CREATE SCHEDULED JOB RULE
</div>
<p className="mt-1 text-xs text-gray-500 dark:text-gray-400">
Note: Triggers run only on the published version of your workflow. Publish any changes to make them active.
</p>
</div>
</div>
}