-
Notifications
You must be signed in to change notification settings - Fork 43
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
🐛 Fix target card behavior and rendering (#2025)
Resolves: #2022 Resolves: #2010 Resolves: #1981 Resolves: #1252 Resolves: https://issues.redhat.com/browse/MTA-3094 Target card behavior and rendering on the target selection step of the analysis wizard and on the custom migrations target page have been updated: - All of the card contents render inside the card itself (#1981 / MTA-3094) - When changing the specific label selection for a target, the card selection will not changes (#2010) - The target label select now sorts the labels in numeric natural sort descending order. `OpenJDK 21` will be initially selected and appear above `OpenJDK 17` in the select list. (#2022) - Layouts used on the card have been refactored to use base layouts instead of the `EmptyState` component - The target label select box has been updated to the current `SimpleSelectBasic` component for current PF5 alignment - When card selection is enabled (on the target selection step of the analysis wizard), the selection checkbox is always displayed and the normal `Card` hover styles have been disabled. - The `CardHeader.selectableActions` have been aligned to current PF and the click handler moved to `onChange` instead of the `Card.onClick`. The `selectableActionId` needs to be unique on the page for the select handling to work properly. Some refactoring on the `SetTargets` component used by the analysis wizard have been made to simplify rendering code. --------- Signed-off-by: Scott J Dickerson <[email protected]>
- Loading branch information
Showing
3 changed files
with
164 additions
and
143 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
Oops, something went wrong.