fix(app): paste clipboard images on mobile (#2793)

Native composers had no path from the device clipboard into image attachments. Route clipboard data URLs through the existing attachment persistence flow and expose the action only in the native attachment sheet.
This commit is contained in:
Mohamed Boudra
2026-08-02 14:46:25 +02:00
committed by GitHub
parent 2b474f7df9
commit 0ad51e26a1
14 changed files with 189 additions and 13 deletions
+3
View File
@@ -112,6 +112,7 @@ export const ja: TranslationResources = {
},
attachments: {
addImage: "画像を追加",
pasteImage: "画像を貼り付け",
addFile: "ファイルをアップロード",
addIssueOrPr: "イシューまたはPRを追加",
addIssueOrPr_mr: "イシューまたはMRを追加",
@@ -137,6 +138,8 @@ export const ja: TranslationResources = {
initialPromptRequired: "初期プロンプトが必要です",
alreadyLoading: "すでに読み込み中です",
uploadFailed: "ファイルのアップロードに失敗しました",
noClipboardImage: "クリップボードに画像がありません",
pasteImageFailed: "画像を貼り付けられませんでした",
fileTooLarge: "{{fileName}}が大きすぎます(最大{{size}})",
},
clientCommands: {