Skip to content

Add long-press card save-as-image and multi-format Copy message menu - #416

Merged
promptclickrun merged 1 commit into
mainfrom
feat/card-image-and-copy-formats
Nov 30, 2026
Merged

promptclickrun merged 1 commit into
mainfrom
feat/card-image-and-copy-formats

Conversation

@promptclickrun

Copy link
Copy Markdown
Owner

Summary

  • Long-press card to save as image: Adds CardHold around A2UI surfaces and rich cards on Mobile backed by a local Expo native module (mobile/modules/botkins-export, Swift UIGraphicsImageRenderer + Kotlin Bitmap) saving crisp padded PNGs to Photos via expo-media-library. On Desktop, right-clicking any A2UI surface or rich card exposes Save card as image via Electron webContents.capturePage.
  • Hold "Copy message" for formats (Markdown, iMessage, PDF, TXT): Holding down on Copy message in the message menu expands format choices:
    • Markdown (clean shareable Markdown)
    • iMessage (Unicode sans-serif/monospace styled text, lists, tables, and link URLs ported from Bighelp)
    • PDF (native UIGraphicsPDFRenderer copying com.adobe.pdf to clipboard on iOS, PdfDocument on Android, and Electron PDF save on Desktop)
    • TXT (plain text without Markdown syntax)

Verification

  • Desktop npm run build + message-export / message-menu tests pass
  • Mobile npm run typecheck + full test suite (1400 tests) pass

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@promptclickrun
promptclickrun merged commit 1405b88 into main Nov 30, 2026
8 checks passed
@promptclickrun
promptclickrun deleted the feat/card-image-and-copy-formats branch November 30, 2026 02:27
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