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
DESIGN_REQUIREMENTS FR-3.1.9: "BLOB columns show data size and type; click to open preview (image, hex view, text attempt)". The cell viewer modal handles JSON/SQL/Markdown but not BLOB/image.
Problem
Per docs/audits/results.md F8.
BLOB columns deserialize to TS number[] (via SqlValue::Bytes). TruncatedCell.formatValue renders them via String(val) as [1, 2, 3, ...] — unreadable. CellViewerModal has no hex view, no <img> rendering, no MIME detection. An image/png stored in MEDIUMBLOB displays as [137, 80, 78, 71, ...].
Files
src/components/grid/CellViewerModal.tsx
src/components/grid/TruncatedCell.tsx:14-19
src/types/index.ts:85 (SqlValue = ... | number[])
Repro (if applicable)
Static analysis only.
Expected
BLOB columns open a modal with Text/Hex/Image tabs. Image tab renders <img src={URL.createObjectURL(blob)}>; Hex tab shows formatted 00 01 02 ... view.
Proposed fix
Scope M. In CellViewerModal, when data_type matches /blob|varbinary|binary/i, add a tab strip with Text (UTF-8 best-effort), Hex (16 bytes/line), Image (magic-byte detection + <img>).
Acceptance
A SELECT id, avatar FROM users LIMIT 1 with an image BLOB double-click opens a modal with three tabs; Image renders the actual image; Hex shows the bytes.
Activity
feat(grid): make BLOB columns readable
feat(grid): make BLOB columns readable (#632)