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.
Added a comprehensive notification history system that stores and displays all notifications sent through any channel (Discord, Email, Telegram, Slack, Pushover, Webhook).
Database
create_notification_history_table.phpModels
NotificationHistoryEvent Listener
StoreNotificationHistoryNotificationSenteventEventServiceProviderLivewire Component
Notification/HistoryViews
livewire/notification/history.blade.phpRoutes
/notifications→NotificationHistorycomponent/notificationsnotification.historyNavigation
navbar.blade.phpHelpers
store_notification_history()bootstrap/helpers/notifications.phpTechnical Details
Event-Driven Architecture
The notification history is stored automatically via Laravel's event system. When any notification is sent through any channel, the
NotificationSentevent is fired, and our listener captures it. This ensures:Channel Support
The listener intelligently extracts information from notifications by calling their channel-specific methods:
toDiscord()toSlack()toPushover()toTelegram()toMail()toWebhook()Metadata Extraction
The listener automatically extracts common metadata from notifications:
Event Type Mapping
Notifications are automatically categorized into event types:
deployment_success,deployment_failurebackup_success,backup_failurestatus_changescheduled_task_success,scheduled_task_failuredocker_cleanup_success,docker_cleanup_failureserver_disk_usage,server_reachable,server_unreachableserver_patch,traefik_outdatedserver_force_enabled,server_force_disabledgeneral,test,ssl_certificate_renewal,hetzner_deletion_failureUser Experience
Users can now:
Backwards Compatibility