[PR #762] [MERGED] Add filters to server list #949

Closed
opened 2026-02-05 17:59:22 +03:00 by OVERLORD · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/pelican-dev/panel/pull/762
Author: @Boy132
Created: 12/4/2024
Status: Merged
Merged: 12/5/2024
Merged by: @Boy132

Base: mainHead: feature/server-list-buttons


📝 Commits (3)

📊 Changes

1 file changed (+24 additions, -2 deletions)

View changed files

📝 app/Filament/App/Resources/ServerResource/Pages/ListServers.php (+24 -2)

📄 Description

Adds two filters to the server list: Owned by and Egg.

The egg filter is pretty self explanatory.
Only "special" thing here is that the selection is prefiltered. So you can only select eggs that you have servers of. In my example I only have a Paper server and a Garry's Mod server so the selection is prefiltered to only these two options.
image
image

Owned by is like the toggle in the old client area, but it also has a state for "All servers".
By default it filters by "My servers".
image
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/762 **Author:** [@Boy132](https://github.com/Boy132) **Created:** 12/4/2024 **Status:** ✅ Merged **Merged:** 12/5/2024 **Merged by:** [@Boy132](https://github.com/Boy132) **Base:** `main` ← **Head:** `feature/server-list-buttons` --- ### 📝 Commits (3) - [`63e025c`](https://github.com/pelican-dev/panel/commit/63e025c1e5b6aa9c459d6d061f2b6a22341fc7a6) add server owner filter - [`7879915`](https://github.com/pelican-dev/panel/commit/78799154519f01468e2ff1f240c8191e6a492f80) add egg filter - [`8ede1d4`](https://github.com/pelican-dev/panel/commit/8ede1d4244ef4476ad98f51d8828fdb8ce1e6f54) replace SelectFilter with TernaryFilter ### 📊 Changes **1 file changed** (+24 additions, -2 deletions) <details> <summary>View changed files</summary> 📝 `app/Filament/App/Resources/ServerResource/Pages/ListServers.php` (+24 -2) </details> ### 📄 Description Adds two filters to the server list: `Owned by` and `Egg`. The egg filter is pretty self explanatory. Only "special" thing here is that the selection is prefiltered. So you can only select eggs that you have servers of. In my example I only have a Paper server and a Garry's Mod server so the selection is prefiltered to only these two options. ![image](https://github.com/user-attachments/assets/41f59b2b-bff5-44fa-a12d-011cce444900) ![image](https://github.com/user-attachments/assets/06565a8b-ec61-49b9-9705-ea0721b7f96a) `Owned by` is like the toggle in the old client area, but it also has a state for "All servers". By default it filters by "My servers". ![image](https://github.com/user-attachments/assets/ff40ade0-188c-496d-8000-54424daa45ec) ![image](https://github.com/user-attachments/assets/a374f2f9-2036-4dc5-8368-dc82a5389bb2) ![image](https://github.com/user-attachments/assets/5bd35ffc-b7e7-4534-8397-cfc30c90d029) --- <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-05 17:59:22 +03:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/panel-pelican-dev#949