diff --git a/frontend/src/modules/TopographicMap/SurfaceAddress.ts b/frontend/src/modules/SubsurfaceMap/SurfaceAddress.ts similarity index 100% rename from frontend/src/modules/TopographicMap/SurfaceAddress.ts rename to frontend/src/modules/SubsurfaceMap/SurfaceAddress.ts diff --git a/frontend/src/modules/TopographicMap/SurfacePolygonsAddress.ts b/frontend/src/modules/SubsurfaceMap/SurfacePolygonsAddress.ts similarity index 100% rename from frontend/src/modules/TopographicMap/SurfacePolygonsAddress.ts rename to frontend/src/modules/SubsurfaceMap/SurfacePolygonsAddress.ts diff --git a/frontend/src/modules/TopographicMap/_utils/index.ts b/frontend/src/modules/SubsurfaceMap/_utils/index.ts similarity index 100% rename from frontend/src/modules/TopographicMap/_utils/index.ts rename to frontend/src/modules/SubsurfaceMap/_utils/index.ts diff --git a/frontend/src/modules/TopographicMap/_utils/subsurfaceMap.ts b/frontend/src/modules/SubsurfaceMap/_utils/subsurfaceMap.ts similarity index 100% rename from frontend/src/modules/TopographicMap/_utils/subsurfaceMap.ts rename to frontend/src/modules/SubsurfaceMap/_utils/subsurfaceMap.ts diff --git a/frontend/src/modules/TopographicMap/components/AggregationSelector/aggregationSelector.tsx b/frontend/src/modules/SubsurfaceMap/components/AggregationSelector/aggregationSelector.tsx similarity index 100% rename from frontend/src/modules/TopographicMap/components/AggregationSelector/aggregationSelector.tsx rename to frontend/src/modules/SubsurfaceMap/components/AggregationSelector/aggregationSelector.tsx diff --git a/frontend/src/modules/TopographicMap/components/AggregationSelector/index.ts b/frontend/src/modules/SubsurfaceMap/components/AggregationSelector/index.ts similarity index 100% rename from frontend/src/modules/TopographicMap/components/AggregationSelector/index.ts rename to frontend/src/modules/SubsurfaceMap/components/AggregationSelector/index.ts diff --git a/frontend/src/modules/TopographicMap/components/SyncedSubsurfaceViewer/index.ts b/frontend/src/modules/SubsurfaceMap/components/SyncedSubsurfaceViewer/index.ts similarity index 100% rename from frontend/src/modules/TopographicMap/components/SyncedSubsurfaceViewer/index.ts rename to frontend/src/modules/SubsurfaceMap/components/SyncedSubsurfaceViewer/index.ts diff --git a/frontend/src/modules/TopographicMap/components/SyncedSubsurfaceViewer/syncedSubsurfaceViewer.tsx b/frontend/src/modules/SubsurfaceMap/components/SyncedSubsurfaceViewer/syncedSubsurfaceViewer.tsx similarity index 100% rename from frontend/src/modules/TopographicMap/components/SyncedSubsurfaceViewer/syncedSubsurfaceViewer.tsx rename to frontend/src/modules/SubsurfaceMap/components/SyncedSubsurfaceViewer/syncedSubsurfaceViewer.tsx diff --git a/frontend/src/modules/TopographicMap/loadModule.tsx b/frontend/src/modules/SubsurfaceMap/loadModule.tsx similarity index 88% rename from frontend/src/modules/TopographicMap/loadModule.tsx rename to frontend/src/modules/SubsurfaceMap/loadModule.tsx index 78a595488..2fefa8512 100644 --- a/frontend/src/modules/TopographicMap/loadModule.tsx +++ b/frontend/src/modules/SubsurfaceMap/loadModule.tsx @@ -13,7 +13,7 @@ const defaultState: state = { viewSettings: null, }; -const module = ModuleRegistry.initModule("TopographicMap", defaultState, { +const module = ModuleRegistry.initModule("SubsurfaceMap", defaultState, { meshSurfaceAddress: { deepCompare: true }, propertySurfaceAddress: { deepCompare: true }, polygonsAddress: { deepCompare: true }, diff --git a/frontend/src/modules/TopographicMap/polygonsDirectoryProvider.ts b/frontend/src/modules/SubsurfaceMap/polygonsDirectoryProvider.ts similarity index 100% rename from frontend/src/modules/TopographicMap/polygonsDirectoryProvider.ts rename to frontend/src/modules/SubsurfaceMap/polygonsDirectoryProvider.ts diff --git a/frontend/src/modules/TopographicMap/queryHooks.tsx b/frontend/src/modules/SubsurfaceMap/queryHooks.tsx similarity index 100% rename from frontend/src/modules/TopographicMap/queryHooks.tsx rename to frontend/src/modules/SubsurfaceMap/queryHooks.tsx diff --git a/frontend/src/modules/TopographicMap/registerModule.ts b/frontend/src/modules/SubsurfaceMap/registerModule.ts similarity index 83% rename from frontend/src/modules/TopographicMap/registerModule.ts rename to frontend/src/modules/SubsurfaceMap/registerModule.ts index 6332b34a9..2440a9f44 100644 --- a/frontend/src/modules/TopographicMap/registerModule.ts +++ b/frontend/src/modules/SubsurfaceMap/registerModule.ts @@ -4,8 +4,8 @@ import { SyncSettingKey } from "@framework/SyncSettings"; import { state } from "./state"; ModuleRegistry.registerModule({ - moduleName: "TopographicMap", - defaultTitle: "Topographic Map", + moduleName: "SubsurfaceMap", + defaultTitle: "Subsurface Map", syncableSettingKeys: [ SyncSettingKey.ENSEMBLE, SyncSettingKey.SURFACE, diff --git a/frontend/src/modules/TopographicMap/settings.tsx b/frontend/src/modules/SubsurfaceMap/settings.tsx similarity index 100% rename from frontend/src/modules/TopographicMap/settings.tsx rename to frontend/src/modules/SubsurfaceMap/settings.tsx diff --git a/frontend/src/modules/TopographicMap/state.ts b/frontend/src/modules/SubsurfaceMap/state.ts similarity index 100% rename from frontend/src/modules/TopographicMap/state.ts rename to frontend/src/modules/SubsurfaceMap/state.ts diff --git a/frontend/src/modules/TopographicMap/surfaceDirectoryProvider.ts b/frontend/src/modules/SubsurfaceMap/surfaceDirectoryProvider.ts similarity index 100% rename from frontend/src/modules/TopographicMap/surfaceDirectoryProvider.ts rename to frontend/src/modules/SubsurfaceMap/surfaceDirectoryProvider.ts diff --git a/frontend/src/modules/TopographicMap/view.tsx b/frontend/src/modules/SubsurfaceMap/view.tsx similarity index 100% rename from frontend/src/modules/TopographicMap/view.tsx rename to frontend/src/modules/SubsurfaceMap/view.tsx diff --git a/frontend/src/modules/registerAllModules.ts b/frontend/src/modules/registerAllModules.ts index 6406db6f7..3f5366f18 100644 --- a/frontend/src/modules/registerAllModules.ts +++ b/frontend/src/modules/registerAllModules.ts @@ -7,17 +7,17 @@ import "./Grid3DIntersection/registerModule"; import "./Grid3DIntersection/registerModule"; import "./InplaceVolumetrics/registerModule"; import "./Intersection/registerModule"; -import "./Map/registerModule"; import "./Pvt/registerModule"; import "./Sensitivity/registerModule"; import "./SimulationTimeSeries/registerModule"; -import "./WellCompletion/registerModule" import "./SimulationTimeSeriesSensitivity/registerModule"; -import "./TimeSeriesParameterDistribution/registerModule"; -import "./TopographicMap/registerModule"; +import "./SubsurfaceMap/registerModule"; +import "./WellCompletion/registerModule"; if (isDevMode()) { await import("./MyModule/registerModule"); await import("./MyModule2/registerModule"); await import("./DbgWorkbenchSpy/registerModule"); + await import("./Map/registerModule"); + await import("./TimeSeriesParameterDistribution/registerModule"); }