Add task attachment management to Self-Serve Studio. Extend graph, path outcomes, and flow logic. Update E2E/unit tests with attachment creation, upload, download, deletion flows, and related validations.

This commit is contained in:
Jeppe Bundgaard
2026-04-29 14:41:29 +02:00
parent 9641f67e3a
commit a15d6841c5
28 changed files with 2459 additions and 213 deletions
+9
View File
@@ -386,12 +386,21 @@ async function warmModuleGraph(entryUrl, { depth = 2, timeoutMs = 120_000 } = {}
async function warmUpDevServer(url) {
const warmupTargets = await buildWarmupTargets();
const selfServeEntryModules = [
"/src/views/dashboards/userDashboard/wash/MyWash.vue",
"/src/views/dashboards/userDashboard/wash/MyWashStart.vue",
"/src/views/dashboards/departmentDashboard/modules/self-serve/DepartmentSelfServeStudio.vue",
"/src/views/guest/book/GuestBookExteriorWash.vue",
];
for (const target of warmupTargets) {
await warmUpAsset(new URL(target.pathname, url).toString(), target.expectedContentType);
}
await warmModuleGraph(new URL("/src/main.js", url).toString());
for (const entryModule of selfServeEntryModules) {
await warmModuleGraph(new URL(entryModule, url).toString(), { depth: 2 });
}
await new Promise((resolve) => setTimeout(resolve, 1000));
}