Skip to content

Dashboard CameraPanel: show the captured snapshot - #25

Merged
robdobsn merged 1 commit into
mainfrom
feature/camera-snapshot-preview
Oct 25, 2026
Merged

robdobsn merged 1 commit into
mainfrom
feature/camera-snapshot-preview

Conversation

@robdobsn

@robdobsn robdobsn commented Oct 25, 2026 •

Copy link
Copy Markdown
Owner

After Snapshot, the camera panel now shows the image the device captured:

  • It downloads the file the device wrote (fsGetContents, with a progress note while loading).
  • It shows the image with its size and filename, plus Download and Close buttons.
  • The blob URL is revoked when the image is replaced or closed, and when the panel unmounts.
  • If the device only queued the capture (a transport that can't defer the reply), there is no filename yet, so nothing is shown. The image can be found in the image files instead.

This brings over the useful part of the old feature/camera-panel branch, rebuilt on the current panel. That branch can be deleted once this is merged.

Tested with the plant growth board (OV2640) and the example dashboard.

🤖 Generated with Claude Code

After a capture the panel downloads the image file the device wrote (fsGetContents, with progress) and shows it
with its size and filename, with Download and Close buttons. The image URL is revoked when replaced, closed or
the panel unmounts. Brought over from the old feature/camera-panel branch.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@robdobsn
robdobsn merged commit 4fb9163 into main Oct 25, 2026
1 check passed
@robdobsn
robdobsn deleted the feature/camera-snapshot-preview branch October 25, 2026 20:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant