From c60e2b5fa2f38974f913d156aa10ce76142de451 Mon Sep 17 00:00:00 2001 From: Hongming Wang Date: Tue, 5 May 2026 21:23:46 -0700 Subject: [PATCH] chore(canvas/chat): drop unused downloadChatFile import in AttachmentImage github-code-quality bot flagged this as the last unresolved review thread blocking the merge queue. The function is referenced in comments but never called from this file (download is dispatched via the lightbox / AttachmentChip path). Removing the import resolves the bot thread and clears the staging branch-protection 'all conversations resolved' gate. Co-Authored-By: Claude Opus 4.7 (1M context) --- canvas/src/components/tabs/chat/AttachmentImage.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/canvas/src/components/tabs/chat/AttachmentImage.tsx b/canvas/src/components/tabs/chat/AttachmentImage.tsx index 847e4188..a219cb80 100644 --- a/canvas/src/components/tabs/chat/AttachmentImage.tsx +++ b/canvas/src/components/tabs/chat/AttachmentImage.tsx @@ -36,7 +36,7 @@ import { useState, useEffect, useRef } from "react"; import type { ChatAttachment } from "./types"; -import { downloadChatFile, isPlatformAttachment, resolveAttachmentHref } from "./uploads"; +import { isPlatformAttachment, resolveAttachmentHref } from "./uploads"; import { AttachmentLightbox } from "./AttachmentLightbox"; import { AttachmentChip } from "./AttachmentViews";