[MTV-1769] Add Project field to migration plan/provider wizards #1409
+742
−106
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.
https://issues.redhat.com/browse/MTV-1769
Summary
Updated the Provider & Plan create wizards to include a "Project" name typeahead select, where in the create plan wizard the options for this typeahead select are limited by the namespaces of the possible providers to choose from, and the create provider wizard simply gets all namespaces.
On submission of both wizards, the global (active) namespace is toggled to the selected "Project" namespace from the form (which could differ from the global/active namespace that was originally chosen upon entry of either wizard).
Further details of the logic implemented for the few fields re-arranged/in-play here are described in the acceptance criteria of this design story:
https://issues.redhat.com/browse/HPUX-259
Added a new TypeaheadSelect component that uses PFv5 components to the common internal library.
Create plan wizard
Create provider wizard