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
add1a0a39e
commit
8ac66380ad
113 files changed
+5647
-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 {
|
||||
|
||||
@@ -25,6 +25,7 @@ import { keyboardShortcutsFeature } from "@k8slens/keyboard-shortcuts";
|
||||
import { reactApplicationFeature } from "@k8slens/react-application";
|
||||
import { routingFeature } from "@k8slens/routing";
|
||||
import { loggerFeature } from "@k8slens/logger";
|
||||
import { clusterSidebarFeature } from "@k8slens/cluster-sidebar";
|
||||
|
||||
const environment = "renderer";
|
||||
|
||||
@@ -49,7 +50,8 @@ runInAction(() => {
|
||||
keyboardShortcutsFeature,
|
||||
reactApplicationFeature,
|
||||
routingFeature,
|
||||
metricsFeature
|
||||
metricsFeature,
|
||||
clusterSidebarFeature,
|
||||
);
|
||||
|
||||
autoRegister({
|
||||
|
||||
Reference in new issue
Block a user