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
+3 -1
View File
@@ -24,6 +24,7 @@ import {
useUnifiedContact,
type UnifiedContact,
} from '@/api/hooks';
import { PrintButton } from '@/components/common/PrintButton';
const PAGE_SIZE = 25;
@@ -353,6 +354,7 @@ export function ContactsListPage() {
>
<Plus className="w-4 h-4 text-primary-600" aria-hidden="true" strokeWidth={2} />
</button>
<PrintButton targetId="contacts-table" />
</div>
{/* Saved Filters */}
@@ -371,7 +373,7 @@ export function ContactsListPage() {
</div>
{/* List */}
<div className="flex-1 min-h-0">
<div className="flex-1 min-h-0" id="contacts-table">
<ContactList
contacts={filteredContacts}
selectedContactId={selectedContactId}