diff --git a/ui/package.json b/ui/package.json index fd79ac6cc..de58784c1 100644 --- a/ui/package.json +++ b/ui/package.json @@ -32,6 +32,7 @@ "tw-animate-css": "^1.4.0", "vue": "^3.5.42", "vue-router": "^5.3.1", + "vue-sonner": "^2.0.9", "yaml": "^2.9.1" }, "devDependencies": { diff --git a/ui/pnpm-lock.yaml b/ui/pnpm-lock.yaml index 4b543ec45..80891895f 100644 --- a/ui/pnpm-lock.yaml +++ b/ui/pnpm-lock.yaml @@ -229,6 +229,9 @@ importers: vue-router: specifier: ^5.3.1 version: 5.4.0(@vue/compiler-sfc@3.5.44)(pinia@4.1.0(@vue/devtools-api@8.2.1)(typescript@6.0.3)(vue@3.5.44(typescript@6.0.3)))(rolldown@1.2.15)(vite@8.3.5(@types/node@26.6.5)(jiti@2.7.0)(yaml@2.9.1))(vue@3.5.44(typescript@6.0.3)) + vue-sonner: + specifier: ^2.0.9 + version: 2.0.9 yaml: specifier: ^2.9.1 version: 2.9.1 @@ -1382,6 +1385,20 @@ packages: vite: optional: true + vue-sonner@2.0.9: + resolution: {integrity: sha512-i6BokNlNDL93fpzNxN/LZSn6D6MzlO+i3qXt6iVZne3x1k7R46d5HlFB4P8tYydhgqOrRbIZEsnRd3kG7qGXyw==} + peerDependencies: + '@nuxt/kit': ^4.0.3 + '@nuxt/schema': ^4.0.3 + nuxt: ^4.0.3 + peerDependenciesMeta: + '@nuxt/kit': + optional: true + '@nuxt/schema': + optional: true + nuxt: + optional: true + vue-tsc@3.3.13: resolution: {integrity: sha512-jE4/bXdOMSHVxEGgQCqNllJy+9N3Gx6tfSAsg0yhFK/MAN6eXqISihupnDEKSCt12VVnjN2gI3AqLYcqoh5x/A==} hasBin: true @@ -2426,6 +2443,8 @@ snapshots: - unloader - webpack + vue-sonner@2.0.9: {} + vue-tsc@3.3.13(typescript@6.0.3): dependencies: '@volar/typescript': 2.4.28(typescript@6.0.3) diff --git a/ui/src/App.vue b/ui/src/App.vue index 1e1a41716..715a85f54 100644 --- a/ui/src/App.vue +++ b/ui/src/App.vue @@ -21,6 +21,8 @@ import { TooltipProvider } from "@/components/ui/tooltip"; import { hiddenPaths } from "@/lib/nav"; import { loadTaskMeta } from "@/lib/task-meta"; import { useSessionStore } from "@/stores/session"; +import { Toaster } from "vue-sonner"; +import "vue-sonner/style.css"; const reauthenticate=new URLSearchParams(window.location.search).has("reauth"); const accounts=useAccountsStore(); @@ -125,5 +127,6 @@ watch(() => accounts.status?.user, (user) => { dock centres over the content instead of under the sidebar. --> + diff --git a/ui/src/workflows/WorkflowEditor.vue b/ui/src/workflows/WorkflowEditor.vue index 278fbf8bc..15b93429d 100644 --- a/ui/src/workflows/WorkflowEditor.vue +++ b/ui/src/workflows/WorkflowEditor.vue @@ -392,7 +392,7 @@ onBeforeUnmount(() => yamlObserver?.disconnect()); - + Canvas @@ -413,7 +413,7 @@ onBeforeUnmount(() => yamlObserver?.disconnect()); /> - + diff --git a/ui/src/workflows/WorkflowsPage.vue b/ui/src/workflows/WorkflowsPage.vue index 164ab2f48..4b96c6be6 100644 --- a/ui/src/workflows/WorkflowsPage.vue +++ b/ui/src/workflows/WorkflowsPage.vue @@ -1,4 +1,5 @@