From 1ac8701e846470f2ccdabebdc9fff5930d657d83 Mon Sep 17 00:00:00 2001 From: Naiyuan Qing <145280634+NevilleQingNY@users.noreply.github.com> Date: Wed, 13 May 2026 11:50:55 +0800 Subject: [PATCH] feat(feedback): add file upload button so users can attach screenshots MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The editor underneath the feedback textarea already supports image/file upload via paste and drag-drop, but the modal has no visible affordance — users had no way to discover this. Chat input has the same plumbing and exposes it through a paperclip button; mirror the pattern here. Co-Authored-By: Claude Opus 4.7 Co-authored-by: multica-agent --- packages/views/modals/feedback.tsx | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/packages/views/modals/feedback.tsx b/packages/views/modals/feedback.tsx index 912b37e481..3d8840e0d6 100644 --- a/packages/views/modals/feedback.tsx +++ b/packages/views/modals/feedback.tsx @@ -9,6 +9,7 @@ import { DialogTitle, } from "@multica/ui/components/ui/dialog"; import { Button } from "@multica/ui/components/ui/button"; +import { FileUploadButton } from "@multica/ui/components/common/file-upload-button"; import { ContentEditor, type ContentEditorRef, @@ -125,7 +126,11 @@ export function FeedbackModal({ onClose }: { onClose: () => void }) { -
+
+ editorRef.current?.uploadFile(file)} + />