You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix(assets): serve raw bytes on Vite origin, side-panel details, inline type filter
- Fix broken images in the plugin dev server: in devMiddleware mode the
SPA is served by Vite while ctx.views.hostStatic() mounts the raw bytes
on the side-car origin, so origin-relative <img> URLs 404'd against
Vite. Re-serve the managed directory on Vite's own origin in the dev
config so the relative publicPath resolves.
- Details view is now an in-layout right side panel (the listing shrinks
beside it) instead of an overlay drawer; removed the Drawer component.
- Replace the extension-filter dropdown with an always-visible inline
type-filter chip row (image/video/audio/font/text/other) modeled on
vitejs/devtools' DataSearchPanel; shared TYPE_META drives the chips and
the tree icons.
Co-authored-by: opencode <noreply@opencode.ai>
Search and filter by extension, switch between a thumbnail grid (grouped by folder) and a file tree, and open a details panel with a live preview (image, video, audio, font, or text), file metadata, and ready-to-copy usage snippets (`<img>`, CSS `background-image`, `@font-face`, a download link). Drag-and-drop files to upload them, or select multiple assets to delete them together. A live file watcher keeps every connected client's listing in sync with changes made outside the UI.
13
+
Search by name and filter by type from an inline chip row, switch between a thumbnail grid (grouped by folder) and a file tree, and open a right-hand details panel with a live preview (image, video, audio, font, or text), file metadata, and ready-to-copy usage snippets (`<img>`, CSS `background-image`, `@font-face`, a download link). Drop files anywhere on the frame to upload them, or select multiple assets to delete them together. A live file watcher keeps every connected client's listing in sync with changes made outside the UI.
14
14
15
15
The standalone server requires devframe's trust handshake by default because it can read, write, and delete real files. Uploads, renames, deletes, and folder creation are enabled by default — pass `{ write: false }` (or `--read-only` on the standalone CLI) for a browse-only deployment.
0 commit comments