mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
Cascade different refactorings to eliminate global shared state from app paths
Co-authored-by: Mikko Aspiala <mikko.aspiala@gmail.com> Signed-off-by: Janne Savolainen <janne.savolainen@live.fi>
This commit is contained in:
1 parent
908a40975e
commit
9d33fff906
336 files changed
+9105
-3307
No files matched your search
@@ -23,7 +23,7 @@ import React from "react";
|
||||
import fs from "fs";
|
||||
import "../../common/catalog-entities/kubernetes-cluster";
|
||||
import { WebLinkCategory } from "../../common/catalog-entities";
|
||||
import { ClusterStore } from "../../common/cluster-store";
|
||||
import { ClusterStore } from "../../common/cluster-store/cluster-store";
|
||||
import { catalogCategoryRegistry } from "../api/catalog-category-registry";
|
||||
import { WeblinkAddCommand } from "../components/catalog-entities/weblink-add-command";
|
||||
import { CommandOverlay } from "../components/command-palette";
|
||||
|
||||
@@ -24,7 +24,6 @@ import * as routes from "../../common/routes";
|
||||
import { CommandRegistry } from "../../extensions/registries";
|
||||
import { getActiveClusterEntity } from "../api/catalog-entity-registry";
|
||||
import { CommandOverlay } from "../components/command-palette";
|
||||
import { createTerminalTab } from "../components/dock/terminal.store";
|
||||
import { HotbarAddCommand } from "../components/hotbar/hotbar-add-command";
|
||||
import { HotbarRemoveCommand } from "../components/hotbar/hotbar-remove-command";
|
||||
import { HotbarSwitchCommand } from "../components/hotbar/hotbar-switch-command";
|
||||
@@ -32,7 +31,7 @@ import { navigate } from "../navigation";
|
||||
import { HotbarRenameCommand } from "../components/hotbar/hotbar-rename-command";
|
||||
import { ActivateEntityCommand } from "../components/activate-entity-command";
|
||||
|
||||
export function initCommandRegistry() {
|
||||
export function initCommandRegistry(createTerminalTab: () => void) {
|
||||
CommandRegistry.getInstance()
|
||||
.add([
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user