From cecbc24f2641ec937393e98a416d5d41c3fe5a88 Mon Sep 17 00:00:00 2001 From: Victor Giers Date: Fri, 17 Apr 2026 13:03:45 +0200 Subject: [PATCH] Enhance attachment menu and toggle button in App.jsx --- src/App.jsx | 52 +++++++++++++++++++++++++++++++++++++++++++--------- 1 file changed, 43 insertions(+), 9 deletions(-) diff --git a/src/App.jsx b/src/App.jsx index fe9b359..2e01666 100644 --- a/src/App.jsx +++ b/src/App.jsx @@ -3376,23 +3376,57 @@ async function createNewChat() { )} - {selectedVisionModelSupportsVision && ( +
- )} + {isAttachmentMenuOpen && ( +
+ + + {!canAttachImages && ( +
+ {imageAttachmentUnavailableReason} +
+ )} +
+ )} +
{audioInputEnabled && (