Shared task board where people and AI coding agents work as teammates. Source-available, self-hostable.
Go
feat(quick-create): add file upload button to Quick Capture dialog (#1866)
Jiayuan Zhang7dfa72465c8f
diff --git a/packages/views/modals/quick-create-issue.tsx b/packages/views/modals/quick-create-issue.tsxindex 57b20161bc..b01904fadd 100644--- a/packages/views/modals/quick-create-issue.tsx+++ b/packages/views/modals/quick-create-issue.tsx@@ -37,6 +37,7 @@ import {useFileDropZone,FileDropOverlay,} from "../editor";+import { FileUploadButton } from "@multica/ui/components/common/file-upload-button";// AgentCreatePanel — agent-mode body of the create-issue dialog. Renders// only the inner content; the surrounding `<Dialog>` AND `<DialogContent>`@@ -334,7 +335,13 @@ export function AgentCreatePanel({{/* Footer */}<div className="flex items-center justify-between px-4 py-3 border-t shrink-0">- <span className="text-xs text-muted-foreground">⌘↵ to submit</span>+ <div className="flex items-center gap-1.5">+ <FileUploadButton+ size="sm"+ onSelect={(file) => editorRef.current?.uploadFile(file)}+ />+ <span className="text-xs text-muted-foreground">⌘↵ to submit</span>+ </div><div className="flex items-center gap-2"><buttontype="button"