From 6a2da94e473666870e5b0ecbe564243de6899b5e Mon Sep 17 00:00:00 2001 From: Albrecht Degering Date: Thu, 20 Aug 2026 12:46:01 +0200 Subject: [PATCH] feat: load connector governance webui --- webui/package-lock.json | 19 +++++++++++++++++++ webui/package.json | 1 + webui/scripts/test-module-permutations.mjs | 5 ++++- webui/vite.config.ts | 2 ++ 4 files changed, 26 insertions(+), 1 deletion(-) diff --git a/webui/package-lock.json b/webui/package-lock.json index 8b4ecfb..8de21f1 100644 --- a/webui/package-lock.json +++ b/webui/package-lock.json @@ -17,6 +17,7 @@ "@govoplan/campaign-webui": "file:../../govoplan-campaign/webui", "@govoplan/cases-webui": "file:../../govoplan-cases/webui", "@govoplan/committee-webui": "file:../../govoplan-committee/webui", + "@govoplan/connectors-webui": "file:../../govoplan-connectors/webui", "@govoplan/dashboard-webui": "file:../../govoplan-dashboard/webui", "@govoplan/dataflow-webui": "file:../../govoplan-dataflow/webui", "@govoplan/datasources-webui": "file:../../govoplan-datasources/webui", @@ -237,6 +238,20 @@ } } }, + "../../govoplan-connectors/webui": { + "name": "@govoplan/connectors-webui", + "version": "0.1.18", + "peerDependencies": { + "@govoplan/core-webui": "^0.1.18", + "react": ">=19.2.7 <20", + "react-dom": ">=19.2.7 <20" + }, + "peerDependenciesMeta": { + "@govoplan/core-webui": { + "optional": true + } + } + }, "../../govoplan-dashboard/webui": { "name": "@govoplan/dashboard-webui", "version": "0.1.18", @@ -1578,6 +1593,10 @@ "resolved": "../../govoplan-committee/webui", "link": true }, + "node_modules/@govoplan/connectors-webui": { + "resolved": "../../govoplan-connectors/webui", + "link": true + }, "node_modules/@govoplan/dashboard-webui": { "resolved": "../../govoplan-dashboard/webui", "link": true diff --git a/webui/package.json b/webui/package.json index a8d6168..2d96ed5 100644 --- a/webui/package.json +++ b/webui/package.json @@ -67,6 +67,7 @@ "@govoplan/campaign-webui": "file:../../govoplan-campaign/webui", "@govoplan/cases-webui": "file:../../govoplan-cases/webui", "@govoplan/committee-webui": "file:../../govoplan-committee/webui", + "@govoplan/connectors-webui": "file:../../govoplan-connectors/webui", "@govoplan/dashboard-webui": "file:../../govoplan-dashboard/webui", "@govoplan/dataflow-webui": "file:../../govoplan-dataflow/webui", "@govoplan/datasources-webui": "file:../../govoplan-datasources/webui", diff --git a/webui/scripts/test-module-permutations.mjs b/webui/scripts/test-module-permutations.mjs index 7b0596c..e1fcb7d 100644 --- a/webui/scripts/test-module-permutations.mjs +++ b/webui/scripts/test-module-permutations.mjs @@ -12,6 +12,7 @@ const packageByModule = { cases: "@govoplan/cases-webui", campaigns: "@govoplan/campaign-webui", committee: "@govoplan/committee-webui", + connectors: "@govoplan/connectors-webui", dashboard: "@govoplan/dashboard-webui", dataflow: "@govoplan/dataflow-webui", datasources: "@govoplan/datasources-webui", @@ -70,6 +71,7 @@ const cases = [ { name: "calendar-only", modules: ["calendar"] }, { name: "cases-only", modules: ["cases"] }, { name: "committee-only", modules: ["committee"] }, + { name: "connectors-only", modules: ["connectors"] }, { name: "files-only", modules: ["files"] }, { name: "forms-only", modules: ["forms"] }, { name: "forms-runtime", modules: ["forms", "forms_runtime"] }, @@ -79,6 +81,7 @@ const cases = [ { name: "payments-only", modules: ["payments"] }, { name: "idm-with-organizations", modules: ["organizations", "idm"] }, { name: "identity-trust-only", modules: ["identity_trust"] }, + { name: "identity-only", modules: ["identity"] }, { name: "identity-trust-with-access", modules: ["access", "identity_trust"] }, { name: "encryption-only", modules: ["encryption"] }, { name: "encryption-with-trust", modules: ["access", "identity_trust", "encryption"] }, @@ -103,7 +106,7 @@ const cases = [ { name: "tasks-only", modules: ["access", "tasks"] }, { name: "tasks-with-contributors", modules: ["access", "approvals", "postbox", "workflow", "dashboard", "tasks"] }, { name: "voting-only", modules: ["access", "voting"] }, - { name: "full-product", modules: ["access", "tenancy", "admin", "addresses", "approvals", "policy", "audit", "dashboard", "datasources", "dataflow", "dist_lists", "templates", "workflow", "views", "organizations", "idm", "identity_trust", "encryption", "cases", "committee", "campaigns", "files", "forms", "forms_runtime", "mail", "notifications", "docs", "ops", "payments", "calendar", "scheduling", "portal", "postbox", "projects", "quick_access", "reporting", "records", "risk_compliance", "search", "tasks", "voting"] } + { name: "full-product", modules: ["access", "tenancy", "admin", "addresses", "approvals", "policy", "audit", "dashboard", "datasources", "dataflow", "dist_lists", "templates", "workflow", "views", "organizations", "idm", "identity", "identity_trust", "encryption", "cases", "committee", "connectors", "campaigns", "files", "forms", "forms_runtime", "mail", "notifications", "docs", "ops", "payments", "calendar", "scheduling", "portal", "postbox", "projects", "quick_access", "reporting", "records", "risk_compliance", "search", "tasks", "voting"] } ]; const npmExec = process.env.npm_execpath; diff --git a/webui/vite.config.ts b/webui/vite.config.ts index b575dcf..8327cd5 100644 --- a/webui/vite.config.ts +++ b/webui/vite.config.ts @@ -22,6 +22,7 @@ const defaultWebModulePackages = [ "@govoplan/cases-webui", "@govoplan/campaign-webui", "@govoplan/committee-webui", + "@govoplan/connectors-webui", "@govoplan/dataflow-webui", "@govoplan/datasources-webui", "@govoplan/dashboard-webui", @@ -256,6 +257,7 @@ export default defineConfig({ fileURLToPath(new URL('../../govoplan-audit/webui', import.meta.url)), fileURLToPath(new URL('../../govoplan-calendar/webui', import.meta.url)), fileURLToPath(new URL('../../govoplan-cases/webui', import.meta.url)), + fileURLToPath(new URL('../../govoplan-connectors/webui', import.meta.url)), fileURLToPath(new URL('../../govoplan-dataflow/webui', import.meta.url)), fileURLToPath(new URL('../../govoplan-datasources/webui', import.meta.url)), fileURLToPath(new URL('../../govoplan-dashboard/webui', import.meta.url)),