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
dependabot[bot]
60a5b65acd
build(deps): bump react-redux from 9.1.2 to 9.2.0
...
Bumps [react-redux](https://github.com/reduxjs/react-redux ) from 9.1.2 to 9.2.0.
- [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.2...v9.2.0 )
---
updated-dependencies:
- dependency-name: react-redux
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-12-17 08:55:06 +01:00
regexowl
ae795c3b6a
Wizard: Extract ChippingInput to reusable component
...
This extracts input with chips from the NTP servers into a separate reusable ChippingInput component.
2024-12-16 12:12:56 -06:00
regexowl
8e046e3018
Wizard: Kernel step basics
...
This adds foundation for Kernel step, including gating and basic tests.
2024-12-16 10:53:06 +01:00
dependabot[bot]
8004ed75e4
build(deps): bump @patternfly/react-table from 5.4.11 to 5.4.12
...
Bumps [@patternfly/react-table](https://github.com/patternfly/patternfly-react ) from 5.4.11 to 5.4.12.
- [Release notes](https://github.com/patternfly/patternfly-react/releases )
- [Commits](https://github.com/patternfly/patternfly-react/compare/@patternfly/react-table@5.4.11...@patternfly/react-table@5.4.12 )
---
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-12-16 09:15:23 +01:00
red-hat-konflux[bot]
7b00182ec7
chore(deps): update konflux references
...
Signed-off-by: red-hat-konflux <126015336+red-hat-konflux[bot]@users.noreply.github.com>
2024-12-16 08:24:59 +01:00
dependabot[bot]
a60e280dc7
build(deps-dev): bump eslint-plugin-testing-library from 7.0.0 to 7.1.1
...
Bumps [eslint-plugin-testing-library](https://github.com/testing-library/eslint-plugin-testing-library ) from 7.0.0 to 7.1.1.
- [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.0.0...v7.1.1 )
---
updated-dependencies:
- dependency-name: eslint-plugin-testing-library
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-12-13 14:44:02 +01: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
dependabot[bot]
ec2b6acf54
build(deps-dev): bump chart.js from 4.4.4 to 4.4.7
...
Bumps [chart.js](https://github.com/chartjs/Chart.js ) from 4.4.4 to 4.4.7.
- [Release notes](https://github.com/chartjs/Chart.js/releases )
- [Commits](https://github.com/chartjs/Chart.js/compare/v4.4.4...v4.4.7 )
---
updated-dependencies:
- dependency-name: chart.js
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-12-13 08:40:30 +01:00
regexowl
a5966b2f29
test: Add edit tests for hostname
...
This adds an edit test for the Hostname step.
2024-12-12 14:53:18 -06:00
regexowl
9b6934438a
validators: Allow only lowercase characters for hostname
...
Validation error mentions only lowercase characters, this updates the regex accordingly.
2024-12-12 14:53:22 +02:00
regexowl
3bd4dc89c4
test: Add test to check hostname length
...
This adds a test to check the length of the hostname.
2024-12-12 14:53:22 +02:00
regexowl
dc24ba24e4
Wizard: Add Hostname expandable to Review step
...
This adds a new expandable to the Review step.
2024-12-12 13:47:09 +02: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
dependabot[bot]
8c8e446200
build(deps-dev): bump @babel/preset-react from 7.25.9 to 7.26.3
...
Bumps [@babel/preset-react](https://github.com/babel/babel/tree/HEAD/packages/babel-preset-react ) from 7.25.9 to 7.26.3.
- [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.26.3/packages/babel-preset-react )
---
updated-dependencies:
- dependency-name: "@babel/preset-react"
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-12-12 10:23:28 +01:00
Lucas Garfield
b4932d6a44
Wizard: Hostname validation
...
Hostname validation rules can be found in the hostname man pages (`man 5
hostname`). This commit tweaks the hostname validator function so it is
in line with these guidelines by limiting the length to 64 characters
and also updates the error message for invalid hostnames to provide
users with some additional guidance/context when an invalid hostname is
provided.
2024-12-11 12:59:41 -06:00
regexowl
5a514d1d04
Wizard: Add Hostname functionality
...
This adds a validated hostname input and new tests.
2024-12-11 12:59:41 -06:00
Sanne Raymaekers
c98b7d9997
package.json: remove sentry-cli
2024-12-11 16:58:58 +01:00
Sanne Raymaekers
6070641028
ci.sh: let the webpack plugin do the sentry debug id injecting
2024-12-11 16:58:58 +01:00
Sanne Raymaekers
196f52b821
fec.config.js: use webpack plugin to inject sentry debug ids
...
The module metadata, which is only available in the webpack plugin, is
needed for correct routing.
2024-12-11 16:58:58 +01:00
dependabot[bot]
ba449ac2a5
build(deps): bump @redhat-cloud-services/frontend-components-notifications
...
Bumps [@redhat-cloud-services/frontend-components-notifications](https://github.com/RedHatInsights/frontend-components ) from 4.1.0 to 4.1.1.
- [Release notes](https://github.com/RedHatInsights/frontend-components/releases )
- [Changelog](https://github.com/RedHatInsights/frontend-components/blob/master/CHANGELOG.md )
- [Commits](https://github.com/RedHatInsights/frontend-components/commits/@redhat-cloud-services/frontend-components-notifications-4.1.1 )
---
updated-dependencies:
- dependency-name: "@redhat-cloud-services/frontend-components-notifications"
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-12-11 08:35:40 +01:00
regexowl
75741ec40e
test: Add basics Hostname tests
...
This adds basic tests for the Hostname step.
2024-12-10 12:37:36 -06:00
regexowl
8c108fe2ec
Wizard: Basic Hostname step
...
This adds Hostname step basics and file structure.
2024-12-10 12:37:36 -06: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
Simon Steinbeiss
80e793cbfd
github/actions: Enable /jira-epic slash commands
...
This change depends on
https://github.com/osbuild/pr-best-practices/pull/8
It means you can use the command both in a standalone comment or
directly in the PR description.
2024-12-10 11:07:06 -06:00
regexowl
e98376de1a
test: Clean up comments left over after rebasing
...
This removes two comments left over after rebasing, both tests are already implemented a bit higher in the file.
2024-12-10 09:58:54 -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
dependabot[bot]
0d952fc878
build(deps): bump nanoid from 3.3.7 to 3.3.8
...
Bumps [nanoid](https://github.com/ai/nanoid ) from 3.3.7 to 3.3.8.
- [Release notes](https://github.com/ai/nanoid/releases )
- [Changelog](https://github.com/ai/nanoid/blob/main/CHANGELOG.md )
- [Commits](https://github.com/ai/nanoid/compare/3.3.7...3.3.8 )
---
updated-dependencies:
- dependency-name: nanoid
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-12-10 14:14:54 +01:00
regexowl
8d84b5eef2
Wizard: Add Locale to Review step
...
This adds Locale expandable to the Review step.
2024-12-10 04:15:37 -06:00
Sanne Raymaekers
3dcafd5672
store/enhancedImageBuilderApi: handle empty error data
...
Turns out it can also return `{error: data: {}}`, so without `errors`
inside the data object.
2024-12-10 10:30:18 +01:00
Sanne Raymaekers
3addcf66f4
ci.sh: inject debug ids using sentry-cli
...
Since we're building with konflux now, we lost the debug ids. By
injecting the debug ids in konflux we regain unminified sourcemaps in
sentry. Note that jenkins will continue to upload the sourcemaps, which
are tied to specific releases, we just need the debug ids to be in the
production artefacts.
2024-12-10 09:16:25 +01:00
dependabot[bot]
e90a4fc9b3
build(deps-dev): bump @typescript-eslint/parser from 8.17.0 to 8.18.0
...
Bumps [@typescript-eslint/parser](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser ) from 8.17.0 to 8.18.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.18.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-12-10 08:37:14 +01:00
regexowl
c9efe9e22d
Wizard: Use reusable sort function
...
This replaces sortfn with a reusable sorting function from utilities.
2024-12-09 14:30:26 -06:00
regexowl
ad02609038
Wizard: Add Languages drop down
...
This adds a drop down for languages selection. The options are populated with an ouput of `localectl list-locales` and sorted to display results starting with the search term first.
Also added tests.
2024-12-09 14:30:26 -06:00
regexowl
9324a33a74
Wizard: Add validation for NTP servers
...
This adds a validation pattern and a validation for NTP servers field.
2024-12-09 13:44:10 -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
dependabot[bot]
590855c7f3
build(deps): bump @redhat-cloud-services/frontend-components-utilities
...
Bumps [@redhat-cloud-services/frontend-components-utilities](https://github.com/RedHatInsights/frontend-components ) from 4.0.17 to 4.0.19.
- [Release notes](https://github.com/RedHatInsights/frontend-components/releases )
- [Changelog](https://github.com/RedHatInsights/frontend-components/blob/master/CHANGELOG.md )
- [Commits](https://github.com/RedHatInsights/frontend-components/commits )
---
updated-dependencies:
- dependency-name: "@redhat-cloud-services/frontend-components-utilities"
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-12-09 14:21:28 +01:00
red-hat-konflux[bot]
16668fc4ce
chore(deps): update konflux references
...
Signed-off-by: red-hat-konflux <126015336+red-hat-konflux[bot]@users.noreply.github.com>
2024-12-09 12:54:46 +01:00
dependabot[bot]
71d9fd636d
build(deps-dev): bump sass from 1.79.5 to 1.82.0
...
Bumps [sass](https://github.com/sass/dart-sass ) from 1.79.5 to 1.82.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.79.5...1.82.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-12-09 11:37:24 +01:00
Lucas Garfield
3d75b5b5ee
Utilities: Extract sorting function
...
Extracts the function used to sort packages as a utility function so it
can be reused for sorting locales as well.
2024-12-06 16:58:06 -06:00
regexowl
4899553151
test: Add Locale tests for keyboard drop down
...
This adds tests checking functionality of keyboard drop down and blueprint request with locale.
2024-12-06 16:58:06 -06:00
regexowl
97877114f6
Wizard: Add Keyboard drop down
...
This adds a drop down for keyboard selection. The options are populated with an output of `localectl list-keymaps`.
2024-12-06 16:58:06 -06:00
regexowl
60175aa911
Wizard: Remove category and fix Review alignment
...
This removes the chip category and adds a version slug to make the alignment on Review step work properly.
2024-12-06 13:53:56 -06:00
regexowl
1483ff9e9e
Wizard: Replace the list of timezones
...
This replaces the list of timezones created via `Intl.supportedValuesOf('timeZone')` by tzdata-2024b list.
2024-12-06 13:53:56 -06:00
regexowl
39f618c3d8
Wizard: Update the way of adding NTP servers
...
This updates the way NTP servers can be added:
- helper text was removed
- add button (PlusCircle) was added to the input group utilities
- remove input button is now rendered always, but gets disabled when there's no input
- chip group was moved under the input
Also I've noticed that the "clear input" button completely cleared the list of NTP servers which would make me very angry as a user. Fixed it, so now the clear input button only clears the input field and the `clearNtpServers` action was removed as we don't use it anywhere else.
2024-12-06 13:53:56 -06:00
regexowl
b8915da3fd
test: Add more test coverage for Timezone step
...
This adds more tests for the Timezone step:
- 'Step Timezone' -> 'revisit step button on Review works'
- 'Timezone request generated correctly'
- 'Timezone edit mode'
2024-12-06 13:53:56 -06:00
regexowl
c851d4abac
Wizard: Add Timezone step to Review lists
...
This adds a Timezone overview to the Review step.
2024-12-06 13:53:56 -06:00
regexowl
6427dc5285
Wizard: Add Timezone dropdown and NTP servers input
...
This adds a Timezone select, the select is typeahead and allows to filter through all defaultTimezones. It's also scrollable so it doesn't take up all of the space.
The NTP servers are currently in a text input, the server is added by confirming with a space, comma or an Enter, making the server a chip and adding it to the array of NTP servers.
2024-12-06 13:53:56 -06:00
regexowl
ab446c2a36
Wizard: Add timezone structure to store and mapper
...
This creates structure and actions for the timezone customization in the wizardSlice and requestMapper.
2024-12-06 13:53:56 -06:00
Gianluca Zuccarelli
696cc4f4bf
tsconfig: exactOptionalPropertyTypes
...
This is a recommended setting, see:
https://www.typescriptlang.org/tsconfig/#exactOptionalPropertyTypes
2024-12-06 12:02:34 -06:00