Repository navigation
feat(dashboard): Make automation rows easy to scan - #1976
Conversation
Co-Authored-By: David Cramer <[email protected]>
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
This comment has been minimized.
This comment has been minimized.
|
13 screenshot changes — 13 changed · 0 added · 0 removed Review screenshots in Frameshift
Show 7 more changed screenshots |
Co-Authored-By: David Cramer <[email protected]>
Co-Authored-By: David Cramer <[email protected]>
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes and found 2 potential issues.
❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.
Reviewed by Cursor Bugbot for commit 1290e8d. Configure here.
| timeZone: automation.timezone, | ||
| timeZoneName: "short", | ||
| }); | ||
| detail = `Next ${nextRun}`; |
There was a problem hiding this comment.
Invalid timezone crashes automation list
Medium Severity
toLocaleString is called with automation.timezone and no fallback. An invalid IANA zone throws RangeError during render, so one scheduled automation can take down the whole list. The API only requires a non-empty string, and other dashboard time helpers already treat timezone formatting as fallible.
Reviewed by Cursor Bugbot for commit 1290e8d. Configure here.
| kind: z.literal("scheduled"), | ||
| nextRunAt: z.string().datetime().optional(), | ||
| schedule: z.string().min(1), | ||
| timezone: z.string().min(1), |
There was a problem hiding this comment.
Empty timezone fails automations API
Medium Severity
The list response now requires a non-empty timezone, but scheduled automations only type that field as a string and always copy task.schedule.timezone through. An empty stored timezone fails schema.parse in jsonResponse and makes the whole automations endpoint error.
Additional Locations (1)
Reviewed by Cursor Bugbot for commit 1290e8d. Configure here.


Show each Automation's purpose, creator, trigger, Destination, and last run in the list. Keep charts on Overview and put Delete in an overflow menu.
Rows show creator avatars with initials as a fallback, schedule timezones and next runs, event conditions, and blocked or unavailable states. Existing access rules stay unchanged.
Closes #1971. Part of #1970.
Screenshots use local test data.
Desktop
Mobile
via David Cramer.
--
View Junior Session [Sentry]