Skip to content

fix(control-plane): show pending uploaded documents#2346

Open
xmh1011 wants to merge 1 commit into
vectorize-io:mainfrom
xmh1011:fix/issue-2314-document-upload-pending
Open

fix(control-plane): show pending uploaded documents#2346
xmh1011 wants to merge 1 commit into
vectorize-io:mainfrom
xmh1011:fix/issue-2314-document-upload-pending

Conversation

@xmh1011

@xmh1011 xmh1011 commented Jun 22, 2026

Copy link
Copy Markdown
Contributor

Summary

  • generate document IDs for uploaded files before submitting retain, so the Documents view can show each accepted file immediately
  • add a client-side pending-document store backed by sessionStorage
  • render Processing/Failed rows in Documents until list_documents returns the real document row
  • poll the related file_convert_retain operation to surface conversion failures

Closes #2314

Tests

  • npm run --workspace @vectorize-io/hindsight-control-plane i18n:check
  • npx prettier --check src/components/bank-selector.tsx src/components/documents-view.tsx src/lib/pending-documents.ts src/messages/en.json src/messages/zh-CN.json src/messages/zh-TW.json src/messages/yue-Hant.json src/messages/de.json src/messages/es.json src/messages/fr.json src/messages/ja.json src/messages/ko.json src/messages/pt.json
  • npx eslint src/components/bank-selector.tsx src/components/documents-view.tsx src/lib/pending-documents.ts (0 errors; existing warnings only)
  • npm exec --workspace @vectorize-io/hindsight-control-plane -- tsc --noEmit --pretty false (fails on existing generated SDK mismatches: testBankLlm, consolidationState, exclude_parents)
  • pre-commit hooks completed during git commit

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Uploaded documents show in list while being retained

1 participant