PR: #689: feat(documents): show Blake card in insights [Story-2702] by @pramaan-board-bot[bot]
View PR →
Story-2702 ยท parent Epic-2639

Blake's card is visible before the Deep Read

The Insights page now shows the production card already returned with the Record bootstrap. No second request and no fixture enter the live path.

What counsel sees

Identity

Blake's cited document type and date appear as returned.

Whole-document account

The full summary is shown without rewriting or truncation.

Extracted facts

Parties with roles, amounts as written, and tags preserve Blake's order and wording.

Honest absence

A document without a production card says it has not been enriched yet.

Real data path

GET /app/matters/{matter_id}/record/bootstrap โ†’ DocumentListItem.card โ†’ Insights route โ†’ Blake card. The same cached bootstrap row already gates this document page.

Review path

Storybook stateExpected proof
Documents / Viewer / BlakeCard / DefaultType, date, full summary, both parties and roles, amount, and all tags are visible.
Documents / Viewer / BlakeCard / Not Enriched YetThe honest empty state appears with no fabricated values.
Documents / Viewer / InsightsDossier / DefaultThe Blake card sits above the Deep Read in the single Insights scroll.

Files changed

13 file(s), +359 / -36 lines

Path Role + -
messages/en.jsonConfig+16-0
messages/hi.jsonConfig+16-0
src/app/[locale]/(workspace)/matters/[matterId]/record/doc/[documentId]/insights/page.tsxApp route+5-2
src/components/documents/viewer/blake-card.fixtures.tsComponent+51-0
src/components/documents/viewer/blake-card.stories.tsxComponent+42-0
src/components/documents/viewer/blake-card.test.tsxComponent+42-0
src/components/documents/viewer/blake-card.tsxComponent+123-0
src/components/documents/viewer/document-insights-dossier.stories.tsxComponent+7-0
src/components/documents/viewer/document-insights-dossier.tsxComponent+47-32
src/components/documents/viewer/document-insights-live.tsxComponent+4-0
src/components/documents/viewer/document-viewer-state.stories.tsxComponent+1-0
src/components/documents/viewer/document-viewer-state.tsxComponent+3-0
src/lib/surface-registry/route-registry.tsLibrary+2-2