Playwright at times is making assertions before the osbuild-worker file is loaded.
This is causing some flakiness in the tests, adding a timeout before some of the
assertions should hopefully remove some of the flakiness.
Added event.preventDefault() in onKeyDown handler to stop default form
submission behavior when hitting Enter in the typeahead filter.
Also implemented auto-selection of single filtered results on Enter.
The api config supports pulling in the openapi schema's via a url, so there isn't a
need to pull this in manually and just run the code generation.
We also need to remove the `openshift-virt` target since this was removed from
image-builder-crc.
The on-prem backend needs the aws region in order to upload the ami
target to aws. In order to do this, we use some specific cockpit types
that contain the region field, meaning that requests to image-builder-crc
should be unchanged. This is essentialy the wiring commit to get this
functionality into the `/composes` endpoint for on-prem.
We need to be able to select the region for AWS targets in the frontend
image builder. This commit adds the field to the wizard, but doesn't
wire this up to the api call just yet.
The `import/order` rule isn't enough to sort import within a single import group alphabetically.
This adds `sort-imports` rule that handles the sorting within groups.
The page refreshed when pressing "Enter" while in the dropdown input. This fixes the behaviour.
If the dropdown's closed, "Enter" will open the options, if there's an input value that perfectly matches one of the activation keys, it gets selected.
The order of functions was also slightly cleaned up so they're all in one place after `useEffect`s.
This updates key dropdown's helper text to match recent mocks.
Also checked other criteria:
- the input is clearable
- current selection is marked with a check in the list of options
This moves the org ID into a copy-able field and updates the permanent info as per mocks.
The popover that previously included the org ID is removed from mocks.
Previous commit 852d24e5 added modelVersion to the API response and mentioned
adding it to analytics tracking, but only added the distribution field to
the analytics events. This commit completes the implementation by adding
modelVersion to both package recommendation analytics events:
- "Package Recommendations Shown" event now includes modelVersion
- "Recommended Package Added" event now includes modelVersion
This enables proper tracking of which recommendation models are being used
and their effectiveness.
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <noreply@anthropic.com>
This commit fixes an issue where if both isClickable and isSelectable
are passed to a card in Patternfly 6, the hand cursor no longer appears
on hover and it is not obvious the card is clickable.
Co-Author: Gianluca Zuccarelli <gzuccare@redhat.com>
This hides Kernel step for WSL targets only and adds an alert with info that the customization will not be added to the WSL images if more targets are selected.