Skip to content
This repository has been archived by the owner on Jan 12, 2023. It is now read-only.

Bug 2012795: feat(edit): allow editing for plans where no individual VM migration succeeded #810

Closed
wants to merge 1 commit into from

Conversation

seanforyou23
Copy link
Contributor

This PR updates the logic around the PlansTable and PlanActionsDropdown to allow for editing a plan assuming none of the VMs have been migrated yet. We anticipate there may be some changes needed elsewhere in the UI, so I'm posting this as a draft first to work out any kinks.

@github-actions
Copy link

Valid bug 2012795

@sonarcloud
Copy link

sonarcloud bot commented Oct 19, 2021

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 2 Code Smells

No Coverage information No Coverage information
0.0% 0.0% Duplication

@konveyor-preview-bot
Copy link

🚀 Deployed Preview: http://konveyor-forklift-ui-pr-810-preview.surge.sh

Compare with current main branch: http://konveyor-forklift-ui-preview.surge.sh

@mturley
Copy link
Collaborator

mturley commented Dec 13, 2021

The complexity of this one that we still need to address is making sure all our status displays / lists of VMs in a plan still behave properly when the VM list in a plan spec has been edited and no longer matches the VM list in that plan's status (from the last migration). If that turns out to be a pain for us we could ask the backend guys if it's ok to require deleting existing migration CRs when editing a plan, if that would even help.

I may be anxious over nothing and it might be easy to manage. I think we use the status list as the source of truth for the VMs that exist in the migration details page, and we just need to use the spec instead and find the matching VMs from status when rendering? maybe?

@sonarcloud
Copy link

sonarcloud bot commented Dec 16, 2021

SonarCloud Quality Gate failed.    Quality Gate failed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 2 Code Smells

No Coverage information No Coverage information
12.3% 12.3% Duplication

@seanforyou23
Copy link
Contributor Author

Closing this for now, can revive the effort later if need be.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants