diff --git a/apps/webapp/app/components/primitives/Select.tsx b/apps/webapp/app/components/primitives/Select.tsx index 75c6adeed8..fa8a63603b 100644 --- a/apps/webapp/app/components/primitives/Select.tsx +++ b/apps/webapp/app/components/primitives/Select.tsx @@ -199,7 +199,6 @@ export function Select({ text={text} placeholder={placeholder} shortcut={shortcut} - tooltipTitle={heading} disabled={disabled} dropdownIcon={dropdownIcon} {...props} diff --git a/apps/webapp/app/routes/_app.orgs.$organizationSlug.projects.$projectParam.env.$envParam.test.tasks.$taskParam/route.tsx b/apps/webapp/app/routes/_app.orgs.$organizationSlug.projects.$projectParam.env.$envParam.test.tasks.$taskParam/route.tsx index 0541957143..5246bd08fa 100644 --- a/apps/webapp/app/routes/_app.orgs.$organizationSlug.projects.$projectParam.env.$envParam.test.tasks.$taskParam/route.tsx +++ b/apps/webapp/app/routes/_app.orgs.$organizationSlug.projects.$projectParam.env.$envParam.test.tasks.$taskParam/route.tsx @@ -19,7 +19,6 @@ import { Label } from "~/components/primitives/Label"; import { DurationPicker } from "~/components/primitives/DurationPicker"; import { Paragraph } from "~/components/primitives/Paragraph"; import { Popover, PopoverContent, PopoverTrigger } from "~/components/primitives/Popover"; -import { SimpleTooltip } from "~/components/primitives/Tooltip"; import { ResizableHandle, ResizablePanel, @@ -60,6 +59,7 @@ import { TaskRunStatusCombo } from "~/components/runs/v3/TaskRunStatus"; import { ClockRotateLeftIcon } from "~/assets/icons/ClockRotateLeftIcon"; import { MachinePresetName } from "@trigger.dev/core/v3"; import { TaskTriggerSourceIcon } from "~/components/runs/v3/TaskTriggerSource"; +import { Callout } from "~/components/primitives/Callout"; export const loader = async ({ request, params }: LoaderFunctionArgs) => { const userId = await requireUserId(request); @@ -412,12 +412,17 @@ function StandardTaskForm({ - -
+ +
+ + Options enable you to control the execution behavior of your task.{" "} + Read the docs. + + Delays run by a specific duration. {delaySeconds.error} @@ -428,7 +433,7 @@ function StandardTaskForm({ value={ttlValue} onChange={setTtlValue} /> - The run will expire if it hasn't started within the TTL (time to live). + Expires the run if it hasn't started within the TTL. {ttlSeconds.error} @@ -447,6 +452,7 @@ function StandardTaskForm({ name={queue.name} id={queue.id} placeholder="Select queue" + heading="Filter queues" variant="tertiary/small" dropdownIcon items={queueItems} @@ -481,6 +487,7 @@ function StandardTaskForm({ } )} + Assign run to a specific queue. {queue.error} @@ -494,7 +501,7 @@ function StandardTaskForm({ tags={tagsValue} onTagsChange={setTagsValue} /> - Tags enable you to easily filter runs. + Add tags to easily filter runs. {tags.error} @@ -523,6 +530,7 @@ function StandardTaskForm({ } }} /> + Retries failed runs up to the specified number of attempts. {maxAttempts.error} @@ -533,6 +541,7 @@ function StandardTaskForm({ value={maxDurationValue} onChange={setMaxDurationValue} /> + Overrides the maximum compute time limit for the run. {maxDurationSeconds.error} @@ -552,7 +561,7 @@ function StandardTaskForm({ name={idempotencyKeyTTLSeconds.name} id={idempotencyKeyTTLSeconds.id} /> - By default, idempotency keys expire after 30 days. + Keys expire after 30 days by default. {idempotencyKeyTTLSeconds.error} @@ -568,8 +577,7 @@ function StandardTaskForm({ onChange={(e) => setConcurrencyKeyValue(e.target.value)} /> - Concurrency keys enable you limit concurrency by creating a separate queue for - each value of the key. + Limits concurrency by creating a separate queue for each value of the key. {concurrencyKey.error} @@ -596,7 +604,7 @@ function StandardTaskForm({ ))} - This lets you override the machine preset specified in the task. + Overrides the machine preset. {machine.error} @@ -617,8 +625,10 @@ function StandardTaskForm({ ))} - {disableVersionSelection && ( + {disableVersionSelection ? ( Only the latest version is available in the development environment. + ) : ( + Runs task on a specific version. )} {version.error} @@ -869,7 +879,11 @@ function ScheduledTaskForm({ {externalId.error} -
+
+ + Options enable you to control the execution behavior of your task.{" "} + Read the docs. + @@ -899,6 +913,7 @@ function ScheduledTaskForm({ name={queue.name} id={queue.id} placeholder="Select queue" + heading="Filter queues" variant="tertiary/small" dropdownIcon items={queueItems} @@ -933,6 +948,7 @@ function ScheduledTaskForm({ } )} + Assign run to a specific queue. {queue.error} @@ -946,7 +962,7 @@ function ScheduledTaskForm({ tags={tagsValue} onTagsChange={setTagsValue} /> - Tags enable you to easily filter runs. + Add tags to easily filter runs. {tags.error} @@ -975,6 +991,7 @@ function ScheduledTaskForm({ } }} /> + Retries failed runs up to the specified number of attempts. {maxAttempts.error} @@ -987,6 +1004,7 @@ function ScheduledTaskForm({ value={maxDurationValue} onChange={setMaxDurationValue} /> + Overrides the maximum compute time limit for the run. {maxDurationSeconds.error} @@ -1005,7 +1023,7 @@ function ScheduledTaskForm({ Idempotency key TTL - By default, idempotency keys expire after 30 days. + Keys expire after 30 days by default. {idempotencyKeyTTLSeconds.error} @@ -1020,10 +1038,7 @@ function ScheduledTaskForm({ value={concurrencyKeyValue ?? ""} onChange={(e) => setConcurrencyKeyValue(e.target.value)} /> - - Concurrency keys enable you limit concurrency by creating a separate queue for each - value of the key. - + Limits concurrency by creating a separate queue for each value of the key. {concurrencyKey.error} @@ -1049,7 +1064,7 @@ function ScheduledTaskForm({ ))} - This lets you override the machine preset specified in the task. + Overrides the machine preset. {machine.error} @@ -1070,8 +1085,10 @@ function ScheduledTaskForm({ ))} - {disableVersionSelection && ( + {disableVersionSelection ? ( Only the latest version is available in the development environment. + ) : ( + Runs task on a specific version. )} {version.error} @@ -1120,7 +1137,7 @@ function RecentRunsPopover({ Recent runs - +
{runs.map((run) => ( @@ -1134,7 +1151,7 @@ function RecentRunsPopover({ className="flex w-full items-center gap-2 rounded-sm px-2 py-2 outline-none transition-colors focus-custom hover:bg-charcoal-900 " >
- +