[PR #924] [MERGED] Alert banner improvements: auto-refresh, fixes & "closeable" #1058

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

📋 Pull Request Information

Original PR: https://github.com/pelican-dev/panel/pull/924
Author: @Boy132
Created: 1/17/2025
Status: Merged
Merged: 1/18/2025
Merged by: @Boy132

Base: mainHead: boy132/alert-banner-update


📝 Commits (4)

  • 4fc0760 fix websocket error always displaying
  • a22abb7 use livewire component with polling for alert banner container
  • f3cb04b add id to alert banner
  • c8afdeb cleanup blade file and add "closeable" property

📊 Changes

9 files changed (+134 additions, -73 deletions)

View changed files

📝 app/Filament/Server/Widgets/ServerConsole.php (+11 -0)
📝 app/Livewire/AlertBanner.php (+52 -9)
app/Livewire/AlertBannerContainer.php (+35 -0)
📝 app/Providers/AppServiceProvider.php (+2 -2)
resources/views/filament/alerts/alert-banner-container.blade.php (+0 -11)
resources/views/filament/alerts/alert-banner.blade.php (+0 -40)
📝 resources/views/filament/components/server-console.blade.php (+2 -11)
resources/views/livewire/alerts/alert-banner-container.blade.php (+5 -0)
resources/views/livewire/alerts/alert-banner.blade.php (+27 -0)

📄 Description

Supersedes #923

  • Fixes alert banner for websocket errors
  • Makes the alert banner container a livewire component with polling
  • Adds id to alert banners
  • Allow alert banners to be closeable

🔄 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/924 **Author:** [@Boy132](https://github.com/Boy132) **Created:** 1/17/2025 **Status:** ✅ Merged **Merged:** 1/18/2025 **Merged by:** [@Boy132](https://github.com/Boy132) **Base:** `main` ← **Head:** `boy132/alert-banner-update` --- ### 📝 Commits (4) - [`4fc0760`](https://github.com/pelican-dev/panel/commit/4fc0760431e58f918fae67f9fda3450c7d33037b) fix websocket error always displaying - [`a22abb7`](https://github.com/pelican-dev/panel/commit/a22abb7dc9e80b0dadca671e52b67eabf21949bd) use livewire component with polling for alert banner container - [`f3cb04b`](https://github.com/pelican-dev/panel/commit/f3cb04b6bd188412f232575b96924cdb2785336f) add id to alert banner - [`c8afdeb`](https://github.com/pelican-dev/panel/commit/c8afdeb60bd9dea4e0c67f42e0d4616aaf4bee0d) cleanup blade file and add "closeable" property ### 📊 Changes **9 files changed** (+134 additions, -73 deletions) <details> <summary>View changed files</summary> 📝 `app/Filament/Server/Widgets/ServerConsole.php` (+11 -0) 📝 `app/Livewire/AlertBanner.php` (+52 -9) ➕ `app/Livewire/AlertBannerContainer.php` (+35 -0) 📝 `app/Providers/AppServiceProvider.php` (+2 -2) ➖ `resources/views/filament/alerts/alert-banner-container.blade.php` (+0 -11) ➖ `resources/views/filament/alerts/alert-banner.blade.php` (+0 -40) 📝 `resources/views/filament/components/server-console.blade.php` (+2 -11) ➕ `resources/views/livewire/alerts/alert-banner-container.blade.php` (+5 -0) ➕ `resources/views/livewire/alerts/alert-banner.blade.php` (+27 -0) </details> ### 📄 Description Supersedes #923 - Fixes alert banner for websocket errors - Makes the alert banner container a livewire component with polling - Adds id to alert banners - Allow alert banners to be closeable --- <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:13:58 +03:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/panel#1058