[PR #1849] [MERGED] Add Egg Images #1607

Closed
opened 2026-02-04 20:01:10 +03:00 by OVERLORD · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/pelican-dev/panel/pull/1849
Author: @notAreYouScared
Created: 10/29/2025
Status: Merged
Merged: 11/3/2025
Merged by: @notAreYouScared

Base: mainHead: charles/egg-images


📝 Commits (10+)

📊 Changes

22 files changed (+308 additions, -38 deletions)

View changed files

📝 app/Filament/Admin/Resources/Eggs/Pages/EditEgg.php (+205 -23)
📝 app/Filament/Admin/Resources/Eggs/Pages/ListEggs.php (+8 -0)
📝 app/Livewire/ServerEntry.php (+12 -0)
📝 app/Models/Egg.php (+3 -0)
📝 app/Services/Eggs/Sharing/EggExporterService.php (+1 -0)
📝 app/Services/Eggs/Sharing/EggImporterService.php (+1 -0)
📝 app/Transformers/Api/Application/EggTransformer.php (+1 -0)
📝 database/Seeders/eggs/minecraft/egg-bungeecord.yaml (+2 -1)
📝 database/Seeders/eggs/minecraft/egg-forge-minecraft.yaml (+2 -1)
📝 database/Seeders/eggs/minecraft/egg-paper.yaml (+2 -1)
📝 database/Seeders/eggs/minecraft/egg-sponge.yaml (+2 -1)
📝 database/Seeders/eggs/minecraft/egg-vanilla-minecraft.yaml (+2 -1)
📝 database/Seeders/eggs/rust/egg-rust.yaml (+2 -1)
📝 database/Seeders/eggs/source-engine/egg-custom-source-engine-game.yaml (+2 -1)
📝 database/Seeders/eggs/source-engine/egg-garrys-mod.yaml (+2 -1)
📝 database/Seeders/eggs/source-engine/egg-insurgency.yaml (+2 -1)
📝 database/Seeders/eggs/source-engine/egg-team-fortress2.yaml (+2 -1)
📝 database/Seeders/eggs/voice-servers/egg-mumble-server.yaml (+2 -1)
📝 database/Seeders/eggs/voice-servers/egg-teamspeak3-server.yaml (+2 -1)
database/migrations/2025_10_29_105725_add_egg_image_column.php (+28 -0)

...and 2 more files

📄 Description

Closes #646

  • Should be an new optional root level parameter in egg configuration
  • Must be a base64 data URI scheme of an image (png)
    ~ Why only PNGs?
  • The image must be perfectly square, ideally 100px at least
    ~ Changed to circular to match avatars, on admin side, images are right justified in grid view. No changes in table view
    ~~ Set a 1024KB size limit.
  • ?? Use Icon on server list, grid and table views ??
  • Eggs in this repo must be updated with this change

* [ ] Use Icon for Server Tenant on end user side
I see no reason for this... Its only seen on the console page. Maybe we can remove the icon on the dropdown?

Edit Egg:
image
image
image
image

List Eggs: Will use the base64 string from image column, if blank, will use base64 string of the pelican logo.

image

Grid Views...
image
image


🔄 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/1849 **Author:** [@notAreYouScared](https://github.com/notAreYouScared) **Created:** 10/29/2025 **Status:** ✅ Merged **Merged:** 11/3/2025 **Merged by:** [@notAreYouScared](https://github.com/notAreYouScared) **Base:** `main` ← **Head:** `charles/egg-images` --- ### 📝 Commits (10+) - [`1227c9c`](https://github.com/pelican-dev/panel/commit/1227c9c2e48db4cc887385c2aec85777b43eb6c0) Pass 1 - [`d8d3120`](https://github.com/pelican-dev/panel/commit/d8d31202e14a4cf31471a2b1e6a862424309d760) I LOVE LAYOUTS! - [`c15f34c`](https://github.com/pelican-dev/panel/commit/c15f34cb17ec74ea9c51559b16dccfe2fdb2947a) im so over it. - [`4991b7d`](https://github.com/pelican-dev/panel/commit/4991b7de71f642fbc8d60d1ef4c1e720ba888b89) Pass 2 - [`1c99ea0`](https://github.com/pelican-dev/panel/commit/1c99ea010636ae6ed7cc325407104aa0883e668c) translations - [`d7b5651`](https://github.com/pelican-dev/panel/commit/d7b5651b13d86366546d3792b410aafae8e28b77) more translations - [`6796e40`](https://github.com/pelican-dev/panel/commit/6796e408e0a63d30a705d137f00806e974d6f7cd) add local ip check, and check file type - [`5938ba8`](https://github.com/pelican-dev/panel/commit/5938ba847bcf4cd234d5fe119400abe7fd535ce4) Add image to server grid - [`a749ddd`](https://github.com/pelican-dev/panel/commit/a749ddd7fd6e5a092eee87de6294c908d62fde88) css is not fun :/ - [`571815f`](https://github.com/pelican-dev/panel/commit/571815f3f20b57f0393e246e01dae39fda242ef6) Whoops, need that ### 📊 Changes **22 files changed** (+308 additions, -38 deletions) <details> <summary>View changed files</summary> 📝 `app/Filament/Admin/Resources/Eggs/Pages/EditEgg.php` (+205 -23) 📝 `app/Filament/Admin/Resources/Eggs/Pages/ListEggs.php` (+8 -0) 📝 `app/Livewire/ServerEntry.php` (+12 -0) 📝 `app/Models/Egg.php` (+3 -0) 📝 `app/Services/Eggs/Sharing/EggExporterService.php` (+1 -0) 📝 `app/Services/Eggs/Sharing/EggImporterService.php` (+1 -0) 📝 `app/Transformers/Api/Application/EggTransformer.php` (+1 -0) 📝 `database/Seeders/eggs/minecraft/egg-bungeecord.yaml` (+2 -1) 📝 `database/Seeders/eggs/minecraft/egg-forge-minecraft.yaml` (+2 -1) 📝 `database/Seeders/eggs/minecraft/egg-paper.yaml` (+2 -1) 📝 `database/Seeders/eggs/minecraft/egg-sponge.yaml` (+2 -1) 📝 `database/Seeders/eggs/minecraft/egg-vanilla-minecraft.yaml` (+2 -1) 📝 `database/Seeders/eggs/rust/egg-rust.yaml` (+2 -1) 📝 `database/Seeders/eggs/source-engine/egg-custom-source-engine-game.yaml` (+2 -1) 📝 `database/Seeders/eggs/source-engine/egg-garrys-mod.yaml` (+2 -1) 📝 `database/Seeders/eggs/source-engine/egg-insurgency.yaml` (+2 -1) 📝 `database/Seeders/eggs/source-engine/egg-team-fortress2.yaml` (+2 -1) 📝 `database/Seeders/eggs/voice-servers/egg-mumble-server.yaml` (+2 -1) 📝 `database/Seeders/eggs/voice-servers/egg-teamspeak3-server.yaml` (+2 -1) ➕ `database/migrations/2025_10_29_105725_add_egg_image_column.php` (+28 -0) _...and 2 more files_ </details> ### 📄 Description Closes #646 * [X] Should be an new optional root level parameter in egg configuration * [X] Must be a base64 data URI scheme of an image (png) ~ Why only PNGs? * [X] The image must be perfectly square, ideally 100px at least ~ Changed to circular to match avatars, on admin side, images are right justified in grid view. No changes in table view ~~ Set a 1024KB size limit. * [x] ?? Use Icon on server list, grid and table views ?? * [x] Eggs in this repo must be updated with this change ~~* [ ] Use Icon for Server Tenant on end user side~~ I see no reason for this... Its only seen on the console page. Maybe we can remove the `icon` on the dropdown? Edit Egg: <img width="1492" height="413" alt="image" src="https://github.com/user-attachments/assets/05e2eb21-4517-4628-ba90-98069a4fc33c" /> <img width="920" height="280" alt="image" src="https://github.com/user-attachments/assets/2bee7dd5-e0ec-4fd5-8d89-1bd2b43eace0" /> <img width="918" height="334" alt="image" src="https://github.com/user-attachments/assets/6389ae33-3047-48ca-90e1-da7c20662ff1" /> <img width="919" height="458" alt="image" src="https://github.com/user-attachments/assets/dde73bb8-71b9-4ae6-8082-857f8bdcbe98" /> List Eggs: Will use the base64 string from image column, if blank, will use base64 string of the pelican logo. <img width="1430" height="1188" alt="image" src="https://github.com/user-attachments/assets/f9e8e15f-f7a9-4868-bd2d-60c410ca46b7" /> Grid Views... <img width="1483" height="1117" alt="image" src="https://github.com/user-attachments/assets/cb0e2a94-9a28-4dba-b816-b9504d9eeedf" /> <img width="1460" height="1080" alt="image" src="https://github.com/user-attachments/assets/3aebf0e7-c5b9-446f-b768-4ee132dec955" /> --- <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 20:01:10 +03:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/panel#1607