mirror of
https://github.com/pelican-dev/panel.git
synced 2026-05-04 18:00:48 +03:00
[PR #494] [MERGED] Ability to create allocations on EditServer page #796
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/494
Author: @rmartinoscar
Created: 7/18/2024
Status: ✅ Merged
Merged: 7/20/2024
Merged by: @notAreYouScared
Base:
main← Head:feature/CreateAllocationEditServer📝 Commits (3)
3842b78Ability to create allocation on edit page + Ability to assign allocation to server on creationb644917Disable dehydrate for readonly06475f6set these to false📊 Changes
4 files changed (+95 additions, -8 deletions)
View changed files
📝
app/Filament/Resources/ServerResource/Pages/EditServer.php(+4 -2)📝
app/Filament/Resources/ServerResource/RelationManagers/AllocationsRelationManager.php(+85 -3)📝
app/Filament/Resources/UserResource/Pages/EditProfile.php(+2 -0)📝
app/Services/Allocations/AssignmentService.php(+4 -3)📄 Description
Ability to create allocations on EditServer page
Ability to assign Allocation to Server on creation (AssignmentService)
Add
->dehydrated(false)to readOnly fields so user edited ones do not change on the server as recommended🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.