DocHub/frontend/tests/components
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
..
DocumentEditor.test.tsx fix: add image preview and replace Monaco with CodeMirror 6 2026-08-01 18:12:19 +08:00
FileExplorer.test.tsx fix: repair build, preserve unsaved edits on save failure, fix search/upload UX gaps 2026-08-01 08:59:49 +08:00
ReindexButton.test.tsx fix: natural-sort file tree, indent nested folders, fix editor layout 2026-08-01 17:32:32 +08:00
SearchBar.test.tsx fix: repair build, preserve unsaved edits on save failure, fix search/upload UX gaps 2026-08-01 08:59:49 +08:00
SearchResults.test.tsx feat: add debounced SearchBar and highlighted SearchResults 2026-08-01 02:51:55 +08:00
UploadButton.test.tsx feat: support uploading entire folders 2026-08-01 16:30:29 +08:00