Work / Chitragupt / Wiki / Surfaces
review-document-backfill-pending
Surfacecanonicalverified 2026-07-19
SURFACE.WEB.APP.REVIEW.DOCUMENT-BACKFILL-PENDINGDocument — backfill pending (post-upgrade parsing)
Summary
The transitional Review-page state a document sits in immediately after a Free → Paid upgrade, while drainBackfill walks the user's view_only upload backlog. The row still has status = "view_only" until the parser writes a fresh outcome; the UI renders a "Parsing your file — this usually takes under a minute" banner instead of the view-only "Upgrade to unlock" affordance.
Raw wireframe
- .context/designs/mobile/review/transfer-pending.html (TODO — rendered from the
DocBackfillPendingViewcomponent, no dedicated wireframe file yet)
Copy
- Banner title: "Parsing your file"
- Banner body: "We're extracting fields from this document — usually under a minute. Refresh in a moment or wait for the automatic update."
- Progress hint (when the user has many pending): "{n} of your Free-tier uploads are still queued."
Flows that touch this surface
- document-lifecycle-upgrade-backfill — step 3: user lands here after paying, before the parser writes a fresh status.
Entities referenced
- tier-self — the upgrade target
- inbox-document-status —
view_onlybefore, thenunreviewed/needs_classification/ … after - pillar-inbox — where the surface renders
Sources
- apps/website/src/components/inbox/DocBackfillPendingView.tsx
- apps/functions/src/inbox/backfill-free-uploads.ts — the drainer that eventually updates the row
Every project of mine is written down like this.
Read the résumé