0
Board: Store pasted images in blob storage instead of inline base64 in the scene
Miro and FigJam handle boards full of screenshots without size errors. We keep every image as a dataURL inside the scene JSON (buildScene in components/board/BoardEditor.tsx keeps files inline) under a 4 MB cap (lib/boards-types.ts BOARD_MAX_SCENE_BYTES), so a handful of screenshots triggers the 'too large' block and stops saving, and every autosave re-uploads all images. lib/uploads.ts already provides Vercel Blob or local disk storage for Chat and Track attachments. First scope: on new file, upload it via lib/uploads.ts, replace dataURL with the blob URL in the files map, and lazy-load files on open, keeping the inline path as fallback for self-host without a token. Priority: medium. Effort: M. Compared with Miro.
Ya salió. Ver en el changelog
Comentarios 0
Sin comentarios todavía.
Ingresá para comentar