[PR #1173] [MERGED] Improve alert banner fetching #1225

Closed
opened 2026-02-04 19:28:12 +03:00 by OVERLORD · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/pelican-dev/panel/pull/1173
Author: @Boy132
Created: 3/27/2025
Status: Merged
Merged: 3/29/2025
Merged by: @Boy132

Base: mainHead: boy132/improve-alert-banner-fetching


📝 Commits (2)

  • 517c302 use events for alert banner pulling
  • 602ddfe add ids to alert banners to prevent duplicates

📊 Changes

8 files changed (+35 additions, -16 deletions)

View changed files

📝 app/Filament/Server/Pages/Console.php (+2 -2)
📝 app/Filament/Server/Resources/FileResource/Pages/EditFiles.php (+1 -1)
📝 app/Filament/Server/Resources/FileResource/Pages/ListFiles.php (+6 -9)
📝 app/Filament/Server/Widgets/ServerConsole.php (+1 -1)
📝 app/Livewire/AlertBanner.php (+1 -2)
📝 app/Livewire/AlertBannerContainer.php (+2 -0)
📝 app/Providers/AppServiceProvider.php (+21 -0)
📝 resources/views/livewire/alerts/alert-banner-container.blade.php (+1 -1)

📄 Description

Closes #1152

Use an event instead of pulling every second. Based on filaments notifications.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/pelican-dev/panel/pull/1173 **Author:** [@Boy132](https://github.com/Boy132) **Created:** 3/27/2025 **Status:** ✅ Merged **Merged:** 3/29/2025 **Merged by:** [@Boy132](https://github.com/Boy132) **Base:** `main` ← **Head:** `boy132/improve-alert-banner-fetching` --- ### 📝 Commits (2) - [`517c302`](https://github.com/pelican-dev/panel/commit/517c302abac1ce332ad5303fdc0ef7108fdbc3aa) use events for alert banner pulling - [`602ddfe`](https://github.com/pelican-dev/panel/commit/602ddfe9e932e81a607cda8cf2a8a086b66871f7) add ids to alert banners to prevent duplicates ### 📊 Changes **8 files changed** (+35 additions, -16 deletions) <details> <summary>View changed files</summary> 📝 `app/Filament/Server/Pages/Console.php` (+2 -2) 📝 `app/Filament/Server/Resources/FileResource/Pages/EditFiles.php` (+1 -1) 📝 `app/Filament/Server/Resources/FileResource/Pages/ListFiles.php` (+6 -9) 📝 `app/Filament/Server/Widgets/ServerConsole.php` (+1 -1) 📝 `app/Livewire/AlertBanner.php` (+1 -2) 📝 `app/Livewire/AlertBannerContainer.php` (+2 -0) 📝 `app/Providers/AppServiceProvider.php` (+21 -0) 📝 `resources/views/livewire/alerts/alert-banner-container.blade.php` (+1 -1) </details> ### 📄 Description Closes #1152 Use an event instead of pulling every second. Based on [filaments notifications](https://github.com/filamentphp/filament/blob/fed5c56ae7dca0454035f77be8a811dbcbf9dbd8/packages/notifications/src/NotificationsServiceProvider.php#L39-L53). --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
OVERLORD added the pull-request label 2026-02-04 19:28:12 +03:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/panel#1225