legco_ai_assistant/frontend/src
Woody 7a89651512 fix(frontend): PDF viewer version mismatch — use CDN worker matching react-pdf bundled version
pdfjs-dist 5.6.205 was installed separately from react-pdf's bundled 5.4.296.
Change workerSrc from local pdfjs-dist import to unpkg CDN with dynamic version.
Uses pdfjs.version from react-pdf to ensure API/worker version match.

Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-openagent)

Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai>
2026-04-25 14:50:23 +08:00
..
components feat(frontend): render inline citations as clickable PDF links (sub-phase 2.6) 2026-04-24 17:53:25 +08:00
lib feat(frontend): add PDF viewer page with react-pdf (sub-phase 2.5) 2026-04-24 17:09:32 +08:00
pages fix(frontend): PDF viewer version mismatch — use CDN worker matching react-pdf bundled version 2026-04-25 14:50:23 +08:00
test fix(tests): add DOMMatrix polyfill for react-pdf/jsdom compatibility 2026-04-24 17:53:39 +08:00
types feat(frontend): replace KeywordsDisplay with ExtractedQuestionsDisplay (sub-phase 2.3) 2026-04-24 16:24:30 +08:00
utils feat(frontend): add citation parser utility with tests (sub-phase 2.6) 2026-04-24 17:53:10 +08:00
App.tsx feat(frontend): add PDF viewer page with react-pdf (sub-phase 2.5) 2026-04-24 17:09:32 +08:00
main.tsx feat(frontend): Phase 1.1 grid layout with Phase 2 pre-allocation and tests 2026-04-23 10:58:03 +08:00
styles.css feat(frontend): Phase 1.1 project scaffold with Vite, Tailwind, and API client 2026-04-23 10:57:20 +08:00