mirror of
https://gitee.com/mateos/mateclaw.git
synced 2026-09-13 11:13:43 +08:00
Root cause: PageCitationWithRaw record only had id/pageId/chunkId/rawId/ paragraphIdx/anchorText/confidence — missing rawTitle, chunkOrdinal, startOffset, endOffset, snippet. Frontend displayed Source + Chunk ? for every card. Backend: - Extend PageCitationWithRaw with rawTitle, chunkOrdinal, startOffset, endOffset, snippet fields - Expand listWithRawByPageId SQL to LEFT JOIN mate_wiki_raw_material for title, JOIN mate_wiki_chunk for ordinal/offsets/content snippet (first 200 chars via SUBSTRING) Frontend: - CitationDrawer: replace hardcoded Source / Chunk ? / offset with i18n keys - Add 4 new i18n keys: citationUnknownSource, citationChunkN, citationChunkUnknown, citationOffset (zh-CN + en-US) |
||
|---|---|---|
| .. | ||
| public | ||
| src | ||
| index.html | ||
| package-lock.json | ||
| package.json | ||
| pnpm-lock.yaml | ||
| TEST_CASES.md | ||
| tsconfig.json | ||
| vite.config.ts | ||
| yarn.lock | ||