mirror of
https://github.com/pelican-dev/panel.git
synced 2026-05-04 18:00:48 +03:00
[PR #1906] [MERGED] Add server icons #1649
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/pelican-dev/panel/pull/1906
Author: @notAreYouScared
Created: 11/16/2025
Status: ✅ Merged
Merged: 11/22/2025
Merged by: @notAreYouScared
Base:
main← Head:charles/server-icons📝 Commits (10+)
6cf4860Add server icons93a072bupdate return type8600d5fRemove cast8f9e9bcswitch tolongtext56ab608Merge remote-tracking branch 'origin/main' into charles/server-icons273b819set server tenant to icon->image->nullfcd501afix 500, reduce max size to 256KB0893941Make rabbit happy2a25491PHPStan + Rabbit changes1a398b0Nullsafe cleanup📊 Changes
9 files changed (+597 additions, -176 deletions)
View changed files
📝
app/Filament/Admin/Resources/Servers/Pages/EditServer.php(+253 -74)📝
app/Filament/App/Resources/Servers/Pages/ListServers.php(+5 -0)📝
app/Filament/Server/Pages/Settings.php(+202 -36)📝
app/Livewire/ServerEntry.php(+14 -57)📝
app/Models/Server.php(+11 -2)➕
database/migrations/2025_11_16_000000_add_icon_to_servers.php(+28 -0)📝
lang/en/server/setting.php(+6 -0)➕
resources/views/livewire/server-entry-placeholder.blade.php(+69 -0)📝
resources/views/livewire/server-entry.blade.php(+9 -7)📄 Description
This pull request adds support for custom server icons, allowing users to upload or set an icon for each server. The changes include backend model and database updates, a new user interface for managing server icons, and integration of the icon into the server entry placeholder view.
Server Icon Feature
iconfield to theServermodel, including database migration, model property, validation, and casting. [1] [2] [3] [4]Settings.php) to provide an interface for uploading, previewing, and deleting server icons. Users can set the icon via URL or file upload, with validation and error handling. [1] [2]UI Integration
Layout Adjustments
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.