supermemory/apps/web/components/document-cards
addyCooks 53c005f776 fix(web): recover a document title when auto-titling produces none
Documents saved through the MCP connector have been landing with a null
title, so every surface fell back to "Untitled Document". The titling step
runs server-side, but the content itself almost always carries a usable
title, and the ingest API has no title field for a caller to set.

Resolve a display title from metadata.title, then the stored title, then
the content itself (YAML frontmatter, a markdown heading, or a short
opening line), and let add_memory pin a title through metadata.

Fixes #1425
2026-08-20 14:02:27 +05:30
..
file-preview.tsx Support HTML file uploads in Nova (#1076) 2026-06-10 06:09:20 +00:00
google-docs-preview.tsx chore: improve the codebase with react doctor (#917) 2026-05-09 19:12:01 +00:00
mcp-preview.tsx fix(web): recover a document title when auto-titling produces none 2026-08-20 14:02:27 +05:30
note-preview.tsx fix(web): recover a document title when auto-titling produces none 2026-08-20 14:02:27 +05:30
notion-preview.tsx chore: improve the codebase with react doctor (#917) 2026-05-09 19:12:01 +00:00
plugin-preview.tsx Refine Codex and OpenCode OAuth integration status (#1048) 2026-06-04 15:15:20 -07:00
tweet-preview.tsx fix(tweet-preview): guard JSON.parse to avoid crashing the modal (#996) 2026-06-02 20:25:02 +05:30
website-preview.tsx chore: improve the codebase with react doctor (#917) 2026-05-09 19:12:01 +00:00
youtube-preview.tsx chore: improve the codebase with react doctor (#917) 2026-05-09 19:12:01 +00:00