diff --git a/src/features/application-menu/main/menu-items/special-menu-for-mac-application/navigate-to-preferences/navigate-to-preferences-menu-item.injectable.ts b/src/features/application-menu/main/menu-items/special-menu-for-mac-application/navigate-to-preferences/navigate-to-preferences-menu-item.injectable.ts index a0c96b5063..4740a274ee 100644 --- a/src/features/application-menu/main/menu-items/special-menu-for-mac-application/navigate-to-preferences/navigate-to-preferences-menu-item.injectable.ts +++ b/src/features/application-menu/main/menu-items/special-menu-for-mac-application/navigate-to-preferences/navigate-to-preferences-menu-item.injectable.ts @@ -4,7 +4,7 @@ */ import { getInjectable } from "@ogre-tools/injectable"; import applicationMenuItemInjectionToken from "../../application-menu-item-injection-token"; -import navigateToPreferencesInjectable from "../../../../../../common/front-end-routing/routes/preferences/navigate-to-preferences.injectable"; +import navigateToPreferencesInjectable from "../../../../../preferences/common/navigate-to-preferences.injectable"; import isMacInjectable from "../../../../../../common/vars/is-mac.injectable"; const navigateToPreferencesMenuItemInjectable = getInjectable({ diff --git a/src/features/preferences/common/navigate-to-application-preferences.injectable.ts b/src/features/preferences/common/navigate-to-application-preferences.injectable.ts index 930f565504..3a1923f4cd 100644 --- a/src/features/preferences/common/navigate-to-application-preferences.injectable.ts +++ b/src/features/preferences/common/navigate-to-application-preferences.injectable.ts @@ -3,7 +3,7 @@ * Licensed under MIT License. See LICENSE in root directory for more information. */ import { getInjectable } from "@ogre-tools/injectable"; -import navigateToPreferencesInjectable from "../../../common/front-end-routing/routes/preferences/navigate-to-preferences.injectable"; +import navigateToPreferencesInjectable from "./navigate-to-preferences.injectable"; const navigateToApplicationPreferencesInjectable = getInjectable({ id: "navigate-to-application-preferences", diff --git a/src/features/preferences/common/navigate-to-editor-preferences.injectable.ts b/src/features/preferences/common/navigate-to-editor-preferences.injectable.ts index 4d266bb5dc..8b843003b4 100644 --- a/src/features/preferences/common/navigate-to-editor-preferences.injectable.ts +++ b/src/features/preferences/common/navigate-to-editor-preferences.injectable.ts @@ -3,7 +3,7 @@ * Licensed under MIT License. See LICENSE in root directory for more information. */ import { getInjectable } from "@ogre-tools/injectable"; -import navigateToPreferencesInjectable from "../../../common/front-end-routing/routes/preferences/navigate-to-preferences.injectable"; +import navigateToPreferencesInjectable from "./navigate-to-preferences.injectable"; const navigateToEditorPreferencesInjectable = getInjectable({ id: "navigate-to-editor-preferences", diff --git a/src/features/preferences/common/navigate-to-kubernetes-preferences.injectable.ts b/src/features/preferences/common/navigate-to-kubernetes-preferences.injectable.ts index 01ad109247..0d995d6169 100644 --- a/src/features/preferences/common/navigate-to-kubernetes-preferences.injectable.ts +++ b/src/features/preferences/common/navigate-to-kubernetes-preferences.injectable.ts @@ -3,7 +3,7 @@ * Licensed under MIT License. See LICENSE in root directory for more information. */ import { getInjectable } from "@ogre-tools/injectable"; -import navigateToPreferencesInjectable from "../../../common/front-end-routing/routes/preferences/navigate-to-preferences.injectable"; +import navigateToPreferencesInjectable from "./navigate-to-preferences.injectable"; const navigateToKubernetesPreferencesInjectable = getInjectable({ id: "navigate-to-kubernetes-preferences", diff --git a/src/common/front-end-routing/routes/preferences/navigate-to-preferences.injectable.ts b/src/features/preferences/common/navigate-to-preferences.injectable.ts similarity index 76% rename from src/common/front-end-routing/routes/preferences/navigate-to-preferences.injectable.ts rename to src/features/preferences/common/navigate-to-preferences.injectable.ts index 69599e32c5..c06137d704 100644 --- a/src/common/front-end-routing/routes/preferences/navigate-to-preferences.injectable.ts +++ b/src/features/preferences/common/navigate-to-preferences.injectable.ts @@ -3,8 +3,8 @@ * Licensed under MIT License. See LICENSE in root directory for more information. */ import { getInjectable } from "@ogre-tools/injectable"; -import { navigateToRouteInjectionToken } from "../../navigate-to-route-injection-token"; -import preferencesRouteInjectable from "../../../../features/preferences/common/preferences-route.injectable"; +import { navigateToRouteInjectionToken } from "../../../common/front-end-routing/navigate-to-route-injection-token"; +import preferencesRouteInjectable from "./preferences-route.injectable"; const navigateToPreferencesInjectable = getInjectable({ id: "navigate-to-preferences", diff --git a/src/features/preferences/common/navigate-to-proxy-preferences.injectable.ts b/src/features/preferences/common/navigate-to-proxy-preferences.injectable.ts index 2c88aa25f6..c95ad757f1 100644 --- a/src/features/preferences/common/navigate-to-proxy-preferences.injectable.ts +++ b/src/features/preferences/common/navigate-to-proxy-preferences.injectable.ts @@ -3,7 +3,7 @@ * Licensed under MIT License. See LICENSE in root directory for more information. */ import { getInjectable } from "@ogre-tools/injectable"; -import navigateToPreferencesInjectable from "../../../common/front-end-routing/routes/preferences/navigate-to-preferences.injectable"; +import navigateToPreferencesInjectable from "./navigate-to-preferences.injectable"; const navigateToProxyPreferencesInjectable = getInjectable({ id: "navigate-to-proxy-preferences", diff --git a/src/features/preferences/common/navigate-to-telemetry-preferences.injectable.ts b/src/features/preferences/common/navigate-to-telemetry-preferences.injectable.ts index 392ce5bb4f..6d82feb148 100644 --- a/src/features/preferences/common/navigate-to-telemetry-preferences.injectable.ts +++ b/src/features/preferences/common/navigate-to-telemetry-preferences.injectable.ts @@ -3,7 +3,7 @@ * Licensed under MIT License. See LICENSE in root directory for more information. */ import { getInjectable } from "@ogre-tools/injectable"; -import navigateToPreferencesInjectable from "../../../common/front-end-routing/routes/preferences/navigate-to-preferences.injectable"; +import navigateToPreferencesInjectable from "./navigate-to-preferences.injectable"; const navigateToTelemetryPreferencesInjectable = getInjectable({ id: "navigate-to-telemetry-preferences", diff --git a/src/features/preferences/common/navigate-to-terminal-preferences.injectable.ts b/src/features/preferences/common/navigate-to-terminal-preferences.injectable.ts index 079772ab95..66684e47ea 100644 --- a/src/features/preferences/common/navigate-to-terminal-preferences.injectable.ts +++ b/src/features/preferences/common/navigate-to-terminal-preferences.injectable.ts @@ -3,7 +3,7 @@ * Licensed under MIT License. See LICENSE in root directory for more information. */ import { getInjectable } from "@ogre-tools/injectable"; -import navigateToPreferencesInjectable from "../../../common/front-end-routing/routes/preferences/navigate-to-preferences.injectable"; +import navigateToPreferencesInjectable from "./navigate-to-preferences.injectable"; const navigateToTerminalPreferencesInjectable = getInjectable({ id: "navigate-to-terminal-preferences", diff --git a/src/main/tray/tray-menu-item/implementations/open-preferences-tray-item.injectable.ts b/src/main/tray/tray-menu-item/implementations/open-preferences-tray-item.injectable.ts index 8c062f6a29..ad89c2e5ae 100644 --- a/src/main/tray/tray-menu-item/implementations/open-preferences-tray-item.injectable.ts +++ b/src/main/tray/tray-menu-item/implementations/open-preferences-tray-item.injectable.ts @@ -4,7 +4,7 @@ */ import { getInjectable } from "@ogre-tools/injectable"; import { trayMenuItemInjectionToken } from "../tray-menu-item-injection-token"; -import navigateToPreferencesInjectable from "../../../../common/front-end-routing/routes/preferences/navigate-to-preferences.injectable"; +import navigateToPreferencesInjectable from "../../../../features/preferences/common/navigate-to-preferences.injectable"; import { computed } from "mobx"; import { withErrorSuppression } from "../../../../common/utils/with-error-suppression/with-error-suppression"; import { pipeline } from "@ogre-tools/fp"; diff --git a/src/renderer/components/command-palette/registered-commands/internal-commands.injectable.tsx b/src/renderer/components/command-palette/registered-commands/internal-commands.injectable.tsx index 8bf2b196f5..317dd731df 100644 --- a/src/renderer/components/command-palette/registered-commands/internal-commands.injectable.tsx +++ b/src/renderer/components/command-palette/registered-commands/internal-commands.injectable.tsx @@ -15,7 +15,7 @@ import { getInjectable } from "@ogre-tools/injectable"; import commandOverlayInjectable from "../command-overlay.injectable"; import createTerminalTabInjectable from "../../dock/terminal/create-terminal-tab.injectable"; import type { DockTabCreate } from "../../dock/dock/store"; -import navigateToPreferencesInjectable from "../../../../common/front-end-routing/routes/preferences/navigate-to-preferences.injectable"; +import navigateToPreferencesInjectable from "../../../../features/preferences/common/navigate-to-preferences.injectable"; import navigateToHelmChartsInjectable from "../../../../common/front-end-routing/routes/cluster/helm/charts/navigate-to-helm-charts.injectable"; import navigateToHelmReleasesInjectable from "../../../../common/front-end-routing/routes/cluster/helm/releases/navigate-to-helm-releases.injectable"; import navigateToConfigMapsInjectable from "../../../../common/front-end-routing/routes/cluster/config/config-maps/navigate-to-config-maps.injectable"; diff --git a/src/renderer/components/test-utils/get-application-builder.tsx b/src/renderer/components/test-utils/get-application-builder.tsx index 7133a505e2..de3d873db5 100644 --- a/src/renderer/components/test-utils/get-application-builder.tsx +++ b/src/renderer/components/test-utils/get-application-builder.tsx @@ -18,7 +18,7 @@ import { getInjectable } from "@ogre-tools/injectable"; import mainExtensionsInjectable from "../../../extensions/main-extensions.injectable"; import { pipeline } from "@ogre-tools/fp"; import { filter, first, join, last, map, matches } from "lodash/fp"; -import navigateToPreferencesInjectable from "../../../common/front-end-routing/routes/preferences/navigate-to-preferences.injectable"; +import navigateToPreferencesInjectable from "../../../features/preferences/common/navigate-to-preferences.injectable"; import type { NavigateToHelmCharts } from "../../../common/front-end-routing/routes/cluster/helm/charts/navigate-to-helm-charts.injectable"; import navigateToHelmChartsInjectable from "../../../common/front-end-routing/routes/cluster/helm/charts/navigate-to-helm-charts.injectable"; import hostedClusterInjectable from "../../cluster-frame-context/hosted-cluster.injectable"; diff --git a/src/renderer/protocol-handler/bind-protocol-add-route-handlers/bind-protocol-add-route-handlers.injectable.ts b/src/renderer/protocol-handler/bind-protocol-add-route-handlers/bind-protocol-add-route-handlers.injectable.ts index 36c87d0393..31c630352b 100644 --- a/src/renderer/protocol-handler/bind-protocol-add-route-handlers/bind-protocol-add-route-handlers.injectable.ts +++ b/src/renderer/protocol-handler/bind-protocol-add-route-handlers/bind-protocol-add-route-handlers.injectable.ts @@ -12,7 +12,7 @@ import navigateToExtensionsInjectable from "../../../common/front-end-routing/ro import navigateToEntitySettingsInjectable from "../../../common/front-end-routing/routes/entity-settings/navigate-to-entity-settings.injectable"; import navigateToClusterViewInjectable from "../../../common/front-end-routing/routes/cluster-view/navigate-to-cluster-view.injectable"; import catalogEntityRegistryInjectable from "../../api/catalog/entity/registry.injectable"; -import navigateToPreferencesInjectable from "../../../common/front-end-routing/routes/preferences/navigate-to-preferences.injectable"; +import navigateToPreferencesInjectable from "../../../features/preferences/common/navigate-to-preferences.injectable"; const bindProtocolAddRouteHandlersInjectable = getInjectable({ id: "bind-protocol-add-route-handlers",