Add alerts support#29
Merged
PardhavMaradani merged 2 commits intoJul 10, 2026
Merged
Conversation
- Backend support for creating and managing alerts - Frontend support for displaying alerts - Command line option to clear alerts during startup - Backend and Frontend tests for all new functionality
Documentation build overview
9 files changed ·
|
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files
🚀 New features to boost your workflow:
|
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.
Changes made in this Pull Request:
PR Checklist
Hi @orbeckst, @jeremyleung521, @amruthesht, @HeydenLabASU,
This PR adds support for alerts. Widget classes can now create alerts based on any runtime conditions and they will now show up on the dashboard GUI. Currently, only the 'COMDistance' widget uses this feature. It has the following config:
In addition to creating an alert, widgets can also invoke a method from the base class to pause the simulation if needed (added as part of PR #27 ).
Here is the main dashboard page that updates the alerts badge in realtime when they are triggered:
Here is the alerts page that shows all the alerts and allows users to delete individual alerts, all alerts, search / filter, paginate etc:
With alerts support, we now have all the core functionality in place.
Thanks