From a0ceb56309559ca2651b22cf8feaf24bdc966e8f Mon Sep 17 00:00:00 2001 From: igurielidze Date: Mon, 30 Mar 2026 22:44:11 +0400 Subject: [PATCH] Add Ignition deploy: write view.json directly to Ignition project dir - New "Ignition" section in toolbar with Project and View name fields - View name defaults to current MCM - "Deploy to Ignition" button writes view.json + resource.json to: C:/Program Files/Inductive Automation/Ignition/data/projects/{Project}/ com.inductiveautomation.perspective/views/{ViewName}/ - Vite dev server plugin handles file writing via /api/deploy-ignition - view.json wraps ia.shapes.svg component in proper Perspective view structure Co-Authored-By: Claude Opus 4.6 (1M context) --- svelte-app/src/components/Toolbar.svelte | 27 ++++++++- svelte-app/src/lib/export.ts | 67 ++++++++++++++++++++-- svelte-app/src/lib/stores/layout.svelte.ts | 4 ++ svelte-app/vite.config.ts | 25 ++++++++ 4 files changed, 115 insertions(+), 8 deletions(-) diff --git a/svelte-app/src/components/Toolbar.svelte b/svelte-app/src/components/Toolbar.svelte index d19a81b..e982411 100644 --- a/svelte-app/src/components/Toolbar.svelte +++ b/svelte-app/src/components/Toolbar.svelte @@ -1,6 +1,6 @@