Skip to content

feat(aci): Insert every_event condition when editing alerts with no "when" conditions - #121463

Open
RudraPatel2003 wants to merge 6 commits into
masterfrom
rudrapatel/iswf-3227-polish-every_event-data-condition-for-workflow-engine
Open

feat(aci): Insert every_event condition when editing alerts with no "when" conditions#121463
RudraPatel2003 wants to merge 6 commits into
masterfrom
rudrapatel/iswf-3227-polish-every_event-data-condition-for-workflow-engine

Conversation

@RudraPatel2003

@RudraPatel2003 RudraPatel2003 commented Aug 6, 2026

Copy link
Copy Markdown
Member

Selecting no triggers is equivalent to selecting the every_event trigger but the UX of the form does not clearly reflect that. The simplest solution is a UI only element that shows what happens if you have no triggers selected.

When someone opens the edit form and has no triggers, it is unclear what that means. This now inserts the every_event condition if they open the form so it is clear what they are doing. You also now can't delete a row if you only have one. This will slowly nudge people towards having their triggers explicitly laid out. No backend changes so scripts or people that never edit their alert have empty condition array work just fine

@linear-code

linear-code Bot commented Aug 6, 2026

Copy link
Copy Markdown

ISWF-3227

@github-actions github-actions Bot added the Scope: Frontend Automatically applied to PRs that change frontend components label Aug 6, 2026
@RudraPatel2003 RudraPatel2003 changed the title feat(aci): Clearly display outcome of selecting no alert "when" conditions feat(aci): Insert every_event condition when editing alerts with no "when" conditions Aug 6, 2026
@RudraPatel2003
RudraPatel2003 marked this pull request as ready for review August 6, 2026 20:18
@RudraPatel2003
RudraPatel2003 requested a review from a team as a code owner August 6, 2026 20:18

@cursor cursor Bot left a comment

Copy link
Copy Markdown
Contributor

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 2 potential issues.

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 9dee5ed. Configure here.

Comment thread static/app/views/automations/components/dataConditionNodeList.tsx Outdated
Comment thread static/app/views/automations/edit.tsx Outdated
Comment thread static/app/views/automations/edit.tsx Outdated
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Scope: Frontend Automatically applied to PRs that change frontend components

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant