Sanne Raymaekers
4f647ef6ef
CreateImageWizardV2: search for groups in recommended repos
2024-06-21 10:12:39 +02:00
Sanne Raymaekers
648bd0c65b
CreateImageWizardV2: add package groups to the review step
2024-06-21 10:12:39 +02:00
Sanne Raymaekers
e37782ebf6
CreateImageWizardV2: add tests for package groups
2024-06-21 10:12:39 +02:00
Sanne Raymaekers
7759c122df
CreateImageWizardV2: include the package groups in the request
2024-06-21 10:12:39 +02:00
Sanne Raymaekers
3739b2b8f5
CreateImageWizardV2: package groups for custom repositories
2024-06-21 10:12:39 +02:00
Sanne Raymaekers
177e4b227c
CreateImageWizardV2: search package groups in distro repositories
...
By prepending an `@`, users can search for package groups. A single `@`
just lists all groups.
2024-06-21 10:12:39 +02:00
Sanne Raymaekers
69367ba1d9
V2Wizard: search when distro rpms get updated
2024-06-21 10:12:39 +02:00
regexowl
da1d76ad94
test: Add edit mode tests
...
This adds basic edit mode tests for the remaining steps.
2024-06-20 00:05:41 +02:00
Anna Vítová
d7726c30a6
fix(HMS-4310): Disable editing of Blueprint file
2024-06-19 16:04:41 +02:00
regexowl
c97665da52
V2Wizard: Hide package recommendations for CentOS
...
This hides the package recommendations expandable when CentOS is selected as a distribution.
2024-06-19 13:54:36 +02:00
regexowl
0ac68864f4
Wizard: Cleanup after removing V1
...
This removes files that are no longer needed and uninstalls DDF dependencies.
2024-06-19 11:19:33 +02:00
Ondrej Ezr
5fcc80d2db
Wizard: Drop the WizardV1
2024-06-19 09:10:22 +02:00
Amir
54d09d636e
feat(HMS-4200): remove blueprint endpoints /experimental
2024-06-18 17:29:50 +02:00
regexowl
3b699f99ce
test: Update tests to reflect name changes
...
The target acronyms on the Review step were replaced by full names of the targets. This reflects the change in the unit tests.
2024-06-18 09:19:45 +02:00
regexowl
388069ec11
V2Wizard: Move targets to a constant
...
This moves mapping between target short and full names to the const to make it reusable.
2024-06-18 09:19:45 +02:00
Jakub Rusz
be814dab6f
Packages: Add ouiaIds
...
Need some ouiaIds for this step to simplify testing.
2024-06-12 16:27:12 +02:00
regexowl
a2ad644fb9
test: Edit mode tests for repositories
...
This adds a new 'repositories' fixture to the blueprints as was done for 'oscap'.
Newly added unit tests check that repositories get parsed from and back to request correctly and that when removing previously used repositories an 'Are you sure?' modal pops up.
2024-06-12 16:05:30 +02:00
regexowl
3d9e26469e
test: Add test for CentOS 8 Stream alert
...
This adds a new test for CentOS 8 Stream alert and updates the fixtures accordingly.
2024-06-12 15:28:59 +02:00
regexowl
e0b435cd0a
ImagesTable: Add alert for CentOS Stream 8 blueprints
...
This adds an alert about CentOS Stream 8 being EOL.
2024-06-12 15:28:59 +02:00
Ondřej Budai
642cb10036
drop centos stream 8
...
CentOS Stream 8 is EOL, thus we should no longer offer it in the
service, because it can pose a security risk.
See https://blog.centos.org/2023/04/end-dates-are-coming-for-centos-stream-8-and-centos-linux-7/
2024-06-12 10:07:33 +02:00
regexowl
a23cc9321b
test: Update tests after adding SaveAndBuild modal
...
This updates tests with a `openAndDismissSaveAndBuildModal` function that handles closing the SaveAndBuild modal after clicking on Create blueprint for the first time.
2024-06-06 16:58:59 +02:00
regexowl
b8f45ff883
V2Wizard: Remove line breaks on Review step
...
When all the expandables are open by default the extra line breaks looked a bit weird so this removes them.
2024-06-06 16:58:59 +02:00
regexowl
39a6c93f6b
V2Wizard: Add modal for Save and build images
...
When the button "Create blueprint" is clicked for the first time, a modal about "Save and build" functionality is opened.
2024-06-06 16:58:59 +02:00
regexowl
5b260a5d26
V2Wizard: Make expandables open and add Revisit button
...
This makes all expandables be open by default and adds a Revisit button to each of the expandable headers.
2024-06-06 16:58:59 +02:00
regexowl
b7f7f0a073
V2Wizard: Add blueprint name and description to the Review step
2024-06-06 16:58:59 +02:00
regexowl
ca3baea7d6
LandingPage: Make buttons disabled on Immutable
...
This makes the "Create blueprint" button and the "Import" button disabled when the Immutable tab is selected.
2024-06-06 13:47:30 +02:00
regexowl
054dc42842
V2Wizard: Add descriptions to package recommendations
...
After the list of package recommendations is fetched, each of the packages gets queried as a searchTerm against the list of distribution repositories.
This fetched the summary of the package which can be used as a description.
2024-06-06 10:33:26 +03:00
regexowl
38d6224675
V2Wizard: Deduplicate RH repository definition
...
This moves the RH repository used in "Package repository" column to an exportable const.
2024-06-06 10:33:26 +03:00
regexowl
45a42ce549
src: Migrate remaining files to TypeScript
...
This migrates remaining JavaScript files to TypeScript and updates imports.
2024-06-06 08:38:41 +02:00
regexowl
67138ad99a
V2Wizard: Add tests for WSL/OpenSCAP behaviour
...
This adds two new tests:
- test that alert is rendered and OpenSCAP dropdown is disabled for WSL target only
- test that alert is rendered, but OpenSCAP dropdown is still enabled for target list that includes WSL
2024-06-05 17:04:14 +02:00
regexowl
dd87459b7a
V2Wizard: Disable OpenSCAP for WSL
...
This adds an alert about OpenSCAP being incompatible with WSL when a WSL target is selected.
In a case of only WSL being selected as a target the OpenSCAP dropdown gets disabled.
2024-06-05 17:04:14 +02:00
regexowl
f48bfd7c21
V2Wizard: Make useHas<target>TargetOnly hook re-usable
...
This refines `useHasIsoTargetOnly` hook into `useHasSpecificTargetOnly` hook which takes an image type as an argument and can be re-used for non-iso targets as well.
2024-06-05 17:04:14 +02:00
Sanne Raymaekers
a8112410b6
V2Wizard: add alert on snapshot step
...
Inform users that the snapshots only apply to RHEL content for now.
2024-06-05 14:55:35 +02:00
regexowl
160381908a
V2Wizard: Add "clear" to package search
...
This adds a "clear" button to the package search input. The button appears only when there is already a searchTerm in the input.
2024-06-05 13:56:47 +03:00
Ondrej Ezr
4ee6d10bcb
api: Add extra header to distinguish UI requests
2024-06-05 10:15:38 +03:00
regexowl
f0bcda7c07
test: Fix 'mockPackagesResults' not found
...
When switching to using content sources for distro packages an old fixture was left in the handlers. This fixes the issue.
2024-06-04 18:22:07 +03:00
regexowl
7e02a3adad
LandingPage/ImagesTable: Shrink headings
...
This bumps the "Blueprints" and "All images" headings from 2XL to XL as per mocks.
2024-06-04 18:02:19 +03:00
Andrew Dewar
5dc4ecb63f
HMS-4024: Update repositories step
2024-06-04 14:05:44 +02:00
Andrew Dewar
05080a3e84
V2Wizard: Fix pagination on Packages step (useMemo)
2024-05-29 10:22:16 +02:00
Michal Gold
0e71489a9f
add changes at schema to the main branch <HMS-4066>
2024-05-28 14:34:43 +03:00
Sanne Raymaekers
2a7321247a
src: add rhel-8.10
2024-05-27 16:21:54 +02:00
Florian Schüller
77fd8d6b45
Status.tsx: show as many different error types as possible (HMS-1442)
2024-05-27 11:11:17 +02:00
Amir
913a7d6406
WizardV2: fix google account typo
2024-05-27 09:42:13 +02:00
Ondrej Ezr
4182c00d4a
WizardV2: enable V2 by default on preview and ephemeral
2024-05-23 11:18:58 +02:00
regexowl
12fc6b9841
V2Wizard: Set pkg recommendations expandable to open by default
...
This makes the pkg recommendations expandable open by default and updates the tests accordingly.
2024-05-22 16:48:11 +02:00
Anna Vítová
3018d64df6
Blueprints: Add import Wizard (HMS-3690)
2024-05-22 16:08:06 +02:00
Sanne Raymaekers
0e74de53fa
test: only test against content sources
2024-05-22 10:11:51 +02:00
Sanne Raymaekers
9b03fa6882
V2Wizard: Use content-sources for distro package search
...
This will make it easier to search for distro groups, as those are only
available for searching in the content-sources api.
2024-05-22 10:11:51 +02:00
Michal Gold
8092717197
WizardV2: add 'some' word to image table toolbar title
2024-05-21 14:55:20 +02:00
regexowl
38fe6d567f
Blueprints: Fix snapshots + latest release
...
Previously created blueprints didn't take into account what the current latest RHEL release is and built the specific minor release that was included in the blueprint. This should fix the bug and also fix snapshots.
2024-05-21 13:55:54 +02:00