mirror of
https://gh-proxy.org/https://github.com/klinsmaya/multica.git
synced 2026-11-08 01:16:45 +08:00
* fix(desktop): add Copy Image to the right-click menu (MUL-7759) Electron ships no default context menu, so right-clicking an image in the attachment viewer (or anywhere in the app) offered nothing. Add a Copy Image item for loaded <img> targets that copies the decoded bitmap via webContents.copyImageAt — works for any format and origin without a refetch. Co-Authored-By: Claude Opus 5.5 <[email protected]> Co-authored-by: multica-agent <[email protected]> * feat(views): copy-image button in the desktop attachment viewer (MUL-7759) Adds a copyImage clipboard helper (fetch, re-encode non-PNG through a canvas, write via the async Clipboard API) and a Copy image button next to Download for image previews. Shown only in the desktop shell: web script can't read the storage CDN's bytes (no CORS), and browsers already offer Copy image in their own context menu. Co-Authored-By: Claude Opus 5.5 <[email protected]> Co-authored-by: multica-agent <[email protected]> * fix(views): gentler copy-image failure copy per conventions (MUL-7759) Co-Authored-By: Claude Opus 5.5 <[email protected]> Co-authored-by: multica-agent <[email protected]> --------- Co-authored-by: Claude Opus 5.5 <[email protected]> Co-authored-by: multica-agent <[email protected]>