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
877497f81c
pagination
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
Ondřej Ezr
f270139ec1
ImagesTable: add RHEL 9.5 display value
2024-11-28 09:01:08 +01:00
regexowl
f48e1bfcb5
ImagesTable: Unify pagination format with Repositories
...
This makes bottom pagination format on ImagesTable consistent with the format being used in Repositories service.
2024-11-25 19:04:54 +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
regexowl
4f728874f7
ImagesTable: Fix image name spacing
...
This adds a component value to the image name, making the spacing work correctly.
2024-11-25 16:32:10 +01:00
Simon Steinbeiss
6208596b35
ImageBuildStatus.css: Add version to status colors
...
Add the v5 slug to the status colors as the unversioned colors don't
seem to be defined in PatternFly anymore. I haven't looked at the
history, but I presume this was done at some point during v6
development, as the upstream colors now contain the v6 slug:
https://www.patternfly.org/components/banner/design-guidelines/#usage
Fixes #2611
2024-11-25 13:22:46 +01:00
Sanne Raymaekers
73dad35e45
src/ImagesTable: support RHEL 10 Beta
2024-11-19 11:21:57 +01:00
Gianluca Zuccarelli
41cdc7d553
ImageTable: use dynamic get blueprints hook
...
Export a dynamic query hook depending on which backend is
being used (service or on-prem). This means we can just import
a query from the new `backendApi` and it will work for both
on-prem and the service.
2024-10-30 10:36:18 -05:00
Sanne Raymaekers
cd70d1ff95
Wizard: add RHEL 9 beta
...
Only exposed in preview.
2024-10-17 10:22:30 +02:00
regexowl
5d73adfbd6
src: Absolute imports
...
While running build there was a bunch of PatternFly imports that were resolved as undefined. This adds an absolute path for each of those imports.
2024-08-09 09:22:17 +02:00
Ondrej Ezr
e1057208f3
Blueprint: show basic version diff
2024-08-05 18:48:08 +02:00
regexowl
9a1d348a77
src: Resolve problems ater updating API
...
'centos-8' was dropped from Distributions, causing a few problems. This resolves them.
2024-08-02 11:31:20 +02:00
regexowl
fee43d8917
ImagesTable: Update wording of CentOS 8 alert
...
This adds information about CentOS 8 being automatically replaces with CentOS 9 when editing a blueprint.
2024-07-30 16:16:43 +02:00
Michal Gold
1b35aa88da
imageTable: link images to parent blueprint <HMS-4353>
...
this commit add link to parent blueprint from specific image
2024-07-25 09:35:05 +02:00
Michal Gold
7138552663
add unit test that check disabling build image button when uncheck all targets
2024-06-25 10:21:03 +02:00
Michal Gold
39b29e303c
buildImageButton: add support of building image with mulitple targets <HMS-4066>
...
this commit add support of building an image with mulitple targets,
when user build an image, he can choose which targets he wants to build.
2024-06-25 10:21:03 +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
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
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
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
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
Michal Gold
8092717197
WizardV2: add 'some' word to image table toolbar title
2024-05-21 14:55:20 +02:00
regexowl
8a25ec66f3
src: Fix "Table headers must have an accessible name" warning
...
The tests output contained following warning:
```
console.warn
Th: Table headers must have an accessible name. If the Th is intended to be visually empty, pass in screenReaderText. If the Th contains only non-text, interactive content such as a checkbox or expand toggle, pass in an aria-label.
```
This fixes the warning by adding an `aria-label` to every empty table heading cell.
2024-05-07 18:20:08 +02:00
regexowl
a6ff016662
LandingPage / ImagesTable: Set max width for the ImagesTable
...
Fixes #933
This applies `isWidthLimited` to the section containing ImagesTable, ensuring the table doesn't get stretched out too much.
The were also two sets of empty tags around ImagesTable return, this removes one of them.
2024-05-07 16:40:56 +02:00
regexowl
034843a708
src: Add rhel-94
...
This adds rhel94.
2024-05-02 16:44:33 +02:00
Florian Schüller
c1d6053083
ImagesTable: show detailed time when hovering over the "Updated" column
2024-04-30 10:55:06 +02:00
regexowl
e9d28498e1
constants: Move URLs to constants
...
Fixes #1923
This moves all URLs from code to constants.
2024-04-26 15:54:46 +02:00
regexowl
7d92d8ef71
ImagesTable: Update empty state for blueprint without images
...
This updates empty state for blueprints without images as per recent mocks.
2024-04-26 09:30:00 +02:00
regexowl
35b14b8de7
ImagesTable: Update empty state for Blueprints
...
This adds an empty state for blueprint table when there are no blueprints created.
Changes are gated behind experimental flag and preview so that the original ImagesTable isn't affected.
2024-04-26 09:20:04 +02:00
regexowl
6de7645be5
API: Update imageBuilder API schema
...
This updates the imageBuilder API schema.
2024-04-25 11:22:08 +02:00
Ondrej Ezr
fb48d59399
ImagesTable: old images alert position
2024-04-23 18:30:28 +02:00
regexowl
4189e9f31d
V2Wizard: Remove "Recreate" option for expired images
...
This replaces the "Recreate" option for expired imaged with a disabled download link.
The change is gated behind experimental mode so V1 imagesTable composes are not affected.
2024-04-23 13:39:50 +02:00
regexowl
305d4d9768
ImagesTable: Update column headers
...
This updates the name of column headers as per recent mocks.
2024-04-18 17:54:37 +02:00
Ondrej Ezr
04131c4823
Blueprints: selected Blueprint Empty state action
...
Add action in the Images Table empty state when Blueprint is selected.
Change the icon to plus as it better underlines the action needed to remedy.
2024-04-17 16:03:05 +02:00
regexowl
7115b43c3d
Blueprints: Surface "Edit blueprint" button
...
This surfaces "Edit blueprint" button to the ImageTableToolbar and removes it from the blueprints actions menu as per recent mocks.
2024-04-16 18:31:05 +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
Amir
e1a7725af4
fix(HMS-3851): remove 'recreate image' from kebab dropdown
2024-04-04 12:13:13 +02:00
Anna Vítová
e886da4a66
fixes( #1773 ): Empty state columns
2024-04-02 10:17:55 +02:00
Ondrej Ezr
aa0a3f107c
Images: add popover when the image is outdated
...
Add Popover to inform user the image is build for an older then current Blueprint version.
Fixes HMS-3763
2024-03-21 12:14:37 +01:00
Anna Vítová
2d8b2b2796
fixes(HMS-3778): Show image name only after it is loaded
2024-03-19 14:59:44 +01:00
Anna Vítová
a3a7ea88c5
feat(HMS-3401): Add blueprints sidebar pagination
2024-03-18 10:06:05 +01:00
Ondrej Ezr
9b5f3631d1
Blueprints: filter composes by blueprint version
...
Refs: HMS-3412
2024-03-07 17:19:32 +01:00
Ondrej Ezr
947c20875c
ImagesTable: extract toolbar to separate component
...
This extracts the toolbar, that was getting bit too big to a separate component.
It also adjusts the title to correspond to the filter of the images.
If there is a Blueprint selected, it changes the title to '<BlueprintName> images'
2024-03-07 16:48:08 +01:00
regexowl
8fac905482
V2Wizard: Gate table title behind experimental
...
This adds gating the ImagesTable title behind experimental so it doesn't render in the "classic" table.
2024-03-07 09:21:27 +01:00