From 39d57d5226530293cceebb863bb28614c106bdc5 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Wed, 4 Feb 2026 10:55:43 +0000 Subject: [PATCH 1/7] Initial plan From 91af6f25f4608ab2d3444f0ecca21a0f3a04fa6a Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Wed, 4 Feb 2026 11:02:00 +0000 Subject: [PATCH 2/7] Hide Print and Schedule buttons in individual file actions when files are selected Co-authored-by: cadtoolbox <12723486+cadtoolbox@users.noreply.github.com> --- frontend/src/pages/FileManagerPage.tsx | 10 ++++++---- static/assets/{index-kl_IYtg7.js => index-LeR4yF6b.js} | 2 +- static/index.html | 2 +- 3 files changed, 8 insertions(+), 6 deletions(-) rename static/assets/{index-kl_IYtg7.js => index-LeR4yF6b.js} (98%) diff --git a/frontend/src/pages/FileManagerPage.tsx b/frontend/src/pages/FileManagerPage.tsx index 3a0a6437e..7cc4a230e 100644 --- a/frontend/src/pages/FileManagerPage.tsx +++ b/frontend/src/pages/FileManagerPage.tsx @@ -902,6 +902,7 @@ interface FileCardProps { file: LibraryFileListItem; isSelected: boolean; isMobile: boolean; + hasAnySelection: boolean; onSelect: (id: number) => void; onDelete: (id: number) => void; onDownload: (id: number) => void; @@ -916,7 +917,7 @@ interface FileCardProps { t: TFunction; } -function FileCard({ file, isSelected, isMobile, onSelect, onDelete, onDownload, onAddToQueue, onPrint, onRename, onGenerateThumbnail, thumbnailVersion, hasPermission, canModify, authEnabled, t }: FileCardProps) { +function FileCard({ file, isSelected, isMobile, hasAnySelection, onSelect, onDelete, onDownload, onAddToQueue, onPrint, onRename, onGenerateThumbnail, thumbnailVersion, hasPermission, canModify, authEnabled, t }: FileCardProps) { const [showActions, setShowActions] = useState(false); return ( @@ -995,7 +996,7 @@ function FileCard({ file, isSelected, isMobile, onSelect, onDelete, onDownload, <>