AR
AKSHAT RAJ2mo
### π― Problem Statement
Currently, users have to manually click the dropzone or drag and drop an image from their local directory. Adding a global clipboard paste (`Ctrl+V` / `Cmd+V`) listener will significantly streamline the UX, especially for users taking quick screenshots.
### π‘ Expected Behavior
- When the user presses `Ctrl+V` (or `Cmd+V` on macOS) anywhere on the studio page:
1. Intercept the clipboard data.
2. Extract the image blob if `image/*` MIME type is detected.
3. Automatically feed it into the existing OffscreenCanvas / Web Worker pipeline.
4. Show a toast notification if the clipboard content is not a supported image.
### π Relevant Files
- `app/page.tsx` (Studio dropzone component)
- `lib/canvas-utils.ts`
### π οΈ Tech Stack
- Next.js (Client Component)
- Web Clipboard API (`navigator.clipboard` / `window.addEventListener('paste', ...)`)
PRs are welcome! Please comment below to get assigned.