bug: Deploy modal hides resource preview (RAM/Disk/vCPUs) in all non-explorer modes #79
Labels
No labels
prio_critical
prio_low
type_bug
type_contact
type_issue
type_lead
type_question
type_story
type_task
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
lhumina_code/hero_compute#79
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?
Problem
When deploying a VM in any non-explorer mode (local, master, or worker), the deploy modal hides the resource preview card (RAM, Disk, vCPUs). The user has no idea how much resources their VM will get before clicking Deploy.
This affects:
http://worker-ip:9001All three cases have a local compute server with node data available via RPC.
Current Behavior
In non-explorer mode,
_deployNodeDatais never populated, soupdateDeployPreview()bails out.Expected Behavior
The resource preview should always be visible, in every mode:
Changing the slice count should update the preview in real time.
Fix
In non-explorer mode, fetch local node data via
ComputeService.node_statusandComputeService.list_slicesto populate_deployNodeData, then show the preview.Acceptance Criteria
bug: Deploy modal hides resource preview (RAM/Disk/vCPUs) in local and master modeto bug: Deploy modal hides resource preview (RAM/Disk/vCPUs) in all non-explorer modes