Skip to content

feat(automations): Add the dashboard editor - #1981

Merged
dcramer merged 2 commits into
feat/automation-edit-apifrom
feat/automation-editor
Sep 28, 2026
Merged

dcramer merged 2 commits into
feat/automation-edit-apifrom
feat/automation-editor

Conversation

@sentry-junior

@sentry-junior sentry-junior Bot commented Sep 28, 2026 •

Copy link
Copy Markdown
Contributor

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]

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]>
@vercel

vercel Bot commented Sep 28, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
junior-docs Ready Ready Preview Sep 28, 2026 8:06pm UTC

Request Review

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]>
@sentry-junior sentry-junior Bot changed the title feat(automations): Add the native dashboard editor feat(automations): Add the dashboard editor Sep 28, 2026
@dcramer
dcramer marked this pull request as ready for review September 28, 2026 20:08
@github-actions github-actions Bot added the risk: high PR risk score: high label Sep 28, 2026
@dcramer
dcramer merged commit ae52783 into feat/automation-edit-api Sep 28, 2026
8 checks passed
@dcramer
dcramer deleted the feat/automation-editor branch September 28, 2026 20:16

@cursor cursor Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cursor Bugbot has reviewed your changes and found 1 potential issue.

Fix All in Cursor

❌ 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"

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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)
Fix in Cursor Fix in Web

Reviewed by Cursor Bugbot for commit c854045. Configure here.

This branch was successfully deployed

1 active deployment
Preview – junior-docs — c8540451 Deployed Sep 28, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

risk: high PR risk score: high

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant