legco_ai_assistant/frontend/src
Woody c632b9ea3b feat: cited source extraction, background batch trigger, and View PDF link upgrade (Phase 5.4.6-5.4.8)
- citationParser.ts: extractCitedSources() parses answer text for [citations],
  resolves against SourceMetadata, returns deduplicated cited sources
- ResponsePanel.tsx: useEffect fires POST /api/v1/v2/highlights/batch after
  answer renders; View PDF link upgrades in-place to highlighted HTML when
  batch completes; stays as raw PDF on failure
- Updated plan: LLM-based relevance detection, eager background computation,
  single batched LLM call, sqlite cache, regex sentence splitter
- 45 frontend tests: 28 citationParser + 17 ResponsePanel (including 4 new
  sub-question highlight tests)
2026-04-29 09:27:04 +08:00
..
components feat: cited source extraction, background batch trigger, and View PDF link upgrade (Phase 5.4.6-5.4.8) 2026-04-29 09:27:04 +08:00
lib feat(prompts): add JSON export/import for profile prompt configurations 2026-04-27 19:44:35 +08:00
pages feat: structured LLM output for decompose + citation fuzzy matching (Phase 5) 2026-04-28 15:39:17 +08:00
test feat: cited source extraction, background batch trigger, and View PDF link upgrade (Phase 5.4.6-5.4.8) 2026-04-29 09:27:04 +08:00
types feat: structured LLM output for decompose + citation fuzzy matching (Phase 5) 2026-04-28 15:39:17 +08:00
utils feat: cited source extraction, background batch trigger, and View PDF link upgrade (Phase 5.4.6-5.4.8) 2026-04-29 09:27:04 +08:00
App.tsx feat(frontend): Phase 3.6 — History page with timing bars, expandable cards, and pagination 2026-04-26 13:19:52 +08:00
main.tsx fix(pdf): polyfill URL.parse for Chrome <129 compatibility 2026-04-28 13:11:54 +08:00
styles.css feat: integrate bullet points in ResponsePanel with CSS list-style 2026-04-28 16:43:30 +08:00