Closed mturley closed 2 years ago
Moving back to draft until issues are resolved:
Note to self: we need to factor in the phrasing changes from https://github.com/konveyor/mig-ui/pull/1370 to the changes here. (https://bugzilla.redhat.com/show_bug.cgi?id=2011508) Done
@mturley Could you please post screenshots to make things easier for the TW to document?
@apinnick I've added screenshots above for all changes in this PR and earlier PRs related to the storage class conversion feature.
Closes https://github.com/konveyor/mig-ui/issues/1362.
Implements all the remaining functionality issues and UX tweaks.
This PR also does a few other things:
migrateState
,stage
,quiescePods
androllback
properties on a Migration CR to use new helper functionsmigSpecToAction
andactionToMigSpec
that determine what action a migration is performing (or what spec properties should be on the migration for a given user action) based on this matrix:migrateState
stage
quiescePods
rollback
Screens
I'll include all screenshots related to the storage class conversion feature and progressive wizard to keep everything in one place, since this PR completes the feature changes.
Migration plans page
Table includes new Type column and filter from https://github.com/konveyor/mig-ui/pull/1366 which can be "Full", "State", or "Storage class conversion" and shows its overflow in a tooltip:
Actions dropdown always includes migration actions Stage, Cutover and Rollback for all plan types, disabled when not applicable:
Migration confirmation modals
Full migration / Stage action:
Full migration / Cutover action:
State migration / Stage action:
State migration / Cutover action:
Storage class conversion / Stage action:
Storage class conversion / Cutover action:
Full or state migration / Rollback action:
Storage class conversion / Rollback action:
Migrations page
Clicking through to the list of migrations on a plan, the dropdown there also includes those same consistent Stage, Cutover and Rollback actions. The Type column of the table will also now display Stage, Cutover or Rollback regardless of plan type.
Plan wizard
Steps vary by selected migration type:
General step (all migration types)
Full migration selected (state migration shows the same options):
Storage class conversion selected:
Namespaces step (full or state migration)
Namespaces step (storage class conversion)
PVs step (full migration)
PVs step (state migration)
PVs step (storage class conversion)
Copy options step (full migration)
Copy options step (state migration)
Migration options step (full migration)
No changes.
Hooks step (full migration)
No changes.