Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove alerts instead of deactivating them #1139

Merged
merged 1 commit into from
Dec 19, 2024
Merged

Conversation

ceesvoesenek
Copy link
Collaborator

@ceesvoesenek ceesvoesenek commented Dec 18, 2024

Description

Closing alert messages was a bit buggy; multiple items would be closed or all alerts would be hidden upon closing a single alert. Issues stemmed from the alerts state not being deeply reactive. We now simplified the alerts store by removing the active property, which was only used to "remove" alerts.

Checklist

  • Make the title short and concise
  • Select the correct label to include it in the release notes:
    • rel: new feature
    • rel: improvement
    • rel: fixes
    • rel: ignore
      Select to rel: ignore if this pull request fixes a New Feature or Improvement in the coming release. Update related Pull Request.
  • Update documentation.
  • Update tests.

This removes the active state for an alert altogether, since it is no
longer used anywhere.
@ceesvoesenek ceesvoesenek requested a review from wkramer December 18, 2024 10:46
@wkramer wkramer merged commit 3742b4a into main Dec 19, 2024
9 checks passed
@wkramer wkramer deleted the fix-closing-alerts branch December 19, 2024 10:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants