regexowl
4802d08214
Wizard: Firewall ports input
...
This adds chipping input for ports on the Firewall step.
2025-01-16 11:23:56 -06:00
Michal Gold
568b8c83cf
wizard: add ssh_key to review step
...
this commit add ssh_key to review step under Users
2025-01-15 10:42:43 +01:00
regexowl
3167effa1b
Wizard: Add unleash flag and update tests
...
This gates the step behind an unleash flag and updates the existing tests so they pass with the new step added.
2025-01-14 14:11:22 -06:00
Lucas Garfield
e6bc0d429a
Wizard: Firewall customization scaffolding
2025-01-14 14:11:22 -06:00
regexowl
5696d1805f
Wizard: Do not show warning icon if warning === ''
...
Fixes #2743
This hides the warning under FSC min size if the body of warning is empty.
2025-01-14 15:46:30 +01:00
Michal Gold
b3a8597b66
Revert "wizard: add confirm password to users step (HMS-4903)"
...
This reverts commit ba70753a80 .
2025-01-08 12:47:05 -06:00
Michal Gold
ba70753a80
wizard: add confirm password to users step (HMS-4903)
...
this commit add confirm password to users step
2025-01-08 11:10:29 +01:00
Bryttanie House
29736d8d0c
Wizard: switch snapshot date in wizard to RFC3339
2025-01-07 14:37:34 +01:00
Anna Vítová
e805c65f81
src: add custom repositories import feature
...
This allows sharing blueprints cross organizations even with custom
repositories.
2025-01-07 12:11:25 +01:00
regexowl
d77ac55482
Wizard: Skip directly to Review
...
When clicking "Review and finish" the user skips directly to the Review step and the name of the blueprint gets automatically populated.
2025-01-06 18:22:50 -06:00
regexowl
4af4b56332
this commit adds ssh_key to users step
2025-01-06 13:05:41 +01:00
Michal Gold
6a5871bf14
wizard: add users to review step (HMS-4906)
2025-01-06 12:28:20 +01:00
regexowl
5e4f20edf1
src: Make spinners spin
...
This replaces the `<InProgressIcon>` with animated spinners to indicate that something is happening.
2025-01-06 10:17:49 +01:00
regexowl
5f9f30d97b
Wizard: Fix "form in form" warning
...
This resolves `Warning: validateDOMNesting(...): <form> cannot appear as a descendant of <form>.` warning in test output. There were two `<Form>` components nested in each other.
2025-01-02 13:18:00 +01:00
Michal Gold
d0f2317649
wizard: add user information step (HMS-4903)
...
This commit introduces the user information step with the following fields:
(*) `userName` field
(*) `password` field
(*) add unit tests for create and edit mode
2024-12-20 12:35:15 -06:00
regexowl
cf4289f692
Wizard: Move two files
...
This moves two files:
- timezonesList to the Timezone step, same as lists used for Locale
- ImportBlueprintModal.test.tsx to the test folder so all the test files are in one place
2024-12-17 17:01:34 -06:00
regexowl
ae795c3b6a
Wizard: Extract ChippingInput to reusable component
...
This extracts input with chips from the NTP servers into a separate reusable ChippingInput component.
2024-12-16 12:12:56 -06:00
regexowl
8e046e3018
Wizard: Kernel step basics
...
This adds foundation for Kernel step, including gating and basic tests.
2024-12-16 10:53:06 +01:00
regexowl
9b6934438a
validators: Allow only lowercase characters for hostname
...
Validation error mentions only lowercase characters, this updates the regex accordingly.
2024-12-12 14:53:22 +02:00
regexowl
3bd4dc89c4
test: Add test to check hostname length
...
This adds a test to check the length of the hostname.
2024-12-12 14:53:22 +02:00
regexowl
dc24ba24e4
Wizard: Add Hostname expandable to Review step
...
This adds a new expandable to the Review step.
2024-12-12 13:47:09 +02:00
Lucas Garfield
b4932d6a44
Wizard: Hostname validation
...
Hostname validation rules can be found in the hostname man pages (`man 5
hostname`). This commit tweaks the hostname validator function so it is
in line with these guidelines by limiting the length to 64 characters
and also updates the error message for invalid hostnames to provide
users with some additional guidance/context when an invalid hostname is
provided.
2024-12-11 12:59:41 -06:00
regexowl
5a514d1d04
Wizard: Add Hostname functionality
...
This adds a validated hostname input and new tests.
2024-12-11 12:59:41 -06:00
regexowl
8c108fe2ec
Wizard: Basic Hostname step
...
This adds Hostname step basics and file structure.
2024-12-10 12:37:36 -06:00
regexowl
8d84b5eef2
Wizard: Add Locale to Review step
...
This adds Locale expandable to the Review step.
2024-12-10 04:15:37 -06:00
regexowl
c9efe9e22d
Wizard: Use reusable sort function
...
This replaces sortfn with a reusable sorting function from utilities.
2024-12-09 14:30:26 -06:00
regexowl
ad02609038
Wizard: Add Languages drop down
...
This adds a drop down for languages selection. The options are populated with an ouput of `localectl list-locales` and sorted to display results starting with the search term first.
Also added tests.
2024-12-09 14:30:26 -06:00
regexowl
9324a33a74
Wizard: Add validation for NTP servers
...
This adds a validation pattern and a validation for NTP servers field.
2024-12-09 13:44:10 -06:00
Lucas Garfield
3d75b5b5ee
Utilities: Extract sorting function
...
Extracts the function used to sort packages as a utility function so it
can be reused for sorting locales as well.
2024-12-06 16:58:06 -06:00
regexowl
97877114f6
Wizard: Add Keyboard drop down
...
This adds a drop down for keyboard selection. The options are populated with an output of `localectl list-keymaps`.
2024-12-06 16:58:06 -06:00
regexowl
60175aa911
Wizard: Remove category and fix Review alignment
...
This removes the chip category and adds a version slug to make the alignment on Review step work properly.
2024-12-06 13:53:56 -06:00
regexowl
1483ff9e9e
Wizard: Replace the list of timezones
...
This replaces the list of timezones created via `Intl.supportedValuesOf('timeZone')` by tzdata-2024b list.
2024-12-06 13:53:56 -06:00
regexowl
39f618c3d8
Wizard: Update the way of adding NTP servers
...
This updates the way NTP servers can be added:
- helper text was removed
- add button (PlusCircle) was added to the input group utilities
- remove input button is now rendered always, but gets disabled when there's no input
- chip group was moved under the input
Also I've noticed that the "clear input" button completely cleared the list of NTP servers which would make me very angry as a user. Fixed it, so now the clear input button only clears the input field and the `clearNtpServers` action was removed as we don't use it anywhere else.
2024-12-06 13:53:56 -06:00
regexowl
c851d4abac
Wizard: Add Timezone step to Review lists
...
This adds a Timezone overview to the Review step.
2024-12-06 13:53:56 -06:00
regexowl
6427dc5285
Wizard: Add Timezone dropdown and NTP servers input
...
This adds a Timezone select, the select is typeahead and allows to filter through all defaultTimezones. It's also scrollable so it doesn't take up all of the space.
The NTP servers are currently in a text input, the server is added by confirming with a space, comma or an Enter, making the server a chip and adding it to the array of NTP servers.
2024-12-06 13:53:56 -06:00
regexowl
ab446c2a36
Wizard: Add timezone structure to store and mapper
...
This creates structure and actions for the timezone customization in the wizardSlice and requestMapper.
2024-12-06 13:53:56 -06:00
Gianluca Zuccarelli
0d4bb26e0f
multiple: check when var is possibly undefined
...
In cases where a field on an object might be undefined,
rather omit the value than set the field to undefined.
2024-12-06 12:02:34 -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
Gianluca Zuccarelli
4125a9cd3b
multiple: set pagination defaults
...
Set pagination defaults, otherwise these might be `undefined`.
2024-12-06 12:02:34 -06:00
Gianluca Zuccarelli
bad77421ae
api: union undefined
...
Set the option to generate union undefined types for objects that have
optional items. This will allow us to enable `exactOptionalPropertyTypes`
in our tsconfig [1].
[1] This is a recommended setting, see:
https://www.typescriptlang.org/tsconfig/#exactOptionalPropertyTypes
2024-12-06 12:02:34 -06:00
regexowl
e4e83d4417
Wizard: Add locale structure to store and mapper
...
This creates structure and actions for the locale customization in the wizardSlice and requestMapper.
2024-12-05 11:06:11 -06:00
regexowl
6e97304327
Wizard: Basic Locale step
...
This adds Locale step basics and file structure.
2024-12-04 12:45:35 -06:00
regexowl
b16243f68a
Wizard: Conditionally hide package recommendations
...
This shows package recommendations only when RHEL 8 or RHEL 9 are selected as a distribution.
2024-12-04 10:51:39 -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
Simon Steinbeiss
c4a06e2ac9
CreateImageWizard: Add RHEL10beta search parameter
...
This means we can easily link to the wizard and pre-select RHEL 10 Beta
which will be nice for the release announcement blog post.
2024-11-29 14:22:37 +01:00
Sanne Raymaekers
ee19ba1546
Wizard: rely on feature flag constraints for openscap step title
...
Feature flags can be constrained to preview / stable.
2024-11-27 13:49:30 +01:00
Anna Vítová
b2401afe27
src: add flag to measure on prem import
...
The flag can be used later to track the usage of on prem import feature.
2024-11-26 13:03:55 +01:00
regexowl
d8bb3485d8
Wizard: Add v5 PF slug to classNames
...
This adds v5 PF slug to classNames throughout the code base, making the formatting work properly.
2024-11-25 16:54:59 +01:00
Anna Vítová
c75dc5da21
Wizard: add warning for the min size in bytes
2024-11-21 15:29:42 +01:00