Repository navigation
fix(panel): Active VM badge, activate action, guided delete (#732) - #733
Merged
Merged
Conversation
Show Active badge on VM list, rack, and detail views from vm.active. Add Set as active in row menu wired to POST /vms/:id/activate. When deleting the active slot, auto-activate a schedulable replacement when available; otherwise block delete with guidance. Co-authored-by: ted <kuhlmangarry24@gmail.com>
Contributor
Bugbot couldn't run - usage limit reachedBugbot is counted against Cursor usage for this user or team, and this run hit a usage or spend limit. A user or team admin can review and increase usage limits in the Cursor dashboard. (requestId: ad1cab96-9386-4da7-8b4d-d4d2fc601cc1) |
Co-authored-by: ted <kuhlmangarry24@gmail.com>
Contributor
Bugbot couldn't run - usage limit reachedBugbot is counted against Cursor usage for this user or team, and this run hit a usage or spend limit. A user or team admin can review and increase usage limits in the Cursor dashboard. (requestId: 8bc4dcd3-3ed9-4f27-bd87-6a9522998db8) |
Merged
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Fixes #732 by surfacing the existing
vm.active/active.jsonstate in the VM management UI and wiring delete flows to the existing activate API.vm.active === true.POST /api/panel/vms/:id/activate; ops tab button is disabled when already active.Out of scope (per issue)
active.jsonVerification
pnpm -C web test src/features/vm/active-vm.test.ts(4 tests)pnpm -C web exec tsc -b --noEmitOperator upgrade
Node +
web/distonly; nofetch:payload/ wrap-cli sync required for this change alone.Note
Low Risk
Frontend-only panel changes wiring to existing activate/delete APIs; delete safety is improved via client-side planning, not new server logic.
Reviewed by Cursor Bugbot for commit 7463a50. Configure here.