Files
libra/docs/tasks/15-3.md
T
Naser Mansour 0f9d12c3cf Prepare project for pipeline takeover: task tracker, UX doc, CLAUDE.md pointers
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>
2026-09-27 22:02:23 +03:00

2.4 KiB

id, title, status, date, parent
id title status date parent
15-3 15-3 CRUD Operations for Potential Clients QA Review 2026-09-27 15

Description

As an admin I want to create, view, edit, and delete potential clients So that I can fully manage my prospective client records. | File | Purpose | |------|---------| | resources/views/livewire/admin/potential-clients/create.blade.php | Create form component | | resources/views/livewire/admin/potential-clients/show.blade.php | View page component | | resources/views/livewire/admin/potential-clients/edit.blade.php | Edit form component |. Full implementation history: docs/stories/story-15.3-crud-operations.md

Acceptance Criteria

  • AC1: Create Form Access: Given the admin is on the potential clients list; When clicking "Add Potential Client"; Then navigate to /admin/potential-clients/create
  • AC2: Create Form Fields: Given the admin is on the create form; When the form is displayed; Then show the following fields:
  • AC3: Create Submission: Given the admin fills the create form; When submitting with valid data; Then create a new potential client record
  • AC4: Create Validation: Given the admin submits the create form; When type is not selected; Then show validation error: "Please select a type" / "يرجى اختيار النوع"
  • AC5: View Page: Given a potential client exists; When the admin clicks the view icon from the list; Then navigate to /admin/potential-clients/{id}
  • AC6: View Page Display: Given the admin is viewing a potential client; When the page loads; Then display:
  • AC7: Edit Form Access: Given the admin is viewing a potential client; When clicking "Edit"; Then navigate to /admin/potential-clients/{id}/edit
  • AC8: Edit Form Submission: Given the admin modifies the edit form; When submitting with valid data; Then update the potential client record
  • AC9: Delete Confirmation: Given the admin is viewing a potential client; When clicking "Delete"; Then show a confirmation modal with:
  • AC10: Delete Execution: Given the delete confirmation modal is shown; When the admin confirms deletion; Then delete the potential client record
  • AC11: RTL Support: Given Arabic language is selected; When viewing create/edit/view pages; Then all forms and layouts align correctly right-to-left
  • AC12: Cancel Actions: Given the admin is on create or edit form; When clicking "Cancel"; Then navigate back to the previous page (list or view)