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 |
|---|---|---|---|---|
| 2-1 | 2-1 Individual Client Account Management | Done | 2026-09-27 | 2 |
Description
As an admin, I want to create, view, edit, and search individual client accounts, So that I can manage client information and provide them platform access. Context: Integrates with: Users table, Fortify authentication; Technology: Livewire Volt, Flux UI forms; Follows pattern: Admin CRUD patterns, class-based Volt components. - Validation failure: Display inline field errors using Flux UI error states - Duplicate email: Show "Email already exists" error on email field - Duplicate National ID: Show "National ID already registered" error - Empty search results: Display "No clients found" message with clear filters option. Full implementation history: docs/stories/story-2.1-individual-client-account-management.md
Acceptance Criteria
- Form with required fields:
- Validation for all required fields
- Duplicate email/National ID prevention with clear error message
- Password strength indicator (optional)
- Success message on creation
- Display all individual clients (user_type = 'individual')
- Columns: Name, Email, National ID, Phone, Status, Created Date
- Pagination (10/25/50 per page)
- Default sort by created date (newest first)
- Search by name, email, or National ID
- Filter by status (active/deactivated/all)
- Real-time search with debounce (300ms)
- Clear filters button
- Edit all client information
- Cannot change user_type from this form
- Validation same as create
- Success message on update
- Display all client information
- Show consultation history summary
- Show timeline history summary
- Quick links to related records
- Bilingual form labels and messages
- Proper form validation with error display
- Audit log entries for all operations
- Tests for CRUD operations