0f9d12c3cf
Adds docs/tasks/ (16 epics + 102 stories converted to task/subtask files with statuses.md as the new status source of truth) and docs/ux-design.md (retrospective design-system reference), and points CLAUDE.md at them. docs/prd.md and docs/architecture.md are kept as BMAD wrote them; the legacy docs/stories/, docs/epics/, docs/qa/gates/ and .bmad-core/ stay in place as historical/traceability records, superseded but not deleted. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
1.9 KiB
1.9 KiB
id, title, status, date, parent
| id | title | status | date | parent |
|---|---|---|---|---|
| 6-4 | 6-4 Data Export - User Lists | QA Review | 2026-09-27 | 6 |
Description
As an admin, I want to export user data in CSV and PDF formats, So that I can generate reports and maintain offline records. Full implementation history: docs/stories/story-6.4-data-export-user-lists.md
Acceptance Criteria
- Export all users (both individual and company clients)
- Export individual clients only (
user_type = 'individual') - Export company clients only (
user_type = 'company') - Date range filter on
created_atfield (start date, end date) - Status filter: active, deactivated, or all
- Filters combine with export type (e.g., "active individual clients created in 2024")
- Name (
namefor individual,company_namefor company) - Email (
email) - Phone (
phone) - User type (
user_type: individual/company) - National ID / Company registration (
national_idfor individual,company_cert_numberfor company) - Status (
status: active/deactivated) - Created date (
created_atformatted per locale) - UTF-8 BOM for proper Arabic character display in Excel
- Same data fields as CSV in tabular format
- Libra branding header (logo, firm name)
- Generation timestamp in footer
- Page numbers if multiple pages
- Professional formatting with brand colors (Navy #0A1F44, Gold #D4AF37)
- Column headers based on admin's
preferred_languagesetting - Date formatting per locale (DD/MM/YYYY for Arabic, MM/DD/YYYY for English)
- PDF title and footer text bilingual
- Export section accessible from Admin User Management page
- Filter form with: user type dropdown, status dropdown, date range picker
- "Export CSV" and "Export PDF" buttons
- Loading indicator during export generation
- Success toast on download start
- Error toast if export fails