Commit graph

1937 commits

Author SHA1 Message Date
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
Sanne Raymaekers
967b603e50 src/constants: Use major rhel distros by default
The tradeoff is not being able to discern between a minor version and a
major version in the 2 weeks post GA if the images were built using the
UI, but I think the tradeoff is worth it. The frontend will never need
updating to switch to a new version.
2024-05-21 11:24:49 +02:00
dependabot[bot]
5559c30c65 build(deps-dev): bump jest-fail-on-console from 3.2.0 to 3.3.0
Bumps [jest-fail-on-console](https://github.com/ValentinH/jest-fail-on-console) from 3.2.0 to 3.3.0.
- [Release notes](https://github.com/ValentinH/jest-fail-on-console/releases)
- [Commits](https://github.com/ValentinH/jest-fail-on-console/compare/v3.2.0...v3.3.0)

---
updated-dependencies:
- dependency-name: jest-fail-on-console
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-05-21 10:40:09 +02:00
dependabot[bot]
93600d321a build(deps-dev): bump @babel/core from 7.24.4 to 7.24.5
Bumps [@babel/core](https://github.com/babel/babel/tree/HEAD/packages/babel-core) from 7.24.4 to 7.24.5.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/commits/v7.24.5/packages/babel-core)

---
updated-dependencies:
- dependency-name: "@babel/core"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-05-21 09:57:16 +02:00
Muslimjon
8e278108ab fix(RHINENG-9387): update page titles 2024-05-13 12:01:05 +02:00
Andrew Dewar
aecc84bd34 Fixes wizard min-height 2024-05-13 11:47:51 +02:00
Amir
1eb5066967 feat(HMS-4116): support shell,yaml and python in first boot editor 2024-05-13 11:41:17 +02:00
dependabot[bot]
7f1a86c8bc build(deps): bump react-redux from 9.1.1 to 9.1.2
Bumps [react-redux](https://github.com/reduxjs/react-redux) from 9.1.1 to 9.1.2.
- [Release notes](https://github.com/reduxjs/react-redux/releases)
- [Changelog](https://github.com/reduxjs/react-redux/blob/master/CHANGELOG.md)
- [Commits](https://github.com/reduxjs/react-redux/compare/v9.1.1...v9.1.2)

---
updated-dependencies:
- dependency-name: react-redux
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-05-13 08:48:07 +02:00
Andrew Dewar
c61fda02b1 Bug - V2 Wizard: trim searchterm to prevent spaces from not producing results 2024-05-08 10:52:23 +02:00
dependabot[bot]
cd1aa238f6 build(deps): bump @patternfly/patternfly from 5.3.0 to 5.3.1
Bumps [@patternfly/patternfly](https://github.com/patternfly/patternfly) from 5.3.0 to 5.3.1.
- [Release notes](https://github.com/patternfly/patternfly/releases)
- [Changelog](https://github.com/patternfly/patternfly/blob/main/release.config.js)
- [Commits](https://github.com/patternfly/patternfly/compare/v5.3.0...patch-v5.3.1)

---
updated-dependencies:
- dependency-name: "@patternfly/patternfly"
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-05-08 09:23:51 +02:00
dependabot[bot]
783868ff4d build(deps-dev): bump @testing-library/jest-dom from 6.4.2 to 6.4.5
Bumps [@testing-library/jest-dom](https://github.com/testing-library/jest-dom) from 6.4.2 to 6.4.5.
- [Release notes](https://github.com/testing-library/jest-dom/releases)
- [Changelog](https://github.com/testing-library/jest-dom/blob/main/CHANGELOG.md)
- [Commits](https://github.com/testing-library/jest-dom/compare/v6.4.2...v6.4.5)

---
updated-dependencies:
- dependency-name: "@testing-library/jest-dom"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-05-08 09:11:34 +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
7ac505fc89 V2Wizard: Make e-mail validation case insensitive
Fixes #1554

Case validation for the e-mail field was previously case sensitive, disallowing uppercase letters. This updates the validation to accept both lower and upper case letters.
2024-05-07 16:47:35 +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
dependabot[bot]
de96902f94 build(deps): bump @redhat-cloud-services/frontend-components
Bumps [@redhat-cloud-services/frontend-components](https://github.com/RedHatInsights/frontend-components) from 4.2.7 to 4.2.8.
- [Commits](https://github.com/RedHatInsights/frontend-components/commits)

---
updated-dependencies:
- dependency-name: "@redhat-cloud-services/frontend-components"
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-05-07 08:53:56 +02:00
dependabot[bot]
1e55dfed46 build(deps): bump @patternfly/react-core from 5.3.0 to 5.3.3
Bumps [@patternfly/react-core](https://github.com/patternfly/patternfly-react) from 5.3.0 to 5.3.3.
- [Release notes](https://github.com/patternfly/patternfly-react/releases)
- [Commits](https://github.com/patternfly/patternfly-react/compare/@patternfly/react-core@5.3.0...@patternfly/react-core@5.3.3)

---
updated-dependencies:
- dependency-name: "@patternfly/react-core"
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-05-07 08:47:00 +02:00
regexowl
b9aa1c786a V2Wizard: Fix repo/description in review table of package on Edit
Previously the repository in the table of packages on the Review step defaulted to "EPEL". This expands the condition to take into account packages added on Edit.

Description is handled in the same way.

The "Not available" text is consistent with how the packages table looks on the Packages step for pkgs populated from the request. A popover with more information was added also to the review table as it contains explanation about the "Not available" text.
2024-05-06 15:15:24 +02:00
Amir
038f6f5ff5 V2Wizard: Hide first boot from review step 2024-05-06 14:27:58 +02:00
dependabot[bot]
824f30d4c5 build(deps-dev): bump @babel/preset-env from 7.24.4 to 7.24.5
Bumps [@babel/preset-env](https://github.com/babel/babel/tree/HEAD/packages/babel-preset-env) from 7.24.4 to 7.24.5.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/commits/v7.24.5/packages/babel-preset-env)

---
updated-dependencies:
- dependency-name: "@babel/preset-env"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-05-06 08:32:50 +02:00
dependabot[bot]
c78ada0f41 build(deps): bump @patternfly/react-table from 5.2.4 to 5.3.3
Bumps [@patternfly/react-table](https://github.com/patternfly/patternfly-react) from 5.2.4 to 5.3.3.
- [Release notes](https://github.com/patternfly/patternfly-react/releases)
- [Commits](https://github.com/patternfly/patternfly-react/compare/@patternfly/react-table@5.2.4...@patternfly/react-table@5.3.3)

---
updated-dependencies:
- dependency-name: "@patternfly/react-table"
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-05-06 08:25:10 +02:00
regexowl
f37bd91a9a test: Update tests after TypeScript migration
This resolves problems caused by TypeScript migration.
2024-05-03 16:36:26 +02:00
regexowl
f2f64945c1 test: Migrate remaining files to TypeScript
This migrates remaining JavaScript file to TypeScript.
2024-05-03 16:36:26 +02:00
regexowl
1bf459ba58 Components: Migrate remaining files to TypeScript
Remaining JavaScript files were migrated to TypeScript. Files that didn't include JSX were renamed from `.tsx` to `.ts`.
2024-05-03 16:36:26 +02:00
regexowl
813c06c5bd Utilities: Migrate remaining files to TypeScript
This migrates remaining JavaScript files in Utilities to TypeScript.
2024-05-03 15:04:45 +02:00
regexowl
6415664620 test: Replace 'rhel-94' with a constant
This replaces 'rhel-94' with a RHEL_9 constant in the tests.
2024-05-03 08:48:00 +02:00
dependabot[bot]
5f8b33e154 build(deps-dev): bump @testing-library/react from 15.0.5 to 15.0.6
Bumps [@testing-library/react](https://github.com/testing-library/react-testing-library) from 15.0.5 to 15.0.6.
- [Release notes](https://github.com/testing-library/react-testing-library/releases)
- [Changelog](https://github.com/testing-library/react-testing-library/blob/main/CHANGELOG.md)
- [Commits](https://github.com/testing-library/react-testing-library/compare/v15.0.5...v15.0.6)

---
updated-dependencies:
- dependency-name: "@testing-library/react"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-05-03 08:28:15 +02:00
dependabot[bot]
8be0de79c4 build(deps-dev): bump sass from 1.75.0 to 1.76.0
Bumps [sass](https://github.com/sass/dart-sass) from 1.75.0 to 1.76.0.
- [Release notes](https://github.com/sass/dart-sass/releases)
- [Changelog](https://github.com/sass/dart-sass/blob/main/CHANGELOG.md)
- [Commits](https://github.com/sass/dart-sass/compare/1.75.0...1.76.0)

---
updated-dependencies:
- dependency-name: sass
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-05-03 08:21:38 +02:00
regexowl
034843a708 src: Add rhel-94
This adds rhel94.
2024-05-02 16:44:33 +02:00
Amir
6f9c4f3864 feat(HMS-3582): add first boot step to wizard 2024-05-02 16:35:26 +02:00
lucasgarfield
c88a0323f2 V2 Wizard: Expose OCI images in stable 2024-05-02 14:38:21 +02:00
regexowl
876eb3bdf3 scripts: Run parts of api script in correct order
This ensures `api:pull` and `api:generate` run in correct order when running `npm run api`.
2024-05-02 14:23:05 +02:00
Andrew Dewar
ee81385626 Add comment to css change 2024-05-02 15:17:08 +03:00
Andrew Dewar
caa3847990 Update repository modal funcitonality 2024-05-02 15:17:08 +03:00
Andrew Dewar
f9aae48dd1 Wizard V2: Packages refactor, recommendations fix. 2024-05-02 15:17:08 +03:00
lucasgarfield
8271e6d159 LandingPage: Update 'new' alert for blueprints to support quickstarts 2024-05-02 12:35:25 +02:00
Florian Schüller
7fa4c2a927 CreateImageWizard/Repositories: fix description if selected but disabled 2024-05-02 12:09:49 +02:00
Florian Schüller
8ac3fe5409 CreateImageWizard/Repositories: show hint why a repo is disabled 2024-05-02 12:09:49 +02:00
dependabot[bot]
1511b3f232 build(deps-dev): bump @typescript-eslint/parser from 7.7.1 to 7.8.0
Bumps [@typescript-eslint/parser](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser) from 7.7.1 to 7.8.0.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/parser/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v7.8.0/packages/parser)

---
updated-dependencies:
- dependency-name: "@typescript-eslint/parser"
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-05-02 08:49:32 +02:00
dependabot[bot]
fd94cde4af build(deps-dev): bump @testing-library/dom from 10.0.0 to 10.1.0
Bumps [@testing-library/dom](https://github.com/testing-library/dom-testing-library) from 10.0.0 to 10.1.0.
- [Release notes](https://github.com/testing-library/dom-testing-library/releases)
- [Changelog](https://github.com/testing-library/dom-testing-library/blob/main/CHANGELOG.md)
- [Commits](https://github.com/testing-library/dom-testing-library/compare/v10.0.0...v10.1.0)

---
updated-dependencies:
- dependency-name: "@testing-library/dom"
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-05-02 08:43:16 +02:00
regexowl
0ff0ec9758 V2Wizard: Expandable to alert for disabled EPEL repo
This converts previously used expendable into an info alert.
2024-05-01 19:54:06 +02:00
regexowl
147841b095 V2Wizard: Calculate image size on Review step
This calculates and renders the minimum image size on the Review step.
2024-05-01 19:47:41 +02:00
regexowl
df9ec1499d V2Wizard: Fix FSC units on Edit
This updates the logic of parsing bytesize into size/unit pair.

Currently 'GiB' is set as a default which causes problem with smaller partitions on Edit.

A validation for the min_size is in place and the rule is that the size cannot be smaller than 0 of a given unit. If there was a partition with smaller size in KiB it will break the rule when converted to GiB.
2024-05-01 19:47:41 +02:00
lucasgarfield
13d35a834e BlueprintTable: Invalidate tags on deleteBlueprint
Invalidates Composes and ComposeBlueprints tags upon deleting a
blueprint so that composes are re-fetched and the table is updated
appropriately.

Previously, a deleted blueprints composes would still show in the table
until the page was refreshed.
2024-05-01 09:49:22 +02:00
dependabot[bot]
726cd328c5 build(deps-dev): bump @patternfly/react-icons from 5.2.1 to 5.3.1
Bumps [@patternfly/react-icons](https://github.com/patternfly/patternfly-react) from 5.2.1 to 5.3.1.
- [Release notes](https://github.com/patternfly/patternfly-react/releases)
- [Commits](https://github.com/patternfly/patternfly-react/compare/@patternfly/react-icons@5.2.1...@patternfly/react-icons@5.3.1)

---
updated-dependencies:
- dependency-name: "@patternfly/react-icons"
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-05-01 08:58:04 +02:00
dependabot[bot]
7a97634d6f build(deps-dev): bump @babel/eslint-parser from 7.24.1 to 7.24.5
Bumps [@babel/eslint-parser](https://github.com/babel/babel/tree/HEAD/eslint/babel-eslint-parser) from 7.24.1 to 7.24.5.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/commits/v7.24.5/eslint/babel-eslint-parser)

---
updated-dependencies:
- dependency-name: "@babel/eslint-parser"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-05-01 08:51:39 +02:00
lucasgarfield
f14b90cf9a V2 Wizard: Disable snapshotting in prod and stage stable
It will be better to keep the stable branches in sync as much as
possible. If snapshotting is only ready for prod-preview, we should only
expose it in stage-preview.
2024-04-30 17:13:10 +02:00
Andrew Dewar
547436c177 Wizard V2: Prevents snapshot step in prod-stable. 2024-04-30 17:13:10 +02:00
Ondrej Ezr
1b35b3f675 experimental: Allow switching experimental on in stable 2024-04-30 16:53:44 +02:00
lucasgarfield
8049f95d82 V2 Wizard: Fix edit mode initialization for custom file systems
Properly initializes wizard state in edit mode when custom file system
is in use.
2024-04-30 15:13:50 +02:00
lucasgarfield
61b23216f4 V2 Wizard: OpenSCAP edit tests
Edit mode is now fully tested and working for OpenSCAP profiles. A
handler for the PUT request was added and the fixtures were updated to
support this.

`EditImageWizard.tsx`: Previously we dispatched `initializeWizard()`
while waiting for the blueprintDetails to load. This meant that the
state was incorrect (empty) while the blueprintDetails request was
in flight.

`requestMapper.tsx`: Correctly populate state in edit mode if the
blueprint contains a custom file system – previously custom mountpoints
were dropped and automatic mode was selected.

`spyOnRequest()`: Differentiate between request types (e.g. GET, PUT)
for the same endpoint.
2024-04-30 15:13:50 +02:00