Skip to content

[Frontend · File verification UI] Create DocumentReUploadFlow component #263

@amina69

Description

@amina69

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

Description

Re-upload flow for expired or rejected documents preserving the document slot.

Tasks

  • Accept documentId, documentType props
  • "Re-upload" button on expired/rejected DocumentRow
  • Opens DocumentUploadModal pre-scoped to that document type and slot
  • POST /documents/:id/replace on submit
  • On success: invalidate documents list, show "Document updated" toast
  • Unit test: correct endpoint called (replace not create), success invalidates and toasts

Metadata

Metadata

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