Resolves #604. The available and chosen package search inputs now have a reset button which resets the search and list elements to their default states. This fixes a cosmetic issue related to the focus-visible width being smaller than the search input width. This is accomplished by passing an onClear prop to the search input. The functions used to add all and selected packages were split from two functions into four functions. The functions appear similiar but this is only superficial; the logic is actually quite different and there is very little code reuse. Four separate functions will be easier to understand and maintain. This commit includes several other modifications: 1. The chosen package search is now a typeahead filter. This brings it in line with PatternFly dual list selector examples. 2. The available package search button has changed to be in line with the PatternFly <SearchInput /> component examples. 3. Package sorting behavior is now consistent. Previously, packages would be sorted if 'add all' was used but not if 'add selected' was used. Now the default behavior is to always sort the package list. |
||
|---|---|---|
| .. | ||
| CreateImageWizard | ||
| ImagesTable | ||
| LandingPage | ||