Commit graph

897 commits

Author SHA1 Message Date
regexowl
16ab5b37c5 V2Wizard: Add recommended repo to the repo table on Review
This adds the recommended repository to the table of repositories on the Review step.
2024-04-12 12:45:36 +02:00
regexowl
b7f6393be9 V2Wizard: Allow enabling repos and update state logic
This commit contains two changes:
1. When a package from popular repository gets added, the EPEL repository gets enabled in content services in case it wasn't before.
2. The logic of rendering states for the different toggle combinations on Packages step got updated.
2024-04-12 12:45:36 +02:00
Anna Vítová
669e3c07e3 feat(HMS-3687): Add blueprints exporting 2024-04-12 11:19:26 +02:00
Anna Vítová
bc82ba0ab1 feat(HMS-3906): Add feature flag for import/export 2024-04-11 13:19:43 +02:00
regexowl
3b843a0d40 V2Wizard: Replace "Adding recommended repo" alert with modal
This replaces the previously used Alert displayed when adding a package from repo recommendations with a modal as per mocks.
2024-04-11 13:00:17 +02:00
regexowl
a3e98b3894 V2Wizard: Update rendering packages info on edit
This fixes information rendered when a package info is read from the request on Edit.
2024-04-11 11:41:46 +02:00
regexowl
43cb43dac8 V2Wizard: Add tally to the "Selected" toggle
This adds a tally of selected packages to the "Selected" toggle.
2024-04-11 11:41:46 +02:00
regexowl
f375fc5c41 V2Wizard: Update links
There were incorrect links used for the content service, this fixes them.
2024-04-11 11:41:46 +02:00
regexowl
923c4fc2d5 V2Wizard: Add "Searching" state for packages
This adds "Searching" state for packages table when the data is being fetched.
2024-04-11 11:41:46 +02:00
Gianluca Zuccarelli
26066f95f7 V1Wizard: promote oscap to prod stable 2024-04-10 16:16:22 +02:00
Gianluca Zuccarelli
c44f8ea0ac V1Wizard/openscap: disable broken profiles
Currently the two stig profiles build but don't boot. While we wait for a
fix upstream, we should disable the profiles.
2024-04-10 16:16:22 +02:00
regexowl
972190ecaf V2Wizard: Update create/edit button copy
This updates copy on the Save changes button as per recent mocks.
2024-04-10 13:44:22 +03:00
Michal Gold
4ba9235b1b V2Wizrd: remove Duplicate mount points warning 2024-04-10 08:30:13 +02:00
Amir
442d88a4ce fix(HMS-3850): V2Wizard:use menu toggle for save and build 2024-04-09 14:56:34 +02:00
Ondrej Ezr
54d032e0f0 WizardV2: filesystem mountpoint size validation 2024-04-09 13:40:35 +02:00
Ondrej Ezr
561e82827e WizardV2: filesystem units and size 2024-04-09 13:40:35 +02:00
Ondrej Ezr
3c3ca3537a WizardV2: Filesystem partitioning suffix 2024-04-09 13:40:35 +02:00
Michal Gold
9cddbdfa38 V2Wizard: Add ouiaIds to File System step
this commit adds ouiaIds to the file system for automation and manual configurations and for text input field.
2024-04-09 12:56:38 +02:00
Amir
e5bfc19194 WizardV2: Add draggable mount point 2024-04-09 12:48:17 +02:00
Jakub Rusz
0a62e0d286 V2Wizard: Fix plural sources
We're actually selecting a singular source to share the image with. It's
the same in V1 wizard.
2024-04-09 12:10:46 +02:00
Amir
ba3a2dc333 WizardV2: map oscap to wizard request 2024-04-08 13:59:41 +02:00
regexowl
94525815a0 V2Wizard: Fix VMware capitalisation
This replaces VMWare -> VMware as per mocks.
2024-04-05 16:22:27 +02:00
Anna Vítová
e301271ac1 feat(HMS-3688): Add blueprints import dialog 2024-04-05 14:23:46 +02:00
regexowl
5ae3da9b6c Blueprints: Rename Clear selection button and center it
This renames the Clear selection button in the blueprints side bar and aligns it to the center.
2024-04-04 21:03:07 +03:00
regexowl
1a784f4ded Blueprints: No Build Image button without a blueprint
This hides the Build Image button and blueprint actions kabob when no blueprint is selected as per recent mocks.
2024-04-04 15:52:17 +02:00
regexowl
db64729628 Blueprints: Update button in header
This updates the Create blueprint and Import buttons based on recent mocks.
2024-04-04 15:44:29 +02:00
regexowl
00ba723195 V2Wizard: Add recommended repositories to the Review step
This adds recommended repositories to the Review step.
2024-04-04 14:01:42 +02:00
regexowl
ee2498a43b V2Wizard: Concatenate recommended repos with payload and custom ones
This adds recommended repos to payload and custom ones, including the needed conversion.
2024-04-04 14:01:42 +02:00
regexowl
bfd7420925 V2Wizard: Add repository recommendations
This PR is a part of Proactive Assistance - Repository recommendations.

New toggle group was added which allows user to see results from non-added repositories in a case that searched term didn't return any results from added custom and distribution repos.
2024-04-04 14:01:42 +02:00
regexowl
39cb4336b4 V2Wizard: Make convert repository functions exportable
This make `convertSchemaToIBCustomRepo` and `convertSchemaToIBPayloadRepo` functions exportable.
2024-04-04 14:01:42 +02:00
regexowl
91873dc810 V2Wizard: Initialize packages with OpenSCAP
This initializes packages upon a selection of an OpenSCAP profile.

Current logic also fixes a bug previously present in V1 - when changing an OpenSCAP profile with other previously chosen packages, the packages outside of the profile persist and don't get removed.
2024-04-04 12:34:57 +02:00
regexowl
d219a233d9 V2Wizard: Update removePackage reducer
This updates the `removePackage` reducer so it takes only a name of a package as an argument instead of the entire package object.
2024-04-04 12:34:57 +02:00
Amir
1dd909adb9 fixes(HMS-3853): fix blueprint clear selection 2024-04-04 12:24:13 +02:00
regexowl
0fc1b54833 Blueprints: Update Delete blueprint modal copy
This updates the copy on `Delete blueprint` modal as per recent SPUR.
2024-04-04 12:17:59 +02:00
Amir
e1a7725af4 fix(HMS-3851): remove 'recreate image' from kebab dropdown 2024-04-04 12:13:13 +02:00
regexowl
f71175f69b V2Wizard: Add full bottom pagination to Repositories and Packages
This adds full pagination to the bottom of Repositories and Packages steps which will allow the user to get to the very end of the tables in a case of many results.
2024-04-04 11:35:07 +02:00
regexowl
a1372adb94 V2Wizard: Update copy based on SPUR
This updates the copy of the Wizard steps based on the recent SPUR.
2024-04-04 11:26:26 +02:00
Amir
a46732d560 WizardV2: add 'register-later' to state mapper 2024-04-04 10:09:54 +02:00
regexowl
155962c141 ESLint: Resolve useSelector-prefer-selectors errors
This resolves all occurences of useSelector-prefer-selectors errors.
2024-04-02 20:21:34 +02:00
Michal Gold
698d21df42 V2Wizrad: fix validation at file system step (HMS-3733)
this commit fix validation when usr choose duplicate mount point
andwhen there is no root partition
2024-04-02 15:25:37 +02:00
regexowl
18e0dc0cd7 V1Wizard: Add full bottom pagination to Repositories
This adds a full pagination to the bottom of the Repositories step. This allows the user to get to the very end of the repositories list easily.
2024-04-02 11:50:39 +02:00
lucasgarfield
d97a401a53 V2Wizard: Center messages in packages table (HMS-2781)
The copy in the packages table (too many results to show, etc...) was
not centered because the table actually has 5 columns, not 4. This fixes
the problem.
2024-04-02 11:29:57 +02:00
regexowl
d2c56391f9 V2Wizard: Update "Too many results" copy
This updates copy shown in a table when too many results are fetched. Also a period was added to the end of the empty state bodies.
2024-04-02 10:59:41 +02:00
Anna Vítová
e886da4a66 fixes(#1773): Empty state columns 2024-04-02 10:17:55 +02:00
Anna Vítová
939047dfef fixes(#1767): Change 'Create' button to 'Create blueprint' 2024-04-02 10:17:55 +02:00
Anna Vítová
eafd67ee08 fixes(#1841): Alignment of title and description in card 2024-04-02 10:17:55 +02:00
regexowl
4a74813c2b Blueprints: Add test ids
This updates the data-testid of Create button in the header (`Link` component, not OUIA-compliant) and adds a data-testid to the blueprint search input (`SearchInput` component, also not OUIA-compliant).

A testId was also added to the blueprint actions dropdown (`MenuToggle`).
2024-03-28 12:14:44 +01:00
regexowl
835920a555 V2Wizard: Add test IDs to Packages step
This adds data-testid to the Packages search input and to the Available and Selected toggles.
2024-03-28 09:35:16 +01:00
regexowl
a213bcb014 Wizard: Resolve deprecation warning in test output
This resolves the following warning: `Deprecation warning: value provided is not in a recognized RFC2822 or ISO format.` in test output.
2024-03-26 16:32:27 +01:00
Michal Gold
bbf077b98f V2Wizard: fix partition at review step
this commit fix the partition table at review step when user choose manual partition
2024-03-25 15:02:02 +01:00