feat: add project-aware agent workspace
Generic Container CI/CD / test-build-publish (push) Successful in 2m9s
Frontend CI/CD / build-test-publish-and-deploy (push) Successful in 2m39s

This commit is contained in:
2026-10-22 18:52:18 +08:00
parent c6a0e74e72
commit 2d8506fea0
191 changed files with 12373 additions and 3556 deletions
@@ -8,6 +8,7 @@ import { WorkbenchMapController } from "../map/workbench-map-controller";
export function useWorkbenchMapController({
mapRef,
geoserverWorkspace,
mapReady,
leftPanelOpen,
rightPanelOpen,
@@ -16,6 +17,7 @@ export function useWorkbenchMapController({
getScadaFeatures,
availableSourceIds
}: {
geoserverWorkspace?: string;
mapRef: RefObject<MapLibreMap | null>;
mapReady: boolean;
leftPanelOpen: boolean;
@@ -42,6 +44,7 @@ export function useWorkbenchMapController({
const controllerRef = useRef<WorkbenchMapController | null>(null);
if (!controllerRef.current) {
controllerRef.current = new WorkbenchMapController({
geoserverWorkspace,
getMap: () => mapRef.current,
isReady: () => valuesRef.current.mapReady,
getPadding: () => {