Skip to content

[Frontend · File verification UI] Create AdminDocumentReviewPanel component #264

@amina69

Description

@amina69

Epic: File verification UI
Labels: ui, api, ux, phase-2, frontend
Size: M (~1 days)

Description

Admin panel on adoption detail for reviewing, approving, or rejecting documents.

Tasks

  • Only render for ADMIN role (useRoleGuard)
  • List all adoption documents with DocumentIntegrityBadge
  • Per-document: "Approve" and "Reject with reason" buttons
  • Reject: opens small inline reason input before submission
  • useMutateReviewDocument: PATCH /documents/:id/review
  • On all approved: show "All documents verified — adoption can proceed to escrow" message
  • Review progress: "3 of 4 documents approved" badge
  • Unit test: hidden for non-admin, inline reject reason, progress badge updates

Metadata

Metadata

Assignees

No one assigned

    Labels

    Stellar WaveIssues in the Stellar wave program

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions