mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
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:
1 parent
d28da8e7ac
commit
500ac15703
113 files changed
+5643
-1679
No files matched your search
@@ -25,13 +25,14 @@ runInAction(() => {
|
||||
registerLensCore(di, environment);
|
||||
|
||||
registerFeature(di,
|
||||
loggerFeature,
|
||||
loggerFeature,
|
||||
);
|
||||
|
||||
registerFeature(di,
|
||||
applicationFeature,
|
||||
applicationFeatureForElectronMain,
|
||||
messagingFeatureForMain,
|
||||
registerFeature(
|
||||
di,
|
||||
applicationFeature,
|
||||
applicationFeatureForElectronMain,
|
||||
messagingFeatureForMain,
|
||||
);
|
||||
|
||||
try {
|
||||
|
||||
@@ -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({
|
||||
|
||||
Reference in new issue
Block a user