Commit graph

39 commits

Author SHA1 Message Date
regexowl
b59a729656 sharedComponents: Rename "Create blueprint" button
This renames the button to "Create image blueprint" to make the relationship between images and blueprints clearer.
2025-06-18 14:12:47 +00:00
Gianluca Zuccarelli
40fe892dbf sharedComponents: tidy up image-builder-header
This commit simplifies and tidies up the shared ImageBuilderHeader
component by removing some of the `Flex` and `FlexItem` components.
Instead we can use the `actionComponents` from the `PageHeader`
component which takes care of some of the flex logic for us.
2025-06-12 13:29:58 +00:00
regexowl
4f339aec8f Wizard: Update code after rebasing 2025-05-28 09:08:52 -05:00
regexowl
91577343df src: Update <Content> tag components 2025-05-28 09:08:52 -05:00
regexowl
4312cca4dd src: Run class-name-updater
This runs `npx @patternfly/class-name-updater src --v6 --fix`.
2025-05-28 09:08:52 -05:00
regexowl
1fc1f0cb8d src: Run codemods and lint
Run `npx @patternfly/pf-codemods@latest src --v6 --fix` and lint autofix to get the bulk of the changes in.
2025-05-28 09:08:52 -05:00
regexowl
9daa21a5ca Wizard: Remove edge alert
This removes edge deprecation alert from Wizard screen.
2025-05-26 15:55:20 +02:00
Simon Steinbeiss
d04aee0de9 LandingPage: Add Edge decommission alert (HMS-6156)
This alert will only be shown when the 'immutable' tab has focus.
2025-05-26 14:00:07 +02:00
regexowl
aedbbdc53a src: Remove unused data-testids
This removes unused `data-testid`s from the code base.
2025-05-09 10:14:54 +02:00
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
Gianluca Zuccarelli
6e9bd89b08 store/backendApi: create a useBackendPrefetch hook
Create a helper hook for RTK prefetch queries. This wrapper function
is needed since the imagebuilderApi and cockpitApi aren't at parity
yet.
2025-01-27 17:03:06 +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
5ad7470031 src: Prefetch list of targets on hover of Create blueprint button
This prefetches list of possible targets based on distribution for `onMouseEnter` event of Create blueprint button.
2024-10-06 11:38:57 +03:00
Anna Vítová
a799d70a85 blueprint: Add preview label to import button 2024-08-08 12:56:27 +03:00
Ondrej Ezr
549ef37ab7 Blueprint: enable import/export in ephemeral
Adds ability to enable a feature flag in Ephemeral environment by default.
2024-07-10 19:48:58 +02:00
Jakub Rusz
9b82b22d75 Add ouiaIds for import Modal and button
Adding some missing ouiaIds.
2024-06-28 09:49:14 +02:00
Ondrej Ezr
5fcc80d2db Wizard: Drop the WizardV1 2024-06-19 09:10:22 +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
Anna Vítová
3018d64df6 Blueprints: Add import Wizard (HMS-3690) 2024-05-22 16:08: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
00cf55f4f0 sharedComponents: Align buttons in header
The buttons in imageBuilderHeader were stacked under the title. This makes them align next to the header title.
2024-04-23 14:32:56 +02:00
regexowl
033301c7b2 Blueprints: Remove icon from "Create blueprint" button
This removes the plus icon from the "Create blueprint" button as per recent review.
2024-04-16 18:24:47 +03:00
Anna Vítová
bc82ba0ab1 feat(HMS-3906): Add feature flag for import/export 2024-04-11 13:19:43 +02:00
Anna Vítová
e301271ac1 feat(HMS-3688): Add blueprints import dialog 2024-04-05 14:23:46 +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
Anna Vítová
939047dfef fixes(#1767): Change 'Create' button to 'Create blueprint' 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
lucasgarfield
c73482dd7f Utilities: Add useExperimentalFlag hook
This commit DRYs out the code, extracting the logic for setting the
value of the experimentalFlag into a new hook found in the utilities.

It also makes the typing stricter - the hook returns a boolean. The
pattern we were using previously to set the value of experimentalFlag
variables could be boolean, string, or undefined.
2024-03-05 19:27:46 +01:00
Anna Vítová
5813fdaf10 feat(HMS-3686): Update position of blueprint buttons 2024-03-05 13:49:31 +01:00
Amir
45d50b2440 Blueprints: Add blueprint editing 2024-03-04 14:48:32 +01:00
Anna Vítová
45194fa225 feat(HMS-3515): Change blueprint cards to be clickable 2024-02-27 18:21:41 +01:00
Amir
74f71f2dca Blueprints: Add handler for creating new blueprint 2024-02-12 15:12:14 +01:00
Amir
13ca8e868d feat(HMS-3431): add a blueprint build images 2024-02-07 17:58:13 +01:00
Jakub Rusz
22d8eb6634 Fix osbuild pages url
It's now lowercase.
2024-01-31 12:11:04 +01:00
Jakub Rusz
d6773fbae1 Update architecture url 2024-01-29 10:20:43 +01:00
lucasgarfield
819863835b LandingPage: Hotfix to remove exposed blueprint buttons
Commit bae6435fd9 adds scaffolding for the
blueprint table. Blueprint features should be hidden behind experimental
flags. The new buttons related to creating blueprints and rebuilding
images in the header were not hidden behind the experimental flag, this
commit fixes that and does so.

bae6435fd9 also changed the header title
from "Image Builder" to "Images". This change has been a long time
coming - it is being left in for now. We may want to revisit the copy in
the popovers to align it as the term "Image Builder" is still being used
in those.
2024-01-22 10:06:40 +01:00
Amir
c2e7c34d6e feat(HMS-3386): add blueprints initial layout 2024-01-19 17:20:21 +01:00
lucasgarfield
c4d411efa4 Wizard: Improve in-page wizard cosmetically
This commit:
1. Removes the header from the Data Driven Forms wizard
2. Adds padding around the in-page wizard so it is visually consistent
   with the images table
3. Refactors the images table header into a re-usable component that is
   now used in both the images table and the wizard
4. Allows the repositories table to fill the available vertical space in
   the wizard
5. Adjusts the package dual list selectors so that they fill the
   available horizontal space in the wizard
2023-10-20 15:51:03 +02:00