Document display label
Overview
When extract writes a displayLabel on a document (for example a formula name and trial code), the Box list, card overlay and sidebar title show that label. The stored file name is unchanged for downloads and thumbnails.
How it works
Neo can set displayLabel on the document after OCR. The Box document API type carries that field. List and card components resolve the title through a small helper: label when present, otherwise the file name.
Key files
src/protocol/bcyipApi.ts—displayLabelon the document API typesrc/components/DocumentsPanel/utils/documentTitle.ts— title resolutionsrc/components/DocumentsPanel/Item/ListItem.tsx/CardItem.tsx— list and card titlessrc/components/Sidebar/Sidebar.tsx— sidebar heading
Technical decisions
The file name stays the source of truth for storage and download paths. The label is display-only so extract can rename the human title without rewriting the object key.