Name Description Size
InAppNotifications.sys.mjs Controller for the In-App Notification system for showing messages from the project to users. @implements {nsIObserver} 6940
NotificationFilter.sys.mjs Check if a notification's conditions make it currently suitable for display. @param {object} notification - Notification to check. @param {number} seed - The random seed for this notification. @param {string[]} interactedWithIds - Notification IDs the user has interacted with. @returns {boolean} If this notification should be shown. 3885
NotificationManager.sys.mjs Makes sure any pending notifications are shown one after another (as the user interacts with them or they expire). Requires updatedNotifications to be called at least once, as soon as there are available notifications. From then on it will work through the available notifications, until none are left and it will wait for a call to updatedNotifications again. @fires newnotification - Has the notification to display in the detail. @fires clearnotification - Sent when no notification should be shown. @fires notificationinteractedwith - Emitted when a notification has been interacted with. @fires requestnotifications - Emitted to request an update on the currently available notifications. Listeners should call updatedNotifications with an array of the notifications. 9106
NotificationUpdater.sys.mjs Regularily check the in-app notification server for the latest notifications. 3493