Simon Steinbeiss
3169301aa1
Components: Remove BetaLabel widget
...
This widget feels superfluous because we only show it for features that
are available in ConsoleDot's 'Preview' environment.
2025-04-25 12:13:11 +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
Lucas Garfield
e222b13476
ImagesTable/BlueprintsSideBar: Add Segment tracking (HMS-5989)
...
Needed so the Intercom team can decide whether or not to display an
onboarding video (first time user with no images or blueprints).
2025-04-17 08:58:40 +02:00
Katarina Sieklova
d18f25e331
Wizard: add segment tracking
2025-04-16 12:56:03 +02:00
Tom Koscielniak
0bddb80e94
tests/playwright: Add Hostname customization test
...
Adds a Hostname customization test that creates a BP, edits BP, exports and imports it back and verifies the BP content.
This test also servers as a template for other customization tests. Includes a refactor of existing helper functions.
2025-04-15 14:14:40 +02:00
Katarina Sieklova
daac042df8
Changed to switch statement
2025-02-25 12:09:33 +01:00
Katarina Sieklova
17709cf093
Blueprints: invalid message variant on upload
...
Fixed #2919
Error message has error variant when uploading invalid blueprint.
2025-02-25 12:09:33 +01:00
Katarina Sieklova
285bee5f8d
Blueprints: Import Blueprint modal error rendering
...
Fixed #2905
Fixes error rendering when invalid blueprint is uploaded.
2025-02-19 15:19:31 +01:00
regexowl
bf704af1e7
ImportModal: Increase maxSize
...
This increases limit for the maximum size of a blueprint.
2025-02-17 15:13:32 +01:00
Sanne Raymaekers
90bf5cf91f
src: Rely only osbuild-composer's cloudapi types
...
Use the predefined types in the status row and the onprem to hosted
mapper.
2025-02-05 15:54:57 +01:00
Sanne Raymaekers
41869611db
Blueprints/helpers: fix mapping hosted to on prem
...
`isAdministrator` isn't an option onPrem.
2025-02-05 13:11:14 +01:00
regexowl
9e4cd302b5
Wizard: Add services to on-prem mapper
...
This adds services to on-prem mapper.
2025-02-04 17:21:50 +01:00
Anna Vítová
608b0f1593
CreateImageWizard: fix users ssh key naming in mapper
...
The naming of the ssh key was misspelled, this commit fixes it so that
it is according to docs.
2025-02-04 15:47:44 +01:00
Michal Gold
3cd3aa0176
Wizard: Add users to on-prem mapper
...
this adds users to on-prem mapper.
2025-02-04 14:39:34 +01:00
Gianluca Zuccarelli
9c3581f21c
store: split apis into sub directories
...
Since we will need to add other api endpoints, e.g. `contentSourcesApi` for
the on-prem frontend, this PR restructures the store directory to make future
changes more manageable.
2025-02-03 13:40:30 +01:00
regexowl
73e7a51ab0
Wizard: Add firewall to on-prem mapper
...
This adds firewall to on-prem mapper.
2025-02-03 10:56:14 +01:00
Sanne Raymaekers
449aad5306
Blueprints/BuildImagesButton: switch to mixed api
...
The mixed api supports both the service and on-prem.
2025-01-30 10:53:01 +01:00
Sanne Raymaekers
d13276eeee
store/cockpitApi: support building images from blueprint
...
The structure of the local cache is now:
```
└── blueprint
└── blueprint.json
└── image1
└── image2
└── blueprint2
└── blueprint2.json
└── image1
```
Building an image reads the blueprint, and creates a new image file
under the relevant blueprint folder, which contains the image request.
The image request that's sent off to composer and the request that's
saved differs slightly in the upload structures.
2025-01-30 10:53:01 +01:00
regexowl
a4d672b4e8
Blueprints: Add kernel to on-prem mapper
...
This adds kernel to the on-prem mapper.
2025-01-28 11:35:44 +01:00
Gianluca Zuccarelli
34bf64debc
store/cockpitApi: get blueprint endpoint
...
Create a get blueprint endpoint for the on-prem store.
2025-01-27 17:03:06 +01:00
regexowl
c8c7c7dd0b
Blueprints: Fix "no-unnecessary-condition" issues
2025-01-25 21:06:00 -06:00
Gianluca Zuccarelli
3e6985988a
store/backendApi: export the relevant store api
...
Since the implementation of the cockpitApi and imageBuilderApi are different,
we should make sure to export the correct one depending on the environment
we are in.
2025-01-16 15:45:41 -06:00
Anna Vítová
e5934452ca
src: add checkbox to confirm custom repos import
...
Importing custom repositories on behalf users might be unexpected. This
commit adds a checkbox to opt out.
2025-01-07 12:11:25 +01:00
Anna Vítová
b7b9d2ac24
src: add notification for custom repo imports
...
Show notification about imported custom repositories
2025-01-07 12:11:25 +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
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
Anna Vítová
74c352e235
Wizard: Add popover to suggest importing on-prem
...
In order to hint users that on-premise blueprints are accepted in
import, we are adding a popover with a message.
2024-12-13 14:27:05 +01:00
regexowl
73eaecc51e
Wizard: Add hostname to on-prem mapper
...
This adds hostname to on-prem mapper and updates a test that checks if the value got parsed correctly.
2024-12-12 11:19:16 +01:00
regexowl
317f424448
test: Packages selected on import
...
This checks if specified packages get selected when importing a toml blueprint.
2024-12-10 11:54:11 -06:00
regexowl
93de07c729
Wizard: Add Locale to on-prem mapper
...
This adds Locale values to the on-prem mapper and updates the import test to check for expected values.
2024-12-10 09:16:39 -06:00
regexowl
1533830095
Wizard: Add Timezone to on-prem mapper
...
This adds Timezone values to the on-prem mapper and updates the import test to check for expected values.
2024-12-09 12:19:01 -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
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
Anna Vítová
70462be0b7
Wizard: add more tests for on prem filesystem
2024-11-26 17:12:48 +01:00
Anna Vítová
80f7980676
Wizard: add suport for json on prem
2024-11-26 17:12:48 +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
Anna Vítová
63e9610beb
src: Add on prem blueprints import support
2024-11-21 14:11:10 +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
regexowl
1d8067f1b0
Blueprints: Fix list of blueprint being replaced by empty state
...
Search input and list of blueprints could be previously temporarily replaced by an empty state.
How to reproduce previous behaviour:
1. start with some created blueprints
2. search for an existing blueprint
3. delete it
4. remove searchTerm from the blueprint search input
Before: the blueprint list and blueprint search input are temporarily replaced by an empty state, until re-fetch.
After: the list and search input persist throughout blueprint deletion and get replaced by an empty state only when there are no other blueprints
2024-09-24 17:48:50 +02:00
regexowl
49162e01f5
Blueprints: Set blueprintSearchInput as undefined with empty string
...
This dispatches changes to `blueprintSearchInput` and sets it as `undefined` when the value is an empty string.
2024-09-24 17:48:50 +02:00
Anna Vítová
3af0704a2f
src: Enable import of image_requests
2024-09-04 17:45:11 +02:00
Anna Vítová
22c9b0c106
src: Cleanup import modal on close
2024-09-04 17:45:11 +02:00
Anna Vítová
c385417e93
HMS-4459: Use export endpoint
2024-09-04 17:45:11 +02:00
Ondrej Ezr
39a5e93c4a
Blueprints: change diff modal button label
...
For the diff modal, we want to change the button label.
In this context Synchronize images is more appropriate label.
2024-08-19 15:33:39 +02:00
regexowl
b7ccc2cca0
testUtils: Merge renderCustomRoutesWithReduxRouter and renderWithReduxRouter
...
`renderCustomRoutesWithReduxRouter` and `renderWithReduxRouter`are functionally the same apart from routes they use to render components.
We could just use `renderCustomRoutesWithReduxRouter` and use the routes from `renderWithReduxRouter` as a default value for an optional parameter `routes`.
2024-08-12 09:46:10 +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
regexowl
1554d78cba
test: Move mocks to setup file
...
This moves all the mocks used throughout our test files into the test setup file.
2024-08-08 16:53:49 +02:00
Ondrej Ezr
e0b33fd6f5
Bluperint: Allow selecting targets from diff modal
2024-08-06 11:16:34 +02:00