Commit graph

18 commits

Author SHA1 Message Date
regexowl
91577343df src: Update <Content> tag components 2025-05-28 09:08:52 -05:00
regexowl
1fc1f0cb8d src: Run codemods and lint
Run `npx @patternfly/pf-codemods@latest src --v6 --fix` and lint autofix to get the bulk of the changes in.
2025-05-28 09:08:52 -05:00
regexowl
24fdc1147f Wizard: Update AWS sources filtering
Same issue as in #3220. The list of sources did refetch, but did not re-render.
2025-05-14 10:08:38 +02:00
regexowl
aedbbdc53a src: Remove unused data-testids
This removes unused `data-testid`s from the code base.
2025-05-09 10:14:54 +02:00
regexowl
e6b030ea4c src: Remove ouia-ids
Since we're moving away from IQE the `ouia-id` atributes should be no longer needed. This removes them from the entire code base.
2025-04-25 11:32:43 +02:00
Ondřej Budai
a50b6bdfae Wizard: fix a rerender loop in AzureResourceGroups
resourceGroup is used in useEffect, so if assigned a new array to it
every time this function is called, it would cause the useEffect to run
every time, leading to an infinite loop. This is because useEffect uses
Object.is to determine if the value has changed, and [] creates a new
array every time. Thus, we use a constant empty array to avoid this
issue.

Alternatively JSON.stringify(resourceGroup), or a deep comparison could
be used as a useEffect dependency, but that feels like just a waste
of resources.
2025-04-15 12:16:07 +02:00
regexowl
25368675bc Wizard: Make Select responsive 2025-04-01 11:07:38 +02:00
regexowl
b767c3bfde Wizard: Replace deprecated select in AwsSourcesSelect
This replaces a deprecated select in `AwsSourcesSelect` for a non-deprecated one.
2025-04-01 11:07:38 +02:00
regexowl
b2255de04e Wizard: Make Selects responsive 2025-03-31 14:22:31 -05:00
regexowl
52398547f8 Wizard: Move ouiaId from Select component to MenuToggle
This moves the `ouiaId` since it didn't get correctly assigned while in `Select`. It's readable under the `MenuToggle`.
2025-03-31 14:22:31 -05:00
regexowl
53625ed190 Wizard: Remove deprecated select for HyperV Generation
This swaps deprecated HyperV Generation select for a non deprecated one.
2025-03-31 14:22:31 -05:00
regexowl
2a3c9b8b7d Wizard: Make Selects responsive 2025-03-19 11:39:23 +01:00
regexowl
fe3257c0d9 Wizard: Replace deprecated selects on Azure step
This replaces deprecated selects on the Azure step for non-deprecated ones.
2025-03-19 11:39:23 +01:00
Michal Gold
771a582916 wizard: add support of TextArea for ssh_key field
this commit add support of TextArea for ssh_key field
2025-01-25 17:07:53 -06:00
Gianluca Zuccarelli
d4436dc6a9 multiple: set sane defaults
Set sane defaults for some types rather than setting them to `undefined`.
This is so that we can set `exactOptionalPropertyTypes` to true in our
tsconfig.
2024-12-06 12:02:34 -06:00
Sanne Raymaekers
c1378a7913 Wizard: Integrate HyperV selection in Azure target options
This determines the generation the image will get registered as in
Azure. V2 supports UEFI and more instance types than V1.
2024-12-04 12:37:23 +01:00
Sanne Raymaekers
b4e7fe8923 Wizard: Add component to select Azure HyperV generation 2024-12-04 12:37:23 +01:00
regexowl
4fb37c187e src: Rename "V2" folders to just Wizard
This replaces all occurences of "CreateImageWizardV2" with just "CreateImageWizard" as it is the only version now.
2024-07-17 11:17:06 +02:00