debian-image-builder-frontend/src/Utilities
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
..
analytics.ts Wizard: add segment tracking 2025-04-16 12:56:03 +02:00
epel.ts Wizard: add EPEL 10 support 2025-06-30 08:43:32 +00:00
isRhel.ts src/Utilities: RHEL 10 support for isRhel 2024-11-19 11:21:57 +01:00
path.ts cockpit: switch to hashrouter 2025-01-27 17:03:06 +01:00
releaseToVersion.ts Wizard: fix blueprints showing incorrect template versions 2025-05-28 09:08:05 +02:00
sortfn.ts Wizard: Sort activation keys list 2025-06-16 10:54:13 +00:00
time.ts fix: unify snapshot date format 2024-09-19 09:12:16 +02:00
useComposerStatus.tsx Utilities: add useComposerStatus hook 2025-02-04 23:08:50 +01:00
useDebounce.tsx Utilities: Fix "no-unnecessary-condition" issue 2025-01-25 21:06:00 -06:00
useGetEnvironment.ts Manually revert "Fedora-services: add support for fedora env" 2025-06-27 14:15:05 +02:00
useIsCockpitAdmin.tsx test/mocks/cockpit: add permission function 2025-05-07 11:03:18 +02:00
useOnPremOpenSCAP.tsx CreateImageWizard: refactor oscap availability 2025-03-31 18:02:11 -05:00
useProvisioningPermissions.ts Utilities: Migrate remaining files to TypeScript 2024-05-03 15:04:45 +02:00