dependabot[bot]
d4708917f6
build(deps): bump react-router-dom from 6.25.0 to 6.25.1
...
Bumps [react-router-dom](https://github.com/remix-run/react-router/tree/HEAD/packages/react-router-dom ) from 6.25.0 to 6.25.1.
- [Release notes](https://github.com/remix-run/react-router/releases )
- [Changelog](https://github.com/remix-run/react-router/blob/main/packages/react-router-dom/CHANGELOG.md )
- [Commits](https://github.com/remix-run/react-router/commits/react-router-dom@6.25.1/packages/react-router-dom )
---
updated-dependencies:
- dependency-name: react-router-dom
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-07-18 08:45:42 +02:00
regexowl
4e24dc35b6
test: Silence the DOM dump in test output
...
This silences the DOM dump logged into test output by testing-library while keeping all the relevant information about the test failure in the output.
2024-07-17 21:22:32 +02:00
regexowl
e2397b90d4
test: Fix act warnings
...
This removes the `act()` warnings from the test output.
2024-07-17 12:25:33 +02:00
regexowl
4fb37c187e
src: Rename "V2" folders to just Wizard
...
This replaces all occurences of "CreateImageWizardV2" with just "CreateImageWizard" as it is the only version now.
2024-07-17 11:17:06 +02:00
dependabot[bot]
b1e5a8c7c6
build(deps): bump react-router-dom from 6.24.1 to 6.25.0
...
Bumps [react-router-dom](https://github.com/remix-run/react-router/tree/HEAD/packages/react-router-dom ) from 6.24.1 to 6.25.0.
- [Release notes](https://github.com/remix-run/react-router/releases )
- [Changelog](https://github.com/remix-run/react-router/blob/main/packages/react-router-dom/CHANGELOG.md )
- [Commits](https://github.com/remix-run/react-router/commits/react-router-dom@6.25.0/packages/react-router-dom )
---
updated-dependencies:
- dependency-name: react-router-dom
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-07-17 09:50:07 +02:00
dependabot[bot]
4e585365ce
build(deps-dev): bump @typescript-eslint/parser from 7.16.0 to 7.16.1
...
Bumps [@typescript-eslint/parser](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser ) from 7.16.0 to 7.16.1.
- [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.16.1/packages/parser )
---
updated-dependencies:
- dependency-name: "@typescript-eslint/parser"
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-07-17 08:54:05 +02:00
regexowl
4389318de8
test: Update EditImageWizard test file for vitest
...
This adds mocks and imports needed to make the newly added EditImageWizard test file pass with vitest.
2024-07-16 16:55:31 +02:00
regexowl
a5f69a2559
test: Move shared imports to setup.ts file
2024-07-16 16:55:31 +02:00
regexowl
144832f2f8
test: Temporarily disable three tests
...
This temporarily disables three tests:
- target environment tiles are keyboard selectable -> can't make the behaviour correct even in mocked browser, it's possible this test was passing dues to early exit
- image name invalid for more than 100 chars and description for 250 -> this test times out in waitFor for the typing action. We have other valid/invalid name tests which could probably replace this one to not overwhelm the test suite with awaiting a large amount of text
- validate first boot request -> `monaco-editor` mock will be probably needed to make this one pass as it's not included in jsdom and ends in `Ne. init is not a function` error
2024-07-16 16:55:31 +02:00
regexowl
98c17e55df
test: Move beforeEach blocks inside describe
...
This moved the `beforeEach` blocks inside the `describe` blocks as per documentation.
Previously the code inside `beforeEach` didn't trigger which lead to problems with asynchrocinity as mocks didn't get cleared.
2024-07-16 16:55:31 +02:00
regexowl
e036f9b892
src: Move .scrollTo mock implementation to setup.ts
...
This moves the `.scrollTo` mock implementation to a setup file for other test files to use.
2024-07-16 16:55:31 +02:00
regexowl
8597929ff3
test: test: Remove act() warnings
...
This removes `Warning: An update to <component> inside a test was not wrapped inact(...)` warnings.
2024-07-16 16:55:31 +02:00
regexowl
6964e8b312
src: Resolve ResizeObserver is not defined error
...
This mocks and stubs ResizeObserver as it is not defined in jsdom.
2024-07-16 16:55:31 +02:00
regexowl
2a48966bba
test: Update test files to work with Vitest
...
This updates the files to be compatible with Vitest. Changes include:
- adding `@testing-library/jest-dom` import to enable custom jest matchers
- renaming `jest.` to `vi.`
- setting flags to false as default where needed
2024-07-16 16:55:31 +02:00
regexowl
da16a42128
Migrate from Jest to Vitest
...
This migrates our tests from using the Jest testing framework to Vitest.
2024-07-16 16:55:31 +02:00
regexowl
ac60043199
Wizard: Fix repositories recommendations
...
Repositories were not getting recommended after https://github.com/osbuild/image-builder-frontend/pull/2226 got merged. This fixes the problem.
2024-07-16 15:31:53 +02:00
dependabot[bot]
bafa531d00
build(deps-dev): bump @typescript-eslint/eslint-plugin
...
Bumps [@typescript-eslint/eslint-plugin](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin ) from 7.16.0 to 7.16.1.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases )
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/CHANGELOG.md )
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v7.16.1/packages/eslint-plugin )
---
updated-dependencies:
- dependency-name: "@typescript-eslint/eslint-plugin"
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-07-16 14:13:54 +02:00
Ondrej Ezr
22c3686e2e
Firstboot: Add testid to empty state buttons
2024-07-16 13:15:12 +02:00
Ondrej Ezr
e0ec56c94d
Wizard: fix blueprint unique name validation in Edit mode
2024-07-16 12:27:42 +02:00
dependabot[bot]
e003682e23
build(deps-dev): bump @testing-library/dom from 10.3.1 to 10.3.2
...
Bumps [@testing-library/dom](https://github.com/testing-library/dom-testing-library ) from 10.3.1 to 10.3.2.
- [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.3.1...v10.3.2 )
---
updated-dependencies:
- dependency-name: "@testing-library/dom"
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-07-16 11:32:41 +02:00
regexowl
32ec1a6d27
jest: Increase test timeout
...
This increases default test timeout from 10000 to 20000 and timeout for "image name invalid for more than 100 chars and description for 250" to 50000.
This should eliminate test flakes caused by timing out, later it will be "reverted" when the Vitest migration gets merged.
2024-07-16 10:47:54 +02:00
dependabot[bot]
0fa06822fc
build(deps): bump @patternfly/react-core from 5.3.3 to 5.3.4
...
Bumps [@patternfly/react-core](https://github.com/patternfly/patternfly-react ) from 5.3.3 to 5.3.4.
- [Release notes](https://github.com/patternfly/patternfly-react/releases )
- [Commits](https://github.com/patternfly/patternfly-react/compare/@patternfly/react-core@5.3.3...@patternfly/react-core@5.3.4 )
---
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-07-15 13:12:03 +02:00
dependabot[bot]
64fe6642d3
build(deps): bump @patternfly/react-code-editor from 5.3.3 to 5.3.4
...
Bumps [@patternfly/react-code-editor](https://github.com/patternfly/patternfly-react ) from 5.3.3 to 5.3.4.
- [Release notes](https://github.com/patternfly/patternfly-react/releases )
- [Commits](https://github.com/patternfly/patternfly-react/compare/@patternfly/react-code-editor@5.3.3...@patternfly/react-code-editor@5.3.4 )
---
updated-dependencies:
- dependency-name: "@patternfly/react-code-editor"
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-07-15 08:55:59 +02:00
regexowl
14b5edb83a
README: Update and clean up
...
This updates and cleans up README a bit. There were two API sections that got merged and moved under frontend development. Some typos were also addressed.
2024-07-14 23:01:48 +02:00
regexowl
989671ba95
test: Update tests
...
A custom repo needs to be selected for the correct mocked response.
2024-07-14 22:13:46 +02:00
regexowl
c89b73687f
Wizard: Fix 400 when fetching packages
...
The request for package search in custom repositories was sent even when no custom repositories were selected, ending in 400. This fixes the problem.
2024-07-14 22:13:46 +02:00
dependabot[bot]
ce94f72066
build(deps-dev): bump sass from 1.77.7 to 1.77.8
...
Bumps [sass](https://github.com/sass/dart-sass ) from 1.77.7 to 1.77.8.
- [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.77.7...1.77.8 )
---
updated-dependencies:
- dependency-name: sass
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-07-12 09:40:23 +02:00
dependabot[bot]
8f2219c338
build(deps-dev): bump @babel/preset-env from 7.24.7 to 7.24.8
...
Bumps [@babel/preset-env](https://github.com/babel/babel/tree/HEAD/packages/babel-preset-env ) from 7.24.7 to 7.24.8.
- [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.8/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-07-12 08:48:00 +02:00
Ondrej Ezr
e8b3814074
Wizard: feature flag to decide environments to be enabled in
...
Feature flags now support enablement in Preview specifically.
This allows us to use single feature flag for rollout.
2024-07-11 14:33:35 +02:00
dependabot[bot]
da39efcbf7
build(deps): bump @patternfly/react-table from 5.3.3 to 5.3.4
...
Bumps [@patternfly/react-table](https://github.com/patternfly/patternfly-react ) from 5.3.3 to 5.3.4.
- [Release notes](https://github.com/patternfly/patternfly-react/releases )
- [Commits](https://github.com/patternfly/patternfly-react/compare/@patternfly/react-table@5.3.3...@patternfly/react-table@5.3.4 )
---
updated-dependencies:
- dependency-name: "@patternfly/react-table"
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-07-11 11:52:24 +02:00
dependabot[bot]
57ef3c09b3
build(deps-dev): bump sass from 1.77.6 to 1.77.7
...
Bumps [sass](https://github.com/sass/dart-sass ) from 1.77.6 to 1.77.7.
- [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.77.6...1.77.7 )
---
updated-dependencies:
- dependency-name: sass
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-07-11 10:47:29 +02:00
Ondrej Ezr
4044b9eba1
Wizard: enable nav items properly in Edit mode
2024-07-11 09:37:36 +02: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
dependabot[bot]
0f7d9457c6
build(deps-dev): bump @typescript-eslint/parser from 7.15.0 to 7.16.0
...
Bumps [@typescript-eslint/parser](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser ) from 7.15.0 to 7.16.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.16.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-07-09 13:01:37 +02:00
dependabot[bot]
340b146068
build(deps-dev): bump @typescript-eslint/eslint-plugin
...
Bumps [@typescript-eslint/eslint-plugin](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin ) from 7.15.0 to 7.16.0.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases )
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/CHANGELOG.md )
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v7.16.0/packages/eslint-plugin )
---
updated-dependencies:
- dependency-name: "@typescript-eslint/eslint-plugin"
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-07-09 09:23:17 +02:00
Justin Sherrill
10c9375ee3
V2Wizard: revert add alert on snapshot step
2024-07-08 10:27:21 +02:00
dependabot[bot]
ad73bba30c
build(deps-dev): bump @testing-library/dom from 10.3.0 to 10.3.1
...
Bumps [@testing-library/dom](https://github.com/testing-library/dom-testing-library ) from 10.3.0 to 10.3.1.
- [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.3.0...v10.3.1 )
---
updated-dependencies:
- dependency-name: "@testing-library/dom"
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-07-08 09:19:55 +02:00
Ondrej Ezr
ff2ccc4101
Wizard: set status on step
...
This implements error status for a step navigation.
It helps user to see on what step there is an validation error and why they can't create the blueprint.
2024-07-05 13:23:58 +02:00
regexowl
fde1cfef10
constants: Update URLs
...
This updates documentation URLs.
2024-07-04 21:34:15 +02:00
Sanne Raymaekers
f8a8e5c782
src/constants: update docs link
...
Image builder docs are now hosted under insights only.
2024-07-04 17:07:01 +02:00
mlahane
6a5417d4d6
Update docs with correct URL
2024-07-04 15:47:25 +02:00
Gianluca Zuccarelli
f0d723686e
wizard/compliance: re-enable stig profiles
...
The stig profiles have been fixed downstream, so we can re-enable these.
2024-07-04 12:01:06 +02:00
dependabot[bot]
93dcff268b
build(deps-dev): bump @typescript-eslint/parser from 7.14.1 to 7.15.0
...
Bumps [@typescript-eslint/parser](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser ) from 7.14.1 to 7.15.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.15.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-07-04 10:25:11 +02:00
dependabot[bot]
b031c507f1
build(deps): bump react-router-dom from 6.24.0 to 6.24.1
...
Bumps [react-router-dom](https://github.com/remix-run/react-router/tree/HEAD/packages/react-router-dom ) from 6.24.0 to 6.24.1.
- [Release notes](https://github.com/remix-run/react-router/releases )
- [Changelog](https://github.com/remix-run/react-router/blob/main/packages/react-router-dom/CHANGELOG.md )
- [Commits](https://github.com/remix-run/react-router/commits/react-router-dom@6.24.1/packages/react-router-dom )
---
updated-dependencies:
- dependency-name: react-router-dom
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-07-04 09:41:33 +02:00
Michal Gold
f218109fa4
CreateDropdown: change navigation to specific image when creating and building image HMS-4258
...
this commit change navigation to specific image when creating and building new
image
2024-07-03 15:09:11 +02:00
dependabot[bot]
dd16cba064
build(deps-dev): bump @testing-library/dom from 10.2.0 to 10.3.0
...
Bumps [@testing-library/dom](https://github.com/testing-library/dom-testing-library ) from 10.2.0 to 10.3.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.2.0...v10.3.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-07-03 11:17:13 +02:00
dependabot[bot]
ae0eb1b288
build(deps-dev): bump @typescript-eslint/eslint-plugin
...
Bumps [@typescript-eslint/eslint-plugin](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin ) from 7.14.1 to 7.15.0.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases )
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/CHANGELOG.md )
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v7.15.0/packages/eslint-plugin )
---
updated-dependencies:
- dependency-name: "@typescript-eslint/eslint-plugin"
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-07-02 09:30:21 +02:00
dependabot[bot]
18c786859e
build(deps): bump @reduxjs/toolkit from 2.2.5 to 2.2.6
...
Bumps [@reduxjs/toolkit](https://github.com/reduxjs/redux-toolkit ) from 2.2.5 to 2.2.6.
- [Release notes](https://github.com/reduxjs/redux-toolkit/releases )
- [Commits](https://github.com/reduxjs/redux-toolkit/compare/v2.2.5...v2.2.6 )
---
updated-dependencies:
- dependency-name: "@reduxjs/toolkit"
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-07-02 08:38:43 +02:00
regexowl
c0508e00ce
src: Add betaPath helper function
...
This replaces all occurences of `isBeta() ? CONTENT_BETA : CONTENT_STABLE` with `betaPath(CONTENT_URL, isBeta())`.
2024-07-01 13:54:15 +02:00
regexowl
b198768ca6
src: Move content urls to const
...
This moves both preview and stable links to content to the `constants.ts` file.
2024-07-01 13:54:15 +02:00