Skip to content

Add screenshot selection overlay and shortcut#306

Merged
BunsDev merged 1 commit intomainfrom
okcode/screenshot-button
Apr 6, 2026
Merged

Add screenshot selection overlay and shortcut#306
BunsDev merged 1 commit intomainfrom
okcode/screenshot-button

Conversation

@BunsDev
Copy link
Copy Markdown
Contributor

@BunsDev BunsDev commented Apr 6, 2026

Summary

  • Added a new screenshot mode with a full-screen selection overlay, drag-to-select cropping, and Escape-to-cancel handling.
  • Wired up a screenshot toolbar button plus Cmd+Shift+S / Ctrl+Shift+S shortcut to toggle capture mode.
  • Captured regions are copied to the clipboard, with a toast action to download the image as a PNG.
  • Added html-to-image to render the page before cropping the selected region.

Testing

  • Not run (not requested).
  • Suggested checks: bun fmt
  • Suggested checks: bun lint
  • Suggested checks: bun typecheck

- Add a floating screenshot button and global shortcut
- Capture a selected region, copy it to clipboard, and offer download
@vercel
Copy link
Copy Markdown

vercel bot commented Apr 6, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
okcode-marketing Ready Ready Preview Apr 6, 2026 1:06am
v0-compute-the-platform-to-build Ready Ready Preview, Open in v0 Apr 6, 2026 1:06am

@github-actions github-actions bot added size:L vouch:trusted PR author is trusted by repo permissions or the VOUCHED list. labels Apr 6, 2026
@BunsDev BunsDev merged commit ef8c776 into main Apr 6, 2026
10 of 11 checks passed
@BunsDev BunsDev deleted the okcode/screenshot-button branch April 6, 2026 17:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size:L vouch:trusted PR author is trusted by repo permissions or the VOUCHED list.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant