mirror of
https://github.com/Corsinvest/cv4pve-admin.git
synced 2026-04-25 12:55:57 +03:00
[PR #219] refactor: extract GetResourceUsage extensions, GetFrom helper and ClusterDetailDialog #302
Labels
No labels
bug
bug
enhancement
feedback
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/cv4pve-admin#302
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
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?
Original Pull Request: https://github.com/Corsinvest/cv4pve-admin/pull/219
State: closed
Merged: Yes
Summary
ResourceUsage.Get/GetSnapshotsstatic methods intoClusterResourceExtensions.GetResourceUsage()andClusterClientExtensions.GetResourceUsage()extension methodsadminService.GetFrom(ClusterNames)helper to replace repeatedWhere()/Any()pattern across all widgetsGauge,GaugeStacked,Grid,NodesStatus,VmsLocked,Size(AutoSnap),Status(Updater),ResourcesEx,SummaryClusterDetailDialogcomponent from MapsRender.razorinline codeTest plan