tenantpilot/lib
Ahmed Darrazi 4288bc7884
All checks were successful
Trigger Cloudarix Deploy / call-webhook (push) Successful in 2s
feat(policy-explorer-v2): implement Phase 5 - Bulk CSV Export
 New Features (Tasks T029-T037)
- Client-side CSV export for selected rows
- Server-side CSV export for all filtered results (max 5000)
- RFC 4180 compliant CSV formatting with proper escaping
- UTF-8 BOM for Excel compatibility
- ExportButton dropdown with two export modes
- Warning UI when results exceed 5000 rows
- Loading state with spinner during server export

📦 New Files
- lib/utils/csv-export.ts - CSV generation utilities
- components/policy-explorer/ExportButton.tsx - Export dropdown

🔧 Updates
- PolicyTableToolbar now includes ExportButton
- PolicyExplorerV2Client passes export props
- Filename generation with timestamp and row count

 Zero TypeScript compilation errors
 All Phase 5 tasks complete (T029-T037)
 Ready for Phase 6 (Enhanced Detail View)

Refs: specs/004-policy-explorer-v2/tasks.md Phase 5
2025-12-10 00:30:33 +01:00
..
actions feat(policy-explorer-v2): implement MVP Phase 1-3 2025-12-10 00:18:05 +01:00
auth Fix tenant_id not being saved to database on login 2025-12-06 12:29:00 +01:00
db feat(policy-explorer-v2): implement MVP Phase 1-3 2025-12-10 00:18:05 +01:00
email Fix: Multiple TypeScript build errors for production 2025-12-05 23:49:00 +01:00
hooks feat(policy-explorer-v2): implement MVP Phase 1-3 2025-12-10 00:18:05 +01:00
queue chore(worker): add structured logging, job events, worker health endpoint and health-check script 2025-12-09 12:22:16 +01:00
stripe Fix: Multiple TypeScript build errors for production 2025-12-05 23:49:00 +01:00
types feat(policy-explorer-v2): implement MVP Phase 1-3 2025-12-10 00:18:05 +01:00
utils feat(policy-explorer-v2): implement Phase 5 - Bulk CSV Export 2025-12-10 00:30:33 +01:00
validators Feature: Global Search & Seed Data complete 2025-12-05 22:06:22 +01:00
env.mjs chore(worker): add structured logging, job events, worker health endpoint and health-check script 2025-12-09 12:22:16 +01:00
utils.ts Initial Setup für Dokploy 2025-11-18 23:24:41 +01:00