Phase 1: Workflows UI, Dedup/Merge UI, Import/Export UI, Print/PDF

- Workflows UI: full page with definitions/instances tabs, step editor, instance detail with approve/reject
- Dedup/Merge UI: duplicate detection, side-by-side comparison, field-level merge dialog, merge history
- Import/Export UI: import wizard (dry-run preview), export panel (CSV/XLSX), backend export route added
- Print/PDF: PrintButton component, print.css, integrated in Contacts/Calendar/Reports/ContactDetail
- Backend: GET /api/v1/export endpoint, export_companies_csv() service function
- Routes: /workflows, /contacts/dedup, /import-export registered
- Menu items: Workflows, Import/Export, Duplikate added to automation plugin manifest
- IMPLEMENTATION_PLAN.md: audit-corrected plan for all 14 remaining features
This commit is contained in:
Agent Zero
2026-07-26 02:35:44 +02:00
parent 6d484ed747
commit a3a5a10514
27 changed files with 4288 additions and 5 deletions
+33 -1
View File
@@ -70,7 +70,29 @@ class AutomationPlugin(BasePlugin):
"agents:execute",
],
is_core=False,
menu_items=[],
menu_items=[
FrontendMenuItem(
label_key="nav.workflows",
label="Workflows",
path="/workflows",
icon="Workflow",
order=52,
),
FrontendMenuItem(
label_key="nav.importExport",
label="Import / Export",
path="/import-export",
icon="ArrowUpDown",
order=53,
),
FrontendMenuItem(
label_key="nav.dedupMerge",
label="Duplikate",
path="/contacts/dedup",
icon="Copy",
order=54,
),
],
page_routes=[
FrontendPageRoute(
path="/automation",
@@ -82,6 +104,16 @@ class AutomationPlugin(BasePlugin):
component="@/pages/AgentDashboard",
order=51,
),
FrontendPageRoute(
path="/workflows",
component="@/pages/Workflows",
order=52,
),
FrontendPageRoute(
path="/import-export",
component="@/pages/ImportExport",
order=53,
),
],
settings_pages=[
FrontendSettingsPage(