Examples · New feature
From a truncated column to an in-browser attachment viewer
Fixed the truncated Size column and shipped an in-browser preview modal for images, video, audio, and PDFs, with zoom and a download fallback.
- $24.53
- Cost, start to finish
- 1h 51m
- Lead time, filed to merged
- 23
- Files changed in the merge
Measured from this task's real merge.
- Cost
- $24.53
- Turns
- 395
- Lead time
- 1h 51m
- Merged
- Aug 6, 2026
- Diff
- 23 files · +1055 -122
The attachments table clipped its own Size column, and there was no way to look at an attachment without downloading it first: not an image, not a video, not a PDF.
What was asked for
Ridiculous that the size is truncated on this table. Also we need to be able to view attachments... so we should be able to preview images, videos or PDF's etc in the browser in a popover/modal.
Filed from the web app, no CLI or git required (react, css).
What the herd did
- plan
- code
- review
- merge
- verify
- done
- plan
- Split the two asks: a small column-width fix, and a new modal that has to handle four different media types plus a fallback for anything it can't render.
- code
- Built an attachment preview modal on top of the existing Modal component, formatted file sizes properly, and added zoom and a download link for the cases that can't preview inline.
- review
- Checked content-security-policy changes needed to render previews safely, and the new component's own test suite.
- merge
- Twenty-three files: the modal, the attachments section that opens it, a shared size formatter, and a CSP update to allow it.
- verify
- Confirmed the Size column no longer truncates and that images, video, audio, and PDFs all open in the modal, with a download link when they can't.
- done
- $24.53, the largest diff in this set at 1,055 lines added.
What it changed
The merge touched 23 files (+1055 −122). Among them:
app/src/components/AttachmentPreviewModal.tsxapp/src/components/AttachmentsSection.tsxapp/src/lib/formatBytes.tsapp/src/config/csp.tsdocs/attachments.md
What it cost
$24.53 in model spend, 395 agent turns, and 1h 51m from filed to merged. See what a month of work like this would cost your own team on our cost calculator.
A one-line complaint can be the entry point to a feature nobody had formally scoped yet.

Got something like this to ship?
Tell us what you're building. We'll set your workspace up and you can file it today.