[PR #1869] [MERGED] Add session key to use last used node, instead of latest created node #1626

Closed
opened 2026-02-05 18:19:37 +03:00 by OVERLORD · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/pelican-dev/panel/pull/1869
Author: @notAreYouScared
Created: 11/7/2025
Status: Merged
Merged: 11/9/2025
Merged by: @notAreYouScared

Base: mainHead: charles/use-last-node


📝 Commits (4)

  • ccb6138 add session key to reuse last used node instead of latest node
  • a29728f phpstorm was wrong? idk...
  • df0dcae Update app/Filament/Admin/Resources/Servers/Pages/CreateServer.php
  • e516e30 Update app/Filament/Admin/Resources/Servers/Pages/CreateServer.php

📊 Changes

1 file changed (+10 additions, -0 deletions)

View changed files

📝 app/Filament/Admin/Resources/Servers/Pages/CreateServer.php (+10 -0)

📄 Description

Closes #1234

User experience improvements:

  • The form now attempts to pre-select the last used node by retrieving it from the session, provided the user still has access to that node. If not, it falls back to the latest accessible node.
  • After a server is created, the selected node is saved to the session as lastUsedNode, ensuring future server creations default to the user's previous choice.

🔄 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/1869 **Author:** [@notAreYouScared](https://github.com/notAreYouScared) **Created:** 11/7/2025 **Status:** ✅ Merged **Merged:** 11/9/2025 **Merged by:** [@notAreYouScared](https://github.com/notAreYouScared) **Base:** `main` ← **Head:** `charles/use-last-node` --- ### 📝 Commits (4) - [`ccb6138`](https://github.com/pelican-dev/panel/commit/ccb61382d05b9ea403f3a9b43da8c311a683d3a5) add session key to reuse last used node instead of latest node - [`a29728f`](https://github.com/pelican-dev/panel/commit/a29728f6b7cc47502cf41fe2fe5dba56e6e97f5d) phpstorm was wrong? idk... - [`df0dcae`](https://github.com/pelican-dev/panel/commit/df0dcaeb4cddd9e7c1c89ac764be804dfb501194) Update app/Filament/Admin/Resources/Servers/Pages/CreateServer.php - [`e516e30`](https://github.com/pelican-dev/panel/commit/e516e309d075970447cf86178f6cf91d6aa02bb9) Update app/Filament/Admin/Resources/Servers/Pages/CreateServer.php ### 📊 Changes **1 file changed** (+10 additions, -0 deletions) <details> <summary>View changed files</summary> 📝 `app/Filament/Admin/Resources/Servers/Pages/CreateServer.php` (+10 -0) </details> ### 📄 Description Closes #1234 - User experience improvements: * The form now attempts to pre-select the last used node by retrieving it from the session, provided the user still has access to that node. If not, it falls back to the latest accessible node. * After a server is created, the selected node is saved to the session as `lastUsedNode`, ensuring future server creations default to the user's previous choice. --- <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 18:19:37 +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#1626