Gianluca Zuccarelli
4339420cb8
Wizard: add region selector for on-prem AWS
...
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.
2025-07-23 08:58:26 +00:00
Gianluca Zuccarelli
253317497e
CreateImageWizard: hide aws sources for on-prem
...
For now just allow manual entry of the aws account id, since we aren't
able to configure sources on-premise yet (if ever).
2025-07-23 08:58:26 +00:00
regexowl
25a5f140d8
ESLint: Add rule to sort imports alphabetically
...
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.
2025-07-15 16:52:45 +00:00
regexowl
a0fe3644c3
src: Remove more data-testids
...
As using `data-testid`s in tests is an anti-pattern, this removes more of them and replaces them with appropriate locators in the tests.
2025-07-15 16:51:29 +00:00
regexowl
855f1430ad
api: Update pull.sh, regenerate schemas and fix errors
...
This adds missing schema links to the `pull.sh` script, pulls new schema definitions, re-generates schemas and updates the code where needed.
2025-07-03 10:01:15 +00:00
regexowl
4bb826ee06
Wizard: Set helper text variant
2025-05-28 09:08:52 -05:00
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