From f9d8b8776824fcbb5c83d109aa97edd2deeaf32f Mon Sep 17 00:00:00 2001 From: Jeppe Bundgaard Date: Tue, 28 Apr 2026 14:21:26 +0200 Subject: [PATCH] Add new table and enhance studio layout logic Introduce `department_selfserve_studio_layouts` table for department-specific layouts and implement advanced auto-layout functionality in the DepartmentSelfServeStudio module. Added custom node definitions, updated styling, and integrated new logics for sorting and visualizing nodes in the Vue Flow interface. --- openapi.yaml | 2 +- .../self-serve/DepartmentSelfServeStudio.vue | 677 ++++++++++++++++-- tests/e2e/self-serve-studio-flow.spec.js | 155 +++- 3 files changed, 777 insertions(+), 57 deletions(-) diff --git a/openapi.yaml b/openapi.yaml index 691b5c54..0560b593 100644 --- a/openapi.yaml +++ b/openapi.yaml @@ -5173,7 +5173,7 @@ paths: tags: - Self-Serve summary: Get all-in-one self-serve studio graph - description: Returns the replacement studio workspace graph with nodes, edges, resolved lookup labels, validation, layout, versioning, simulator defaults, gateway workspace, and permissions. + description: Returns the replacement studio workspace graph with nodes, edges, resolved lookup labels, validation, layout, versioning, simulator defaults, gateway workspace, and permissions. Vehicle type lookups and scope nodes are derived from selectable wash products. operationId: getSelfserveStudioGraph parameters: - name: department diff --git a/src/views/dashboards/departmentDashboard/modules/self-serve/DepartmentSelfServeStudio.vue b/src/views/dashboards/departmentDashboard/modules/self-serve/DepartmentSelfServeStudio.vue index 112b8569..7d88034b 100644 --- a/src/views/dashboards/departmentDashboard/modules/self-serve/DepartmentSelfServeStudio.vue +++ b/src/views/dashboards/departmentDashboard/modules/self-serve/DepartmentSelfServeStudio.vue @@ -1,7 +1,7 @@