mirror of
https://github.com/pelican-dev/panel.git
synced 2026-07-16 04:03:50 +03:00
[PR #1845] [MERGED] Add bulk IP update action for node allocations #1603
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/1845
Author: @Copilot
Created: 10/28/2025
Status: ✅ Merged
Merged: 11/9/2025
Merged by: @notAreYouScared
Base:
main← Head:copilot/bulk-update-allocation-ips📝 Commits (10+)
0314875Initial plane2a75f2Add bulk update IP action for allocationsf0c4e7eFix exception import to match codebase style26080cdphpstan8a9c3a2add copilot to cla2ade1eacla attempt 2 +pint26d7d1aundo cla changes8aef425Merge branch 'main' into copilot/bulk-update-allocation-ips0c4d8e6Merge branch 'main' into copilot/bulk-update-allocation-ips8203b9eUpdates📊 Changes
3 files changed (+121 additions, -4 deletions)
View changed files
📝
app/Filament/Admin/Resources/Nodes/RelationManagers/AllocationsRelationManager.php(+6 -4)➕
app/Filament/Components/Actions/UpdateNodeAllocations.php(+106 -0)📝
lang/en/admin/node.php(+9 -0)📄 Description
When a node's IP address changes, administrators currently must update each allocation manually or modify the database directly.
Changes
New
BulkUpdateAllocationIpActioncomponent: Allows replacing old IP with new IP across selected allocations. Provides dropdown of IPs from selected records and node's available IPs, with validation that old ≠ new.Integration: Added to Nodes
AllocationsRelationManagerbulk actions with node IP addresses and authorization check.Translations: Added
admin/nodestrings for labels, help text, and notifications (success/failure counts).Usage
From Node allocations page:
Follows pattern from
UpdateEggBulkActionwith error handling and granular notifications.Original prompt
💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.