mirror of
https://github.com/pelican-dev/panel.git
synced 2026-05-04 18:00:48 +03:00
[PR #762] [MERGED] Add filters to server list #949
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/762
Author: @Boy132
Created: 12/4/2024
Status: ✅ Merged
Merged: 12/5/2024
Merged by: @Boy132
Base:
main← Head:feature/server-list-buttons📝 Commits (3)
63e025cadd server owner filter7879915add egg filter8ede1d4replace SelectFilter with TernaryFilter📊 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 byandEgg.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.
Owned byis like the toggle in the old client area, but it also has a state for "All servers".By default it filters by "My servers".
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.