-
-
Notifications
You must be signed in to change notification settings - Fork 21
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Enhance notification handling in settingsBase.html - Refactored notification management to utilize a unique ID for each notification. - Updated the subscription to the SSEManager to use a class property for better context handling. - Cleaned up event listeners on component destruction to prevent memory leaks. * Enhance SSE initialization and notification handling in settingsBase.html - Added logging for SSE connection initialization and re-initialization checks. - Introduced an 'initialized' flag to prevent multiple SSE connections. - Improved notification handling by ensuring unique IDs and managing notification removal with animations. - Cleaned up event listeners on component destruction to prevent memory leaks.
- Loading branch information
Showing
1 changed file
with
58 additions
and
35 deletions.
There are no files selected for viewing
This file contains 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