DocHub/frontend/tests
Tianyang 954b9bede4 fix: add image preview and replace Monaco with CodeMirror 6
Markdown and image previews were rendering blank because
@monaco-editor/react loads its core assets from cdn.jsdelivr.net at
runtime, which the deployment server's network can't reach. Switching
to @uiw/react-codemirror removes the CDN dependency entirely (all
assets ship in the build) and cuts bundle size from ~2.5MB to ~770KB.

Also add proper image/* content-type detection so images render via
<img> instead of being force-decoded as editor text.
2026-08-01 18:12:19 +08:00
..
api fix: natural-sort file tree, indent nested folders, fix editor layout 2026-08-01 17:32:32 +08:00
components fix: add image preview and replace Monaco with CodeMirror 6 2026-08-01 18:12:19 +08:00
App.test.tsx fix: add image preview and replace Monaco with CodeMirror 6 2026-08-01 18:12:19 +08:00
setup.ts feat: scaffold frontend project with Vite, Vitest and Docker build 2026-08-01 02:40:18 +08:00