Repository navigation
feat(automations): Add the dashboard editor - #1981
Conversation
Keep schedule previews and Event catalog reads in core. Compose the dashboard editor from shared form controls, preserve partial edits and ordered outcomes, and require explicit stale-edit recovery. Co-Authored-By: David Cramer <[email protected]>
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Use explicit draft changes and share conflict recovery and navigation. Keep form sizing in shared controls, preserve outcome order, and remove unused schema exports and duplicate destination choices. Co-Authored-By: David Cramer <[email protected]>
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes and found 1 potential issue.
❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.
Reviewed by Cursor Bugbot for commit c854045. Configure here.
| "disabled:hover:border-dashboard-border-emphasis disabled:hover:bg-dashboard-surface-raised disabled:hover:text-dashboard-text", | ||
| ), | ||
| : tone === "primary" | ||
| ? "inline-flex h-9 items-center justify-center gap-2 rounded border border-dashboard-text-solid bg-dashboard-text-solid px-3 font-sans text-sm font-semibold text-dashboard-text-inverse hover:bg-dashboard-text-subtle focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-dashboard-focus" |
There was a problem hiding this comment.
Primary button tone missing disabled hover style resets
Low Severity
The new tone="primary" style includes hover:bg-dashboard-text-subtle but lacks disabled:hover: overrides to reset it. The default and danger tones both explicitly reset hover styles when disabled, but primary does not. The "Save changes" button uses tone="primary" and is frequently disabled (no changes, saving, or conflict), so hovering it still shows a background color transition, making it appear interactive despite being disabled.
Additional Locations (1)
Reviewed by Cursor Bugbot for commit c854045. Configure here.


Implements #1974. Stacked on #1980; merge that PR first, then retarget this PR to main.
Add a full-page editor reached from the Automation list and details drawer. Core owns Schedule previews, Event choices, creator access, and save validation. The dashboard owns form state and uses shared controls.
Save sends only changed fields. Failed saves keep the draft. Stale saves require an explicit choice between local changes and the latest saved version. Unsupported triggers, stored Destinations, and outcome order stay intact unless changed.
Non-creators can read public settings but cannot fetch or use the edit API. Completed scheduled Automations remain read-only. This does not add creation or run-now actions.
via David Cramer.
--
View Junior Session [Sentry]