chore: Extract sidebar item injection token into separate package

- Add unit tests to cover custom resources sidebar items

Signed-off-by: Sebastian Malton <sebastian@malton.name>
This commit is contained in:
Sebastian Malton committed 2023-05-31 14:23:53 -04:00
1 parent d28da8e7ac
commit 500ac15703
113 files changed
+5643 -1679

No files matched your search

+6 -5
View File
@@ -25,13 +25,14 @@ runInAction(() => {
registerLensCore(di, environment);
registerFeature(di,
loggerFeature,
loggerFeature,
);
registerFeature(di,
applicationFeature,
applicationFeatureForElectronMain,
messagingFeatureForMain,
registerFeature(
di,
applicationFeature,
applicationFeatureForElectronMain,
messagingFeatureForMain,
);
try {
+2
View File
@@ -28,6 +28,7 @@ import { reactApplicationFeature } from "@k8slens/react-application";
import { routingFeature } from "@k8slens/routing";
import { loggerFeature } from "@k8slens/logger";
import { animateFeature } from "@k8slens/animate";
import { clusterSidebarFeature } from "@k8slens/cluster-sidebar";
const environment = "renderer";
@@ -54,6 +55,7 @@ runInAction(() => {
routingFeature,
metricsFeature,
animateFeature,
clusterSidebarFeature,
);
autoRegister({