Commit graph

3420 commits

Author SHA1 Message Date
regexowl
0373a55f8c dependabot: Lower limit for number of open PRs
We no longer have dependency bumps "stuck" in the limbo. Let's lower the limit again as we're not overwhelmed by new dependabot PRs.
2025-07-17 12:59:03 +00:00
dependabot[bot]
eeae4f9467 build(deps-dev): bump @currents/playwright from 1.15.1 to 1.15.2
---
updated-dependencies:
- dependency-name: "@currents/playwright"
  dependency-version: 1.15.2
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-07-17 06:49:37 +00:00
dependabot[bot]
4c04f2dc54 build(deps-dev): bump eslint-plugin-testing-library from 7.5.4 to 7.6.0
Bumps [eslint-plugin-testing-library](https://github.com/testing-library/eslint-plugin-testing-library) from 7.5.4 to 7.6.0.
- [Release notes](https://github.com/testing-library/eslint-plugin-testing-library/releases)
- [Changelog](https://github.com/testing-library/eslint-plugin-testing-library/blob/main/.releaserc.json)
- [Commits](https://github.com/testing-library/eslint-plugin-testing-library/compare/v7.5.4...v7.6.0)

---
updated-dependencies:
- dependency-name: eslint-plugin-testing-library
  dependency-version: 7.6.0
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-07-17 06:42:45 +00:00
dependabot[bot]
10ff517ab0 build(deps-dev): bump @eslint/js from 9.30.1 to 9.31.0
Bumps [@eslint/js](https://github.com/eslint/eslint/tree/HEAD/packages/js) from 9.30.1 to 9.31.0.
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/main/CHANGELOG.md)
- [Commits](https://github.com/eslint/eslint/commits/v9.31.0/packages/js)

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

Signed-off-by: dependabot[bot] <support@github.com>
2025-07-16 07:32:01 +00:00
regexowl
25a5f140d8 ESLint: Add rule to sort imports alphabetically
The `import/order` rule isn't enough to sort import within a single import group alphabetically.

This adds `sort-imports` rule that handles the sorting within groups.
2025-07-15 16:52:45 +00:00
regexowl
91b2cc2d10 ESLint: Add rule for duplicate imports
We had decent amount of import groups split into several imports, this adds a rule to output error when there's a duplicate import.
2025-07-15 16:52:45 +00:00
regexowl
a0fe3644c3 src: Remove more data-testids
As using `data-testid`s in tests is an anti-pattern, this removes more of them and replaces them with appropriate locators in the tests.
2025-07-15 16:51:29 +00:00
regexowl
0ea874abc6 Wizard: Fix dropdown behaviour on "Enter"
The page refreshed when pressing "Enter" while in the dropdown input. This fixes the behaviour.

If the dropdown's closed, "Enter" will open the options, if there's an input value that perfectly matches one of the activation keys, it gets selected.

The order of functions was also slightly cleaned up so they're all in one place after `useEffect`s.
2025-07-15 14:41:52 +00:00
regexowl
2406d14304 Wizard: Update activation keys dropdown
This updates key dropdown's helper text to match recent mocks.

Also checked other criteria:
- the input is clearable
- current selection is marked with a check in the list of options
2025-07-15 14:41:52 +00:00
Katarina Sieklova
c2e94100db Wizard: bring back invlaid group testing in users 2025-07-15 13:47:37 +00:00
Florian Schüller
ccfdb49db2 CreateImageWizard: Implement user-friendly error messages
Puts the error messages in one place - LabelInput.tsx
2025-07-15 13:47:37 +00:00
regexowl
3f35101f68 Migrate ESLint to v 9.x
This bumps needed dependencies and migrates previously used ESLint configs to the new flat config schema.
2025-07-15 13:39:36 +00:00
regexowl
10a40aaec4 Wizard: Move org ID into a copy-able field
This moves the org ID into a copy-able field and updates the permanent info as per mocks.

The popover that previously included the org ID is removed from mocks.
2025-07-15 13:27:46 +00:00
Gianluca Zuccarelli
c9d721ea52 playwright: add a test for cockpit cloud config
SSIA
2025-07-15 12:38:52 +00:00
Gianluca Zuccarelli
0b0171bb87 cloudConfig: add a popover for creds path
Add a popover to give more information on the aws credentials
path.
2025-07-15 12:38:52 +00:00
Gianluca Zuccarelli
1ed4380bfc cloudConfig: restart worker on submit
Restart osbuild-composer and the worker after updating the config, this
is a necessary step for osbuild-composer to register the changes.
2025-07-15 12:38:52 +00:00
Gianluca Zuccarelli
5afe1c1fc1 cloudConfig: save the aws configs
Save the AWS config modifications to the `osbuild-worker.toml` file.
2025-07-15 12:38:52 +00:00
Gianluca Zuccarelli
ca6c59bfb8 store/cockpitApi: add worker config mutation
Add an endpoint to update the worker config.
2025-07-15 12:38:52 +00:00
Gianluca Zuccarelli
09df007eb9 test/mocks: add cockpit modify
Add the `modify` file function which performs atomic modifications to a
file.
2025-07-15 12:38:52 +00:00
Gianluca Zuccarelli
c55706b931 cockpitApi: create worker config file
Create the `osbuild-worker.toml` file if it doesn't exist already.
2025-07-15 12:38:52 +00:00
Gianluca Zuccarelli
afcc0126e4 cloudConfig: toggle aws config
This is still a wip since the form fields aren't yet disabled when the
config toggle is set to off.
2025-07-15 12:38:52 +00:00
Gianluca Zuccarelli
73ffb97414 cloudConfig: error component
Add an error component to improve the UI when there is an issue reading
the `osbuild-worker.toml` file.
2025-07-15 12:38:52 +00:00
Gianluca Zuccarelli
ecc1c2c8cd cockpitApi: get worker config
Add a query to load the `/etc/osbuild-worker/osbuild-worker.toml` config
and use this to set the state of the `cloudConfig` store slice.
2025-07-15 12:38:52 +00:00
Gianluca Zuccarelli
d7945a458a cockpitApi: add worker config types
Create a few types to help stick to conventions and tidy up the code.
2025-07-15 12:38:52 +00:00
Gianluca Zuccarelli
87647f8854 cloudConfig: configure the footer
Setup the footer for the AWS config step.
2025-07-15 12:38:52 +00:00
Gianluca Zuccarelli
9d2c798376 cloudConfig: add aws config fields 2025-07-15 12:38:52 +00:00
Gianluca Zuccarelli
1e545af0c7 cloudConfigSlice: add new slice 2025-07-15 12:38:52 +00:00
regexowl
719ee1a024 README: Remove information about deprecated insights proxy
The insights proxy has been deprecated for a long time.
2025-07-15 08:34:39 +00:00
red-hat-konflux[bot]
146a9131b4 chore(deps): update build-tools digest to 07aeb0d
Signed-off-by: red-hat-konflux <126015336+red-hat-konflux[bot]@users.noreply.github.com>
2025-07-15 06:42:40 +00:00
Lucas Garfield
fd474dace0 PackageRecommendations: Add modelVersion to analytics tracking
Previous commit 852d24e5 added modelVersion to the API response and mentioned
adding it to analytics tracking, but only added the distribution field to
the analytics events. This commit completes the implementation by adding
modelVersion to both package recommendation analytics events:

- "Package Recommendations Shown" event now includes modelVersion
- "Recommended Package Added" event now includes modelVersion

This enables proper tracking of which recommendation models are being used
and their effectiveness.

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-07-14 15:47:21 +00:00
regexowl
b6e9fef70b Wizard: Change WSL file extension
This updates WSL file extension from `.tar.gz` to `.wsl`
2025-07-14 14:02:03 +00:00
regexowl
10a67ca6e3 README: Re-structure, add info for external developers
This re-organizes the structure of the README so the parts are better grouped by topic.

Information for external developers was also added (VPN required for service development).
2025-07-14 10:03:42 +00:00
red-hat-konflux[bot]
d0aa6d733e chore(deps): update konflux references
Signed-off-by: red-hat-konflux <126015336+red-hat-konflux[bot]@users.noreply.github.com>
2025-07-14 09:05:23 +00:00
dependabot[bot]
a2da15b9d2 build(deps-dev): bump @types/node from 24.0.12 to 24.0.13
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 24.0.12 to 24.0.13.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node)

---
updated-dependencies:
- dependency-name: "@types/node"
  dependency-version: 24.0.13
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-07-11 07:18:31 +00:00
dependabot[bot]
6beae64f60 build(deps-dev): bump eslint-plugin-testing-library from 7.5.3 to 7.5.4
Bumps [eslint-plugin-testing-library](https://github.com/testing-library/eslint-plugin-testing-library) from 7.5.3 to 7.5.4.
- [Release notes](https://github.com/testing-library/eslint-plugin-testing-library/releases)
- [Changelog](https://github.com/testing-library/eslint-plugin-testing-library/blob/main/.releaserc.json)
- [Commits](https://github.com/testing-library/eslint-plugin-testing-library/compare/v7.5.3...v7.5.4)

---
updated-dependencies:
- dependency-name: eslint-plugin-testing-library
  dependency-version: 7.5.4
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-07-11 07:17:59 +00:00
dependabot[bot]
3e115228e4 build(deps-dev): bump @redhat-cloud-services/tsc-transform-imports
Bumps @redhat-cloud-services/tsc-transform-imports from 1.0.24 to 1.0.25.

---
updated-dependencies:
- dependency-name: "@redhat-cloud-services/tsc-transform-imports"
  dependency-version: 1.0.25
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-07-11 06:59:40 +00:00
dependabot[bot]
c17b54c68c build(deps-dev): bump @currents/playwright from 1.14.1 to 1.15.1
Bumps [@currents/playwright](https://github.com/currents-dev/currents-playwright-changelog) from 1.14.1 to 1.15.1.
- [Changelog](https://github.com/currents-dev/currents-playwright-changelog/blob/main/CHANGELOG.md)
- [Commits](https://github.com/currents-dev/currents-playwright-changelog/commits)

---
updated-dependencies:
- dependency-name: "@currents/playwright"
  dependency-version: 1.15.1
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-07-11 06:54:01 +00:00
regexowl
74817d87de devDeps: Bump msw from 2.10.2 to 2.10.3
This bumps msw from 2.10.2 to 2.10.3
2025-07-10 10:38:05 +00:00
dependabot[bot]
0bf939f2d0 build(deps-dev): bump eslint-plugin-import from 2.31.0 to 2.32.0
Bumps [eslint-plugin-import](https://github.com/import-js/eslint-plugin-import) from 2.31.0 to 2.32.0.
- [Release notes](https://github.com/import-js/eslint-plugin-import/releases)
- [Changelog](https://github.com/import-js/eslint-plugin-import/blob/main/CHANGELOG.md)
- [Commits](https://github.com/import-js/eslint-plugin-import/compare/v2.31.0...v2.32.0)

---
updated-dependencies:
- dependency-name: eslint-plugin-import
  dependency-version: 2.32.0
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-07-10 07:13:13 +00:00
dependabot[bot]
9ffbf67c42 build(deps-dev): bump @types/node from 24.0.10 to 24.0.12
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 24.0.10 to 24.0.12.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node)

---
updated-dependencies:
- dependency-name: "@types/node"
  dependency-version: 24.0.12
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-07-10 06:22:32 +00:00
schutzbot
8c4e8d4fab Post release version bump
[skip ci]
2025-07-09 08:37:19 +00:00
regexowl
bb9c5620ee Wizard: Show error with duplicated values
This show an error when user imports duplicate values to a `<LabelInput>` field.
2025-07-09 08:07:28 +00:00
Simon Steinbeiss
a92d087014 Drop Edge Management federated module (HMS-8637) 2025-07-09 07:03:34 +00:00
dependabot[bot]
33b374b3a0 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 8.35.1 to 8.36.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/v8.36.0/packages/eslint-plugin)

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

Signed-off-by: dependabot[bot] <support@github.com>
2025-07-08 12:22:21 +00:00
dependabot[bot]
94bcb9672f build(deps-dev): bump @typescript-eslint/parser from 8.35.1 to 8.36.0
Bumps [@typescript-eslint/parser](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser) from 8.35.1 to 8.36.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/v8.36.0/packages/parser)

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

Signed-off-by: dependabot[bot] <support@github.com>
2025-07-08 10:49:59 +00:00
dependabot[bot]
875b8a150d build(deps-dev): bump @babel/core from 7.27.7 to 7.28.0
Bumps [@babel/core](https://github.com/babel/babel/tree/HEAD/packages/babel-core) from 7.27.7 to 7.28.0.
- [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.28.0/packages/babel-core)

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

Signed-off-by: dependabot[bot] <support@github.com>
2025-07-07 10:03:50 +00:00
dependabot[bot]
8abeb4f53b build(deps-dev): bump stylelint from 16.21.0 to 16.21.1
Bumps [stylelint](https://github.com/stylelint/stylelint) from 16.21.0 to 16.21.1.
- [Release notes](https://github.com/stylelint/stylelint/releases)
- [Changelog](https://github.com/stylelint/stylelint/blob/main/CHANGELOG.md)
- [Commits](https://github.com/stylelint/stylelint/compare/16.21.0...16.21.1)

---
updated-dependencies:
- dependency-name: stylelint
  dependency-version: 16.21.1
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-07-07 08:50:53 +00:00
dependabot[bot]
5c93300927 build(deps-dev): bump @babel/preset-env from 7.27.2 to 7.28.0
Bumps [@babel/preset-env](https://github.com/babel/babel/tree/HEAD/packages/babel-preset-env) from 7.27.2 to 7.28.0.
- [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.28.0/packages/babel-preset-env)

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

Signed-off-by: dependabot[bot] <support@github.com>
2025-07-07 07:10:47 +00:00
red-hat-konflux[bot]
9f8b271b7d chore(deps): update konflux references
Signed-off-by: red-hat-konflux <126015336+red-hat-konflux[bot]@users.noreply.github.com>
2025-07-07 06:51:36 +00:00
CD Cabrera
9a29eeb28d fix: hms-8708 landing page sticky header 2025-07-04 08:23:56 +00:00