debian-image-builder-frontend/src/store
Gianluca Zuccarelli e8d46dd716 deps: migrate fec/notifications
The frontend component library decoupled notifications from redux.
Dispatching notifications via the notifications middleware was replaced
by a new `useAddNotifications` hook.

We mostly used the notifications middleware outside of React Components
in our `enhancedImageBuilderApi` store for mutation events. I created a
wrapper around the RTK hooks that uses the `useAddNotification` hook
and created a directory for the new hooks.

In other places, where we were using the notification dispatcher inside
React components, I replaced the call with the new hook.

[1] b1d4973144/packages/notifications/doc/migration.md

bump @redhat-cloud-services/frontend-components-notifications

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

Co-authored-by: dependabot[bot] <support@github.com>
Assisted-by: cursor ide for generalizing the `useMutationWithNotification`
hook.
2025-07-01 09:17:38 +00:00
..
cockpit deps: migrate fec/notifications 2025-07-01 09:17:38 +00:00
service deps: migrate fec/notifications 2025-07-01 09:17:38 +00:00
backendApi.ts store/cockpitApi: query for oscap customizations 2025-03-31 18:02:11 -05:00
BlueprintSlice.ts api: union undefined 2024-12-06 12:02:34 -06:00
complianceApi.ts store: fix api imports & exports 2025-02-03 13:40:30 +01:00
contentSourcesApi.ts Repositories: fix architecture/version display to use readable names from API 2025-06-19 10:27:56 +00:00
edgeApi.ts store: fix api imports & exports 2025-02-03 13:40:30 +01:00
helpers.ts V2Wizard: Create a folder for Review step and copy review component and enable tests 2024-02-06 14:16:16 +01:00
hooks.ts src/store: Remove server store hooks 2024-09-16 11:45:54 +02:00
imageBuilderApi.ts store: fix api imports & exports 2025-02-03 13:40:30 +01:00
index.ts deps: migrate fec/notifications 2025-07-01 09:17:38 +00:00
listenerMiddleware.ts V2Wizard: Add listeners for <TargetEnvironment> in Image Output step 2024-01-08 11:59:23 +01:00
provisioningApi.ts store: fix api imports & exports 2025-02-03 13:40:30 +01:00
rhsmApi.ts store: fix api imports & exports 2025-02-03 13:40:30 +01:00
typeGuards.ts store: Update api schema 2023-11-07 11:13:28 +01:00
wizardSlice.ts Wizard: organize steps components into the "components" folders 2025-06-24 14:09:36 +00:00