When creating a new Server, try to use the last used Node instead #303

Closed
opened 2026-02-05 17:24:09 +03:00 by OVERLORD · 1 comment
Owner

Originally created by @lancepioch on GitHub (Apr 11, 2025).

When creating a new Server, the newest Node is always selected.

Let's try storing the last used Node in the session and default to the newest node if not available!
What is the last used Node? If you create/edit a Node, save that as the last used. If a new Server is created, store its Node as the last used. Etc.

d721af6be1/app/Filament/Admin/Resources/ServerResource/Pages/CreateServer.php (L112)

Originally created by @lancepioch on GitHub (Apr 11, 2025). When creating a new Server, the newest Node is always selected. Let's try storing the last used Node in the session and default to the newest node if not available! What is the last used Node? If you create/edit a Node, save that as the last used. If a new Server is created, store its Node as the last used. Etc. https://github.com/pelican-dev/panel/blob/d721af6be10ab9169b8c36363c46df2a21b2b0ea/app/Filament/Admin/Resources/ServerResource/Pages/CreateServer.php#L112
OVERLORD added the 🟢 easy label 2026-02-05 17:24:09 +03:00
Author
Owner

@SirEndii commented on GitHub (Apr 11, 2025):

Neat little addition

@SirEndii commented on GitHub (Apr 11, 2025): Neat little addition
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/panel-pelican-dev#303