diff --git a/open-lens/package.json b/open-lens/package.json
index 0a2cea4562..838c37f897 100644
--- a/open-lens/package.json
+++ b/open-lens/package.json
@@ -206,6 +206,7 @@
"@k8slens/messaging-for-renderer": "^1.0.0",
"@k8slens/metrics": "^6.5.0",
"@k8slens/node-fetch": "^6.5.0",
+ "@k8slens/prometheus": "^1.0.0",
"@k8slens/random": "^1.0.0",
"@k8slens/react-application": "^1.0.0",
"@k8slens/resizing-anchor": "^1.0.0",
diff --git a/open-lens/src/main/index.ts b/open-lens/src/main/index.ts
index 58592cc42b..8a90aaca46 100644
--- a/open-lens/src/main/index.ts
+++ b/open-lens/src/main/index.ts
@@ -14,6 +14,7 @@ import { messagingFeatureForMain } from "@k8slens/messaging-for-main";
import { loggerFeature } from "@k8slens/logger";
import { randomFeature } from "@k8slens/random";
import { kubeApiSpecificsFeature } from "@k8slens/kube-api-specifics";
+import { prometheusFeature } from "@k8slens/prometheus";
const environment = "main";
@@ -26,12 +27,10 @@ registerMobX(di);
runInAction(() => {
registerLensCore(di, environment);
- registerFeature(di,
- loggerFeature,
- );
-
registerFeature(
di,
+ loggerFeature,
+ prometheusFeature,
applicationFeature,
applicationFeatureForElectronMain,
messagingFeatureForMain,
diff --git a/open-lens/src/renderer/index.ts b/open-lens/src/renderer/index.ts
index 0525f968e8..bfcb814a8a 100644
--- a/open-lens/src/renderer/index.ts
+++ b/open-lens/src/renderer/index.ts
@@ -5,6 +5,7 @@ import "@k8slens/tooltip/styles";
import "@k8slens/resizing-anchor/styles";
import "@k8slens/icon/styles";
import "@k8slens/animate/styles";
+import "@k8slens/notifications/styles";
import { runInAction } from "mobx";
import {
@@ -31,6 +32,7 @@ import { animateFeature } from "@k8slens/animate";
import { clusterSidebarFeature } from "@k8slens/cluster-sidebar";
import { randomFeature } from "@k8slens/random";
import { kubeApiSpecificsFeature } from "@k8slens/kube-api-specifics";
+import { notificationsFeature } from "@k8slens/notifications";
const environment = "renderer";
@@ -60,6 +62,7 @@ runInAction(() => {
clusterSidebarFeature,
randomFeature,
kubeApiSpecificsFeature,
+ notificationsFeature,
);
autoRegister({
diff --git a/package-lock.json b/package-lock.json
index 6f89bb48e6..552593e91c 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -3831,6 +3831,14 @@
"resolved": "packages/node-fetch",
"link": true
},
+ "node_modules/@k8slens/notifications": {
+ "resolved": "packages/ui-components/notifications",
+ "link": true
+ },
+ "node_modules/@k8slens/prometheus": {
+ "resolved": "packages/technical-features/prometheus",
+ "link": true
+ },
"node_modules/@k8slens/random": {
"resolved": "packages/random-id",
"link": true
@@ -33993,6 +34001,7 @@
"@k8slens/messaging-for-renderer": "^1.0.0",
"@k8slens/metrics": "^6.5.0",
"@k8slens/node-fetch": "^6.5.0",
+ "@k8slens/prometheus": "^1.0.0",
"@k8slens/random": "^1.0.0",
"@k8slens/react-application": "^1.0.0",
"@k8slens/resizing-anchor": "^1.0.0",
@@ -34335,6 +34344,8 @@
"@k8slens/messaging-for-renderer": "^1.0.0-alpha.1",
"@k8slens/metrics": "^6.5.0-alpha.7",
"@k8slens/node-fetch": "^6.5.0-alpha.3",
+ "@k8slens/notifications": "^1.0.0",
+ "@k8slens/prometheus": "^1.0.0",
"@k8slens/random": "^1.0.0",
"@k8slens/react-application": "^1.0.0-alpha.5",
"@k8slens/resizing-anchor": "^1.0.0-alpha.5",
@@ -35248,6 +35259,28 @@
"url": "https://opencollective.com/node-fetch"
}
},
+ "packages/prometheus": {
+ "name": "@k8slens/prometheus",
+ "version": "1.0.0",
+ "extraneous": true,
+ "license": "MIT",
+ "devDependencies": {
+ "@k8slens/eslint-config": "^6.5.0-alpha.3",
+ "@k8slens/jest": "^6.5.0-alpha.5",
+ "@k8slens/typescript": "^6.5.0-alpha.3",
+ "@k8slens/webpack": "^6.5.0-alpha.9"
+ },
+ "peerDependencies": {
+ "@k8slens/application": "^6.5.0-alpha.2",
+ "@k8slens/feature-core": "^6.5.0-alpha.0",
+ "@k8slens/utilities": "^1.0.0-alpha.7",
+ "@kubernetes/client-node": "^0.18.1",
+ "@ogre-tools/fp": "^16.1.0",
+ "@ogre-tools/injectable": "^16.1.0",
+ "@ogre-tools/injectable-extension-for-auto-registration": "^16.1.0",
+ "@ogre-tools/injectable-extension-for-mobx": "^16.1.0"
+ }
+ },
"packages/random-id": {
"name": "@k8slens/random",
"version": "1.0.0",
@@ -35517,6 +35550,27 @@
"mobx": "^6.9.0"
}
},
+ "packages/technical-features/prometheus": {
+ "name": "@k8slens/prometheus",
+ "version": "1.0.0",
+ "license": "MIT",
+ "devDependencies": {
+ "@k8slens/eslint-config": "^6.5.0-alpha.3",
+ "@k8slens/jest": "^6.5.0-alpha.5",
+ "@k8slens/typescript": "^6.5.0-alpha.3",
+ "@k8slens/webpack": "^6.5.0-alpha.9"
+ },
+ "peerDependencies": {
+ "@k8slens/application": "^6.5.0-alpha.2",
+ "@k8slens/feature-core": "^6.5.0-alpha.0",
+ "@k8slens/utilities": "^1.0.0-alpha.7",
+ "@kubernetes/client-node": "^0.18.1",
+ "@ogre-tools/fp": "^17.2.0",
+ "@ogre-tools/injectable": "^17.2.0",
+ "@ogre-tools/injectable-extension-for-auto-registration": "^17.2.0",
+ "@ogre-tools/injectable-extension-for-mobx": "^17.2.0"
+ }
+ },
"packages/technical-features/react-application": {
"name": "@k8slens/react-application",
"version": "1.0.0",
@@ -35662,6 +35716,42 @@
"winston": "^3.8.2"
}
},
+ "packages/ui-components/notifications": {
+ "name": "@k8slens/notifications",
+ "version": "1.0.0",
+ "license": "MIT",
+ "devDependencies": {
+ "@k8slens/eslint-config": "^6.5.0",
+ "@k8slens/webpack": "^6.5.0"
+ },
+ "peerDependencies": {
+ "@k8slens/animate": "^1.0.0-alpha.0",
+ "@k8slens/application": "^6.5.0",
+ "@k8slens/event-emitter": "^1.0.0",
+ "@k8slens/feature-core": "^6.5.0-alpha.0",
+ "@k8slens/icon": "^1.0.0-alpha.7",
+ "@k8slens/json-api": "^1.0.0-alpha.3",
+ "@k8slens/logger": "^1.0.0",
+ "@k8slens/react-application": "^1.0.0-alpha.5",
+ "@k8slens/run-many": "^1.0.0",
+ "@k8slens/tooltip": "^1.0.0",
+ "@k8slens/utilities": "^1.0.0-alpha.1",
+ "@ogre-tools/fp": "^17.2.0",
+ "@ogre-tools/injectable": "^17.2.0",
+ "@ogre-tools/injectable-extension-for-auto-registration": "^17.2.0",
+ "@ogre-tools/injectable-extension-for-mobx": "^17.2.0",
+ "@ogre-tools/injectable-react": "^17.2.0",
+ "auto-bind": "^4.0.0",
+ "lodash": "^4.17.21",
+ "mobx": "^6.8.0",
+ "mobx-react": "^7.6.0",
+ "react": "^17.0.2",
+ "react-dom": "^17.0.2",
+ "react-router-dom": "^5.3.4",
+ "uuid": "^8.3.2",
+ "winston": "^3.8.2"
+ }
+ },
"packages/ui-components/resizing-anchor": {
"name": "@k8slens/resizing-anchor",
"version": "1.0.0",
diff --git a/package.json b/package.json
index d2e809bb04..6b6e75c4a9 100644
--- a/package.json
+++ b/package.json
@@ -27,6 +27,7 @@
"mkdocs:serve-local": "docker build -t mkdocs-serve-local:latest mkdocs/ && docker run --rm -it -p 8000:8000 -v ${PWD}:/docs mkdocs-serve-local:latest",
"mkdocs:verify": "docker build -t mkdocs-serve-local:latest mkdocs/ && docker run --rm -v ${PWD}:/docs mkdocs-serve-local:latest build --strict",
"test:unit": "lerna run --stream test:unit --no-bail",
+ "test:unit:updatesnapshot": "lerna run --stream test:unit --no-bail -- -u",
"test:unit:watch": "jest --watch",
"test:integration": "lerna run --stream test:integration --no-bail",
"bump-version": "lerna version --no-git-tag-version --no-push",
diff --git a/packages/core/package.json b/packages/core/package.json
index 919de6d364..59a4d351cc 100644
--- a/packages/core/package.json
+++ b/packages/core/package.json
@@ -207,6 +207,7 @@
"@hapi/call": "^9.0.1",
"@hapi/subtext": "^7.1.0",
"@k8slens/animate": "^1.0.0-alpha.0",
+ "@k8slens/notifications": "^1.0.0",
"@k8slens/application": "^6.5.0-alpha.0",
"@k8slens/application-for-electron-main": "^6.5.0-alpha.0",
"@k8slens/button": "^1.0.0-alpha.5",
@@ -228,6 +229,7 @@
"@k8slens/messaging-for-renderer": "^1.0.0-alpha.1",
"@k8slens/metrics": "^6.5.0-alpha.7",
"@k8slens/node-fetch": "^6.5.0-alpha.3",
+ "@k8slens/prometheus": "^1.0.0",
"@k8slens/react-application": "^1.0.0-alpha.5",
"@k8slens/random": "^1.0.0",
"@k8slens/resizing-anchor": "^1.0.0-alpha.5",
diff --git a/packages/core/src/extensions/lens-renderer-extension.ts b/packages/core/src/extensions/lens-renderer-extension.ts
index 76a35eae05..b34f8ef84f 100644
--- a/packages/core/src/extensions/lens-renderer-extension.ts
+++ b/packages/core/src/extensions/lens-renderer-extension.ts
@@ -26,7 +26,7 @@ import { getExtensionRoutePath } from "../renderer/routes/for-extension";
import type { KubeObjectHandlerRegistration } from "../renderer/kube-object/handler";
import type { AppPreferenceTabRegistration } from "../features/preferences/renderer/compliance-for-legacy-extension-api/app-preference-tab-registration";
import type { KubeObjectDetailRegistration } from "../renderer/components/kube-object-details/kube-object-detail-registration";
-import type { ClusterFrameChildComponent } from "../renderer/frames/cluster-frame/cluster-frame-child-component-injection-token";
+import type { ClusterFrameChildComponent } from "@k8slens/react-application";
import type { EntitySettingRegistration } from "../renderer/components/entity-settings/extension-registrator.injectable";
import type { CatalogEntityDetailRegistration } from "../renderer/components/catalog/entity-details/token";
import type { PageRegistration } from "../renderer/routes/page-registration";
diff --git a/packages/core/src/extensions/renderer-api/components.ts b/packages/core/src/extensions/renderer-api/components.ts
index 36ce3bba0a..91c5e98560 100644
--- a/packages/core/src/extensions/renderer-api/components.ts
+++ b/packages/core/src/extensions/renderer-api/components.ts
@@ -16,15 +16,18 @@ import { ConfirmDialog as _ConfirmDialog } from "../../renderer/components/confi
import type { ConfirmDialogBooleanParams, ConfirmDialogParams, ConfirmDialogProps } from "../../renderer/components/confirm-dialog";
import openConfirmDialogInjectable from "../../renderer/components/confirm-dialog/open.injectable";
import confirmInjectable from "../../renderer/components/confirm-dialog/confirm.injectable";
-import notificationsStoreInjectable from "../../renderer/components/notifications/notifications-store.injectable";
+import {
+ notificationsStoreInjectable,
+ showCheckedErrorNotificationInjectable,
+ showErrorNotificationInjectable,
+ showInfoNotificationInjectable,
+ showShortInfoNotificationInjectable,
+ showSuccessNotificationInjectable,
+} from "@k8slens/notifications";
import podStoreInjectable from "../../renderer/components/workloads-pods/store.injectable";
import getDetailsUrlInjectable from "../../renderer/components/kube-detail-params/get-details-url.injectable";
import showDetailsInjectable from "../../renderer/components/kube-detail-params/show-details.injectable";
-import showCheckedErrorNotificationInjectable from "../../renderer/components/notifications/show-checked-error.injectable";
-import showErrorNotificationInjectable from "../../renderer/components/notifications/show-error-notification.injectable";
-import showInfoNotificationInjectable from "../../renderer/components/notifications/show-info-notification.injectable";
-import showShortInfoNotificationInjectable from "../../renderer/components/notifications/show-short-info.injectable";
-import showSuccessNotificationInjectable from "../../renderer/components/notifications/show-success-notification.injectable";
+
// layouts
export * from "../../renderer/components/layout/main-layout";
@@ -79,7 +82,7 @@ export {
type NotificationMessage,
type ShowNotification,
type NotificationsStore,
-} from "../../renderer/components/notifications";
+} from"@k8slens/notifications";
export const Notifications = {
ok: asLegacyGlobalFunctionForExtensionApi(showSuccessNotificationInjectable),
diff --git a/packages/core/src/features/__snapshots__/extension-special-characters-in-page-registrations.test.tsx.snap b/packages/core/src/features/__snapshots__/extension-special-characters-in-page-registrations.test.tsx.snap
index 93047b5827..ff06a6b9ad 100644
--- a/packages/core/src/features/__snapshots__/extension-special-characters-in-page-registrations.test.tsx.snap
+++ b/packages/core/src/features/__snapshots__/extension-special-characters-in-page-registrations.test.tsx.snap
@@ -2,6 +2,9 @@
exports[`extension special characters in page registrations renders 1`] = `
+
@@ -339,14 +342,14 @@ exports[`extension special characters in page registrations renders 1`] = `
/>
-
`;
exports[`extension special characters in page registrations when navigating to route with ID having special characters renders 1`] = `
+
@@ -560,8 +563,5 @@ exports[`extension special characters in page registrations when navigating to r
/>
-
`;
diff --git a/packages/core/src/features/__snapshots__/navigate-to-extension-page.test.tsx.snap b/packages/core/src/features/__snapshots__/navigate-to-extension-page.test.tsx.snap
index 1dbfd9a235..c24dec4f2d 100644
--- a/packages/core/src/features/__snapshots__/navigate-to-extension-page.test.tsx.snap
+++ b/packages/core/src/features/__snapshots__/navigate-to-extension-page.test.tsx.snap
@@ -2,6 +2,9 @@
exports[`navigate to extension page renders 1`] = `
+
@@ -339,14 +342,14 @@ exports[`navigate to extension page renders 1`] = `
/>
-
`;
exports[`navigate to extension page when extension navigates to child route renders 1`] = `
+
@@ -560,14 +563,14 @@ exports[`navigate to extension page when extension navigates to child route rend
/>
-
`;
exports[`navigate to extension page when extension navigates to route with parameters renders 1`] = `
+
@@ -797,14 +800,14 @@ exports[`navigate to extension page when extension navigates to route with param
/>
-
`;
exports[`navigate to extension page when extension navigates to route without parameters renders 1`] = `
+
@@ -1034,14 +1037,14 @@ exports[`navigate to extension page when extension navigates to route without pa
/>
-
`;
exports[`navigate to extension page when extension navigates to route without parameters when changing page parameters renders 1`] = `
+
@@ -1271,8 +1274,5 @@ exports[`navigate to extension page when extension navigates to route without pa
/>
-
`;
diff --git a/packages/core/src/features/__snapshots__/navigating-between-routes.test.tsx.snap b/packages/core/src/features/__snapshots__/navigating-between-routes.test.tsx.snap
index 1280d1a3ce..91a68cf004 100644
--- a/packages/core/src/features/__snapshots__/navigating-between-routes.test.tsx.snap
+++ b/packages/core/src/features/__snapshots__/navigating-between-routes.test.tsx.snap
@@ -2,6 +2,9 @@
exports[`navigating between routes given route with optional path parameters when navigating to route with path parameters renders 1`] = `
+
@@ -218,14 +221,14 @@ exports[`navigating between routes given route with optional path parameters whe
/>
-
`;
exports[`navigating between routes given route without path parameters when navigating to route renders 1`] = `
+
@@ -439,8 +442,5 @@ exports[`navigating between routes given route without path parameters when navi
/>
-
`;
diff --git a/packages/core/src/features/add-cluster/__snapshots__/navigation-using-application-menu.test.tsx.snap b/packages/core/src/features/add-cluster/__snapshots__/navigation-using-application-menu.test.tsx.snap
index 91e901072d..1b9d75f07f 100644
--- a/packages/core/src/features/add-cluster/__snapshots__/navigation-using-application-menu.test.tsx.snap
+++ b/packages/core/src/features/add-cluster/__snapshots__/navigation-using-application-menu.test.tsx.snap
@@ -2,6 +2,9 @@
exports[`add-cluster - navigation using application menu renders 1`] = `
+
@@ -339,14 +342,14 @@ exports[`add-cluster - navigation using application menu renders 1`] = `
/>
-
`;
exports[`add-cluster - navigation using application menu when navigating to add cluster using application menu renders 1`] = `
+
@@ -644,8 +647,5 @@ exports[`add-cluster - navigation using application menu when navigating to add
/>
-
`;
diff --git a/packages/core/src/features/application-update/__snapshots__/hiding-preference-when-disabled.test.ts.snap b/packages/core/src/features/application-update/__snapshots__/hiding-preference-when-disabled.test.ts.snap
index 3f0ffbfa07..93866d2d68 100644
--- a/packages/core/src/features/application-update/__snapshots__/hiding-preference-when-disabled.test.ts.snap
+++ b/packages/core/src/features/application-update/__snapshots__/hiding-preference-when-disabled.test.ts.snap
@@ -3,6 +3,9 @@
exports[`hiding Update Channel preference with updating is not enabled renders 1`] = `
+
@@ -673,9 +676,6 @@ exports[`hiding Update Channel preference with updating is not enabled renders 1
/>
-
`;
@@ -683,6 +683,9 @@ exports[`hiding Update Channel preference with updating is not enabled renders 1
exports[`showing Update Channel preference with updating is enabled renders 1`] = `
+
@@ -1442,9 +1445,6 @@ exports[`showing Update Channel preference with updating is enabled renders 1`]
/>
-
`;
diff --git a/packages/core/src/features/application-update/__snapshots__/installing-update.test.ts.snap b/packages/core/src/features/application-update/__snapshots__/installing-update.test.ts.snap
index 70dd9078fb..3cf464f6ac 100644
--- a/packages/core/src/features/application-update/__snapshots__/installing-update.test.ts.snap
+++ b/packages/core/src/features/application-update/__snapshots__/installing-update.test.ts.snap
@@ -3,6 +3,9 @@
exports[`installing update when started renders 1`] = `
+
@@ -340,9 +343,6 @@ exports[`installing update when started renders 1`] = `
/>
-
`;
@@ -350,6 +350,9 @@ exports[`installing update when started renders 1`] = `
exports[`installing update when started when user checks for updates renders 1`] = `
+
@@ -687,9 +690,6 @@ exports[`installing update when started when user checks for updates renders 1`]
/>
-
`;
@@ -697,6 +697,9 @@ exports[`installing update when started when user checks for updates renders 1`]
exports[`installing update when started when user checks for updates when new update is discovered renders 1`] = `
+
@@ -1034,9 +1037,6 @@ exports[`installing update when started when user checks for updates when new up
/>
-
`;
@@ -1044,6 +1044,9 @@ exports[`installing update when started when user checks for updates when new up
exports[`installing update when started when user checks for updates when new update is discovered when download fails renders 1`] = `
+
@@ -1381,9 +1384,6 @@ exports[`installing update when started when user checks for updates when new up
/>
-
`;
@@ -1391,6 +1391,9 @@ exports[`installing update when started when user checks for updates when new up
exports[`installing update when started when user checks for updates when new update is discovered when download succeeds given checking for updates again when check resolves with different update that was previously downloaded when download fails renders 1`] = `
+
@@ -1728,9 +1731,6 @@ exports[`installing update when started when user checks for updates when new up
/>
-
`;
@@ -1738,6 +1738,9 @@ exports[`installing update when started when user checks for updates when new up
exports[`installing update when started when user checks for updates when new update is discovered when download succeeds given checking for updates again when check resolves with different update that was previously downloaded when download resolves successfully renders 1`] = `
+
@@ -2100,9 +2103,6 @@ exports[`installing update when started when user checks for updates when new up
/>
-
`;
@@ -2110,6 +2110,9 @@ exports[`installing update when started when user checks for updates when new up
exports[`installing update when started when user checks for updates when new update is discovered when download succeeds given checking for updates again when check resolves with same update that is already downloaded renders 1`] = `
+
@@ -2472,9 +2475,6 @@ exports[`installing update when started when user checks for updates when new up
/>
-
`;
@@ -2482,6 +2482,9 @@ exports[`installing update when started when user checks for updates when new up
exports[`installing update when started when user checks for updates when new update is discovered when download succeeds renders 1`] = `
+
@@ -2844,9 +2847,6 @@ exports[`installing update when started when user checks for updates when new up
/>
-
`;
@@ -2854,6 +2854,9 @@ exports[`installing update when started when user checks for updates when new up
exports[`installing update when started when user checks for updates when no new update is discovered renders 1`] = `
+
@@ -3191,9 +3194,6 @@ exports[`installing update when started when user checks for updates when no new
/>
-
`;
diff --git a/packages/core/src/features/application-update/child-features/application-update-using-application-menu/__snapshots__/application-update-using-application-menu.test.ts.snap b/packages/core/src/features/application-update/child-features/application-update-using-application-menu/__snapshots__/application-update-using-application-menu.test.ts.snap
index 51f9570841..16ffd55d35 100644
--- a/packages/core/src/features/application-update/child-features/application-update-using-application-menu/__snapshots__/application-update-using-application-menu.test.ts.snap
+++ b/packages/core/src/features/application-update/child-features/application-update-using-application-menu/__snapshots__/application-update-using-application-menu.test.ts.snap
@@ -3,6 +3,9 @@
exports[`installing update using application menu when started renders 1`] = `
+
@@ -340,9 +343,6 @@ exports[`installing update using application menu when started renders 1`] = `
/>
-
`;
diff --git a/packages/core/src/features/application-update/child-features/application-update-using-top-bar/__snapshots__/installing-update-using-topbar-button.test.tsx.snap b/packages/core/src/features/application-update/child-features/application-update-using-top-bar/__snapshots__/installing-update-using-topbar-button.test.tsx.snap
index 6ec61d27cf..99a1eea3a7 100644
--- a/packages/core/src/features/application-update/child-features/application-update-using-top-bar/__snapshots__/installing-update-using-topbar-button.test.tsx.snap
+++ b/packages/core/src/features/application-update/child-features/application-update-using-top-bar/__snapshots__/installing-update-using-topbar-button.test.tsx.snap
@@ -3,6 +3,9 @@
exports[`encourage user to update when sufficient time passed since update was downloaded when started given the update check when update downloaded given some time passes, when checking for updates again when checking for updates resolves with same version that was previously downloaded renders 1`] = `
+
@@ -365,9 +368,6 @@ exports[`encourage user to update when sufficient time passed since update was d
/>
-
`;
@@ -375,6 +375,9 @@ exports[`encourage user to update when sufficient time passed since update was d
exports[`encourage user to update when sufficient time passed since update was downloaded when started renders 1`] = `
+
@@ -712,9 +715,6 @@ exports[`encourage user to update when sufficient time passed since update was d
/>
-
`;
diff --git a/packages/core/src/features/application-update/child-features/application-update-using-tray/__snapshots__/installing-update-using-tray.test.ts.snap b/packages/core/src/features/application-update/child-features/application-update-using-tray/__snapshots__/installing-update-using-tray.test.ts.snap
index 6634465613..79150fefa1 100644
--- a/packages/core/src/features/application-update/child-features/application-update-using-tray/__snapshots__/installing-update-using-tray.test.ts.snap
+++ b/packages/core/src/features/application-update/child-features/application-update-using-tray/__snapshots__/installing-update-using-tray.test.ts.snap
@@ -3,6 +3,9 @@
exports[`installing update using tray when started renders 1`] = `
+
@@ -340,9 +343,6 @@ exports[`installing update using tray when started renders 1`] = `
/>
-
`;
@@ -350,6 +350,9 @@ exports[`installing update using tray when started renders 1`] = `
exports[`installing update using tray when started when user checks for updates using tray renders 1`] = `
+
@@ -687,9 +690,6 @@ exports[`installing update using tray when started when user checks for updates
/>
-
`;
@@ -697,6 +697,9 @@ exports[`installing update using tray when started when user checks for updates
exports[`installing update using tray when started when user checks for updates using tray when new update is discovered renders 1`] = `
+
@@ -1034,9 +1037,6 @@ exports[`installing update using tray when started when user checks for updates
/>
-
`;
@@ -1044,6 +1044,9 @@ exports[`installing update using tray when started when user checks for updates
exports[`installing update using tray when started when user checks for updates using tray when new update is discovered when download fails renders 1`] = `
+
@@ -1381,9 +1384,6 @@ exports[`installing update using tray when started when user checks for updates
/>
-
`;
@@ -1391,6 +1391,9 @@ exports[`installing update using tray when started when user checks for updates
exports[`installing update using tray when started when user checks for updates using tray when new update is discovered when download succeeds renders 1`] = `
+
@@ -1753,9 +1756,6 @@ exports[`installing update using tray when started when user checks for updates
/>
-
`;
@@ -1763,6 +1763,9 @@ exports[`installing update using tray when started when user checks for updates
exports[`installing update using tray when started when user checks for updates using tray when no new update is discovered renders 1`] = `
+
@@ -2100,9 +2103,6 @@ exports[`installing update using tray when started when user checks for updates
/>
-
`;
diff --git a/packages/core/src/features/application-update/child-features/force-update/__snapshots__/force-update.test.ts.snap b/packages/core/src/features/application-update/child-features/force-update/__snapshots__/force-update.test.ts.snap
index e705f60cb1..9c0bd3e31e 100644
--- a/packages/core/src/features/application-update/child-features/force-update/__snapshots__/force-update.test.ts.snap
+++ b/packages/core/src/features/application-update/child-features/force-update/__snapshots__/force-update.test.ts.snap
@@ -3,6 +3,9 @@
exports[`force user to update when too long since update was downloaded when application is started given checking for updates and it resolves, when update was downloaded renders 1`] = `
+
@@ -365,9 +368,6 @@ exports[`force user to update when too long since update was downloaded when app
/>
-
`;
@@ -375,6 +375,9 @@ exports[`force user to update when too long since update was downloaded when app
exports[`force user to update when too long since update was downloaded when application is started given checking for updates and it resolves, when update was downloaded when enough time passes to consider that update must be installed renders 1`] = `
+
@@ -737,9 +740,6 @@ exports[`force user to update when too long since update was downloaded when app
/>
-
+
@@ -1156,9 +1159,6 @@ exports[`force user to update when too long since update was downloaded when app
/>
-
`;
diff --git a/packages/core/src/features/application-update/child-features/force-update/renderer/force-update-modal/force-update-modal-root-frame-component.injectable.ts b/packages/core/src/features/application-update/child-features/force-update/renderer/force-update-modal/force-update-modal-root-frame-component.injectable.ts
index b5dd601ad2..9745f51b63 100644
--- a/packages/core/src/features/application-update/child-features/force-update/renderer/force-update-modal/force-update-modal-root-frame-component.injectable.ts
+++ b/packages/core/src/features/application-update/child-features/force-update/renderer/force-update-modal/force-update-modal-root-frame-component.injectable.ts
@@ -4,7 +4,7 @@
*/
import { getInjectable } from "@ogre-tools/injectable";
import { computed } from "mobx";
-import { rootFrameChildComponentInjectionToken } from "../../../../../../renderer/frames/root-frame/root-frame-child-component-injection-token";
+import { rootFrameChildComponentInjectionToken } from "@k8slens/react-application";
import { ForceUpdateModal } from "./force-update-modal";
import timeSinceUpdateWasDownloadedInjectable from "./time-since-update-was-downloaded.injectable";
import updateDownloadedDateTimeInjectable from "../../../../common/update-downloaded-date-time.injectable";
diff --git a/packages/core/src/features/application-update/child-features/periodical-checking-of-updates/__snapshots__/periodical-checking-of-updates.test.ts.snap b/packages/core/src/features/application-update/child-features/periodical-checking-of-updates/__snapshots__/periodical-checking-of-updates.test.ts.snap
index f6dd2cabb8..cfa3ad9c5d 100644
--- a/packages/core/src/features/application-update/child-features/periodical-checking-of-updates/__snapshots__/periodical-checking-of-updates.test.ts.snap
+++ b/packages/core/src/features/application-update/child-features/periodical-checking-of-updates/__snapshots__/periodical-checking-of-updates.test.ts.snap
@@ -3,6 +3,9 @@
exports[`periodical checking of updates given updater is enabled and configuration exists, when started renders 1`] = `
+
@@ -340,9 +343,6 @@ exports[`periodical checking of updates given updater is enabled and configurati
/>
-
`;
diff --git a/packages/core/src/features/application-update/child-features/selection-of-update-stability/__snapshots__/selection-of-update-stability.test.ts.snap b/packages/core/src/features/application-update/child-features/selection-of-update-stability/__snapshots__/selection-of-update-stability.test.ts.snap
index 6a3c008e43..c2c1a208b5 100644
--- a/packages/core/src/features/application-update/child-features/selection-of-update-stability/__snapshots__/selection-of-update-stability.test.ts.snap
+++ b/packages/core/src/features/application-update/child-features/selection-of-update-stability/__snapshots__/selection-of-update-stability.test.ts.snap
@@ -3,6 +3,9 @@
exports[`selection of update stability when started renders 1`] = `
+
@@ -340,9 +343,6 @@ exports[`selection of update stability when started renders 1`] = `
/>
-
`;
diff --git a/packages/core/src/features/application-update/child-features/selection-of-update-stability/selection-of-update-stability.test.ts b/packages/core/src/features/application-update/child-features/selection-of-update-stability/selection-of-update-stability.test.ts
index 05785faf38..deb3d9d88a 100644
--- a/packages/core/src/features/application-update/child-features/selection-of-update-stability/selection-of-update-stability.test.ts
+++ b/packages/core/src/features/application-update/child-features/selection-of-update-stability/selection-of-update-stability.test.ts
@@ -19,7 +19,7 @@ import downloadPlatformUpdateInjectable from "../../main/download-update/downloa
import selectedUpdateChannelInjectable from "../../common/selected-update-channel.injectable";
import type { IComputedValue } from "mobx";
import setUpdateOnQuitInjectable from "../../../../main/electron-app/features/set-update-on-quit.injectable";
-import showInfoNotificationInjectable from "../../../../renderer/components/notifications/show-info-notification.injectable";
+import { showInfoNotificationInjectable } from "@k8slens/notifications";
import processCheckingForUpdatesInjectable from "../../main/process-checking-for-updates.injectable";
import type { DiContainer } from "@ogre-tools/injectable";
import getBuildVersionInjectable
diff --git a/packages/core/src/features/catalog/__snapshots__/custom-columns.test.tsx.snap b/packages/core/src/features/catalog/__snapshots__/custom-columns.test.tsx.snap
index 30677b1639..44900992c0 100644
--- a/packages/core/src/features/catalog/__snapshots__/custom-columns.test.tsx.snap
+++ b/packages/core/src/features/catalog/__snapshots__/custom-columns.test.tsx.snap
@@ -3,6 +3,9 @@
exports[`custom category columns for catalog renders 1`] = `
+
@@ -579,9 +582,6 @@ exports[`custom category columns for catalog renders 1`] = `
/>
-
`;
@@ -589,6 +589,9 @@ exports[`custom category columns for catalog renders 1`] = `
exports[`custom category columns for catalog when category is added using default colemns renders 1`] = `
+
@@ -1196,9 +1199,6 @@ exports[`custom category columns for catalog when category is added using defaul
/>
-
`;
@@ -1206,6 +1206,9 @@ exports[`custom category columns for catalog when category is added using defaul
exports[`custom category columns for catalog when category is added using default colemns when an extension is registered with additional custom columns when the Test category tab is clicked renders 1`] = `
+
@@ -1803,9 +1806,6 @@ exports[`custom category columns for catalog when category is added using defaul
/>
-
`;
@@ -1813,6 +1813,9 @@ exports[`custom category columns for catalog when category is added using defaul
exports[`custom category columns for catalog when category is added using default colemns when the Test category tab is clicked renders 1`] = `
+
@@ -2399,9 +2402,6 @@ exports[`custom category columns for catalog when category is added using defaul
/>
-
`;
@@ -2409,6 +2409,9 @@ exports[`custom category columns for catalog when category is added using defaul
exports[`custom category columns for catalog when category is added with custom columns renders 1`] = `
+
@@ -3016,9 +3019,6 @@ exports[`custom category columns for catalog when category is added with custom
/>
-
`;
@@ -3026,6 +3026,9 @@ exports[`custom category columns for catalog when category is added with custom
exports[`custom category columns for catalog when category is added with custom columns when the Test category tab is clicked renders 1`] = `
+
@@ -3570,9 +3573,6 @@ exports[`custom category columns for catalog when category is added with custom
/>
-
`;
@@ -3580,6 +3580,9 @@ exports[`custom category columns for catalog when category is added with custom
exports[`custom category columns for catalog when category is added without default columns renders 1`] = `
+
@@ -4187,9 +4190,6 @@ exports[`custom category columns for catalog when category is added without defa
/>
-
`;
@@ -4197,6 +4197,9 @@ exports[`custom category columns for catalog when category is added without defa
exports[`custom category columns for catalog when category is added without default columns when the Test category tab is clicked renders 1`] = `
+
@@ -4730,9 +4733,6 @@ exports[`custom category columns for catalog when category is added without defa
/>
-
`;
diff --git a/packages/core/src/features/catalog/__snapshots__/entity-running.test.tsx.snap b/packages/core/src/features/catalog/__snapshots__/entity-running.test.tsx.snap
index 865ac34654..4a7b84a3f7 100644
--- a/packages/core/src/features/catalog/__snapshots__/entity-running.test.tsx.snap
+++ b/packages/core/src/features/catalog/__snapshots__/entity-running.test.tsx.snap
@@ -3,6 +3,9 @@
exports[`entity running technical tests when navigated to catalog renders 1`] = `
+
@@ -704,9 +707,6 @@ exports[`entity running technical tests when navigated to catalog renders 1`] =
/>
-
`;
@@ -714,6 +714,9 @@ exports[`entity running technical tests when navigated to catalog renders 1`] =
exports[`entity running technical tests when navigated to catalog when details panel is opened renders 1`] = `
+
@@ -1415,9 +1418,6 @@ exports[`entity running technical tests when navigated to catalog when details p
/>
-