Skip to content

fix(aci): Include project alerts on monitor list page#111690

Merged
malwilley merged 1 commit intomasterfrom
malwilley/list-all-alerts
Mar 27, 2026
Merged

fix(aci): Include project alerts on monitor list page#111690
malwilley merged 1 commit intomasterfrom
malwilley/list-all-alerts

Conversation

@malwilley
Copy link
Copy Markdown
Member

@malwilley malwilley commented Mar 26, 2026

Closes ISWF-2228

On the monitor list views we are only showing the directly-connected alerts. The detail pages already show the full list including project-connected alerts. This simply adds the functionality to the list view.

Before:

CleanShot 2026-03-26 at 15 15 50@2x

After:
CleanShot 2026-03-26 at 15 16 00@2x

@malwilley malwilley requested a review from a team as a code owner March 26, 2026 22:17
@linear-code
Copy link
Copy Markdown

linear-code bot commented Mar 26, 2026

@github-actions github-actions bot added the Scope: Frontend Automatically applied to PRs that change frontend components label Mar 26, 2026
Comment on lines 22 to +23
automationIds: string[];
projectId: string;
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.

Nit: could we use an Indexed Access Type for these? Project["id"] kind of thing, so we can rely on a single type defintion?

});
return useDetectorsQuery(
{
query: 'type:issue_stream',
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.

just curious.. how hard would it be to rename the IssueStream to Issue Feed for ui components? (something tells me that issue stream isn't going to stick around, so mostly just trying to understand the blast radius)

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

The only user-facing place that we show "issue stream" is when connecting monitors to an alert:

CleanShot 2026-03-26 at 15 42 09@2x

The blast radius is pretty small

Comment on lines +56 to +57
automationIds={detector.workflowIds}
projectId={detector.projectId}
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.

nit: should we just pass the detector as the prop so we can strictly type it and have access to any other data we might need?

@malwilley malwilley merged commit 6bcb137 into master Mar 27, 2026
73 checks passed
@malwilley malwilley deleted the malwilley/list-all-alerts branch March 27, 2026 16:21
@github-actions github-actions bot locked and limited conversation to collaborators Apr 12, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

Scope: Frontend Automatically applied to PRs that change frontend components

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants