[PR #1002] [CLOSED] Alert banner #1107

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

📋 Pull Request Information

Original PR: https://github.com/pelican-dev/panel/pull/1002
Author: @ShadowComes
Created: 2/12/2025
Status: Closed

Base: mainHead: alert-banner


📝 Commits (10+)

  • 028c0d6 Got everything running
  • e8bf9df Excluded .env because here will be alert banner config in future
  • f3f3df5 Create migration for alert_banners table
  • a0d58b0 Add AlertBanner model with fillable attributes
  • 26b1dd8 Add Alert Banner settings to Admin panel with dynamic configuration
  • d117c76 Revert .env .gitignore
  • 40a7d08 Implement global banners
  • d226ffc Add icon picker
  • a91f57c Revert "Got everything running"
  • 80fad35 Replace IconPicker plugin

📊 Changes

6 files changed (+232 additions, -4 deletions)

View changed files

📝 app/Filament/Admin/Pages/Settings.php (+69 -0)
📝 app/Livewire/AlertBannerContainer.php (+9 -0)
📝 composer.json (+1 -0)
📝 composer.lock (+127 -4)
📝 config/panel.php (+17 -0)
📝 lang/en/admin/setting.php (+9 -0)

📄 Description

Aler Banner feature! 🚨

I ShadowComes ( Git: @shadowcomes Discord: shadowcomes) and Martin Oscar (Git: @RMartinOscar Discord: rmartinoscar) have created a alert banned that we are ready to share. 🔥 🚀
This alert banner is globally applyed, meaning that the users and admins will see the alert!
Discord Threads channel about this project 🧵

And everyone who has crazy ideas, please be wellcome to mention them!!! 😋

New features what we inclouded:

  • Added a tab in Settings for Alert Banner configuration for admins ⚠️
  • Enabled or Disabled alert
  • Choice between able to close the alert or to be temporary
  • Icon searching database - see in attachments a showcase for it 📹
  • Alert Status - A choice between various colours

The icon pick library repo:
https://github.com/lukas-frey/filament-icon-picker

image
image
image
Screenshot (104)
image
Showcase_video-icon_picker

Possible updates in upcoming time:

  • Alert duration time
  • Optimized character layout in banner that it doesn't overflow the panel :D

Inspiration reference

#892


🔄 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/1002 **Author:** [@ShadowComes](https://github.com/ShadowComes) **Created:** 2/12/2025 **Status:** ❌ Closed **Base:** `main` ← **Head:** `alert-banner` --- ### 📝 Commits (10+) - [`028c0d6`](https://github.com/pelican-dev/panel/commit/028c0d6bb55c0068e8e1a2e0fb2ec65b3262538f) Got everything running - [`e8bf9df`](https://github.com/pelican-dev/panel/commit/e8bf9df2258b8a7ab5044674dbde49abcab6440c) Excluded .env because here will be alert banner config in future - [`f3f3df5`](https://github.com/pelican-dev/panel/commit/f3f3df5cd99d191bf7cc682b73fbc1225b7303e6) Create migration for alert_banners table - [`a0d58b0`](https://github.com/pelican-dev/panel/commit/a0d58b02dde3bf68caa3a4e0a2bb183b73074d37) Add AlertBanner model with fillable attributes - [`26b1dd8`](https://github.com/pelican-dev/panel/commit/26b1dd86487933e6609599c404a09b94b73e8dd8) Add Alert Banner settings to Admin panel with dynamic configuration - [`d117c76`](https://github.com/pelican-dev/panel/commit/d117c76482b66b13d09923390eaccc95dc163e82) Revert .env .gitignore - [`40a7d08`](https://github.com/pelican-dev/panel/commit/40a7d08fea36fae4b0f8f14d0726b286995ce30f) Implement global banners - [`d226ffc`](https://github.com/pelican-dev/panel/commit/d226ffc1a9fa85508981edf2ac11c29fef658d67) Add icon picker - [`a91f57c`](https://github.com/pelican-dev/panel/commit/a91f57cd524a55b42eb122bba529401aace432a3) Revert "Got everything running" - [`80fad35`](https://github.com/pelican-dev/panel/commit/80fad35816191c275882bef167356ac8e363fdd1) Replace IconPicker plugin ### 📊 Changes **6 files changed** (+232 additions, -4 deletions) <details> <summary>View changed files</summary> 📝 `app/Filament/Admin/Pages/Settings.php` (+69 -0) 📝 `app/Livewire/AlertBannerContainer.php` (+9 -0) 📝 `composer.json` (+1 -0) 📝 `composer.lock` (+127 -4) 📝 `config/panel.php` (+17 -0) 📝 `lang/en/admin/setting.php` (+9 -0) </details> ### 📄 Description ## Aler Banner feature! 🚨 I ShadowComes ( Git: @shadowcomes Discord: shadowcomes) and Martin Oscar (Git: @RMartinOscar Discord: rmartinoscar) have created a alert banned that we are ready to share. 🔥 🚀 This alert banner is globally applyed, meaning that the users and admins will see the alert! [Discord Threads channel about this project 🧵](https://discord.com/channels/1218730176297439332/1337797417374060567) And everyone who has crazy ideas, please be wellcome to mention them!!! 😋 ## New features what we inclouded: - Added a tab in Settings for Alert Banner configuration for admins ⚠️ - Enabled or Disabled alert - Choice between able to close the alert or to be temporary - Icon searching database - _see in attachments a showcase for it_ 📹 - Alert Status - A choice between various colours The icon pick library repo: https://github.com/lukas-frey/filament-icon-picker ![image](https://github.com/user-attachments/assets/59588f3f-73ac-4b12-92d0-23804c15f2c1) ![image](https://github.com/user-attachments/assets/696bc381-1e60-4af6-816b-25976b4dedff) ![image](https://github.com/user-attachments/assets/2d0cebab-28a9-4158-a187-2719902329b0) ![Screenshot (104)](https://github.com/user-attachments/assets/d3909b6d-0f3e-41e2-ba1e-e4e9200eb68f) ![image](https://github.com/user-attachments/assets/52630435-ba63-453c-a10e-91032ec15465) ![Showcase_video-icon_picker](https://github.com/user-attachments/assets/f513a2fb-ff64-4b90-8017-12b0424ab37c) ## Possible updates in upcoming time: - [ ] Alert duration time - [ ] Optimized character layout in banner that it doesn't overflow the panel :D ## Inspiration reference #892 --- <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:18:09 +03:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/panel#1107