-
Sub-task
-
Resolution: Done
-
Normal
-
None
-
None
-
2
-
False
-
-
False
-
-
Tracks: https://github.com/konveyor/tackle2-ui/issues/2290
Summary
For an archetype, add the capability to create and manage a set of target profiles. An archetype may contain zero or more target profiles. Each target profile contains an ordered list of generators. The archetype + target profile are the basis of the asset generation workflow.
Enabling Work
HUB enablement issues:
UI enablement issues:
Changes for Archetypes
Page
- Changes will be localized to the existing archetype table, detail drawer, and create/edit modal.
Archetype table:
- Columns
- Count of target profiles
Toolbar actions- Record kebab actions
- ❓ Add the target profiles to the standard edit modal OR have a new modal?
Selected archetype detail drawer changes:
- New tab "Target Profiles" for a view of the target profiles that exist for the archetype
Archetype add/edit modal changes:
- Manage the set of target profiles
- The target profiles are unique to the archetype they're created under
- The archetype modal needs to be able to manage a set of target profile records
New work for Target Profiles
Target profile view (table view or card view to be accessed from an archetype):
- Columns:
- Name
- Icon
- Description
- Count of generators
- Toolbar actions:
- Create
- Record/Card kebab actions:
- Edit
- Delete
- Duplicate
Target profile selected item detail drawer:
- Base information
- Ordered list of generations
Target profile add/edit modal:
- Name input
- Description input
- Icon upload
- Sections for the ordered list of generators (using a draggable or draggable with multiple drop zones design)
Actions
- No new archetype level actions.
- No target profile level actions.
- Workflow - Generate assets for an application + archetype + target profile #2294 will use archetypes and target profile, but the action is triggered elsewhere.
UI Workflow and Wireframes
Need:
- Archetype edit view with asset plans section / tab
- Target profile table or card view
- Target profile details drawer when a row or card is selected to show the generator list (or could use a display more like the patternfly primary-detail pattern demo)