Skip to content

The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.

feat(cron jobs): manual run tooltip (#39600)

Charis869ec0541e59
diff --git a/apps/studio/components/interfaces/Integrations/CronJobs/CronJobTableCell.tsx b/apps/studio/components/interfaces/Integrations/CronJobs/CronJobTableCell.tsx
index 15b5ddaad32..1c43b1f1396 100644
--- a/apps/studio/components/interfaces/Integrations/CronJobs/CronJobTableCell.tsx
+++ b/apps/studio/components/interfaces/Integrations/CronJobs/CronJobTableCell.tsx
@@ -149,17 +149,25 @@ export const CronJobTableCell = ({
onClick={(e) => e.stopPropagation()}
/>
</DropdownMenuTrigger>
- <DropdownMenuContent align="end" className="w-42">
- <DropdownMenuItem
- className="gap-x-2"
- onClick={(e) => {
- e.stopPropagation()
- onRunCronJob()
- }}
- >
- <Play size={12} />
- Run command
- </DropdownMenuItem>
+ <DropdownMenuContent align="end" className="w-60 space-y-1">
+ <Tooltip>
+ <TooltipTrigger className="w-full">
+ <DropdownMenuItem
+ className="gap-x-2"
+ onClick={(e) => {
+ e.stopPropagation()
+ onRunCronJob()
+ }}
+ >
+ <Play size={12} />
+ Run command
+ </DropdownMenuItem>
+ </TooltipTrigger>
+ <TooltipContent>
+ Manual runs execute the command immediately and will not appear in the cron jobs
+ table.
+ </TooltipContent>
+ </Tooltip>
<DropdownMenuItem
className="gap-x-2"
onClick={(e) => {