Repository navigation
Make the Mute Alerts toasts say what just happened - #3202
Merged
warwickschroeder merged 1 commit intoNov 26, 2026
Merged
Conversation
…n the heartbeats component and tests
johnsimons
approved these changes
Nov 26, 2026
rbev
approved these changes
Nov 26, 2026
warwickschroeder
deleted the
3201-muting-an-endpoint-instance-shows-e
branch
November 26, 2026 02:17
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fixes: #3201
What this fixes
On an endpoint's instances page, clicking an instance's Mute Alerts switch showed the opposite toast: muting said "Endpoint instance unmuted" and unmuting said "Endpoint instance muted". The toast now matches the action, and the bulk buttons say "muted" and "unmuted" instead of "mute" and "unmute".
Tests
test/specs/heartbeats/configuring-heartbeats.spec.ts: muting then unmuting one instance shows the matching toast each time, and the bulk buttons show "muted" then "unmuted". Both tests fail without the fix.