Skip to content

Lite: Dismiss Selected clears the server-tab badge too (#1092)#1122

Merged
erikdarlingdata merged 1 commit into
devfrom
feature/1092-dismiss-selected-badge
Jun 15, 2026
Merged

Lite: Dismiss Selected clears the server-tab badge too (#1092)#1122
erikdarlingdata merged 1 commit into
devfrom
feature/1092-dismiss-selected-badge

Conversation

@erikdarlingdata

Copy link
Copy Markdown
Owner

#1092 — "Dismiss Selected" didn't clear the server-tab badge

The core badge-clearing work shipped in #1100 (click-to-acknowledge badge, Dismiss All, context-menu Acknowledge). One gap remained: Dismiss Selected dismissed the rows but never fired AlertsDismissed, so the server-tab badge stayed lit after dismissing individual alerts.

Fix

After a successful Dismiss Selected, fire AlertsDismissed for each distinct server represented in the dismissed rows — selected rows can span servers when the filter is "all" — reusing the same host handler (OnAlertHistoryDismissedAcknowledgeServerBadge) that Dismiss All already uses. 6 lines, 1 file.

Validation

  • Lite builds clean (net10, 0 errors).
  • Lite.Tests: 434/434.

🤖 Generated with Claude Code

Dismiss All already fired AlertsDismissed to acknowledge the matching
server-tab alert badge(s); Dismiss Selected did not, so the badge stayed
lit after dismissing individual rows. Fire AlertsDismissed for each
distinct server represented in the dismissed rows -- selected rows can
span servers when the filter is "all" -- matching Dismiss All's behavior.

Completes the #1092 badge-clearing work (core fixed in #1100).

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant