Skip to content

[Frontend · File verification UI] Create DocumentList component #261

@amina69

Description

@amina69

Epic: File verification UI
Labels: ui, api, phase-2, frontend
Size: S (~1 day)

Description

Full document list for an adoption or dispute with integrity verification status.

Tasks

  • Accept adoptionId or disputeId prop
  • useApiQuery: fetch documents from adoption/dispute detail
  • Render DocumentRow for each
  • Call GET /documents/:id/verify lazily for each document (on mount, not on every render)
  • Show "Add document" button (owner or ADMIN)
  • EmptyState: "No documents uploaded yet"
  • SkeletonLoader: 3 skeleton rows
  • Unit test: verify called per document, empty state, add button shown for owner

Metadata

Metadata

Assignees

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