panel
panel copied to clipboard
When creating a new Server, try to use the last used Node instead
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
Neat little addition