From 9040fcdfb98f043f5a69c693bb58246608179ef8 Mon Sep 17 00:00:00 2001 From: ciregenz Date: Thu, 23 Jul 2026 16:45:56 -0700 Subject: [PATCH] [eric] share: secrets warning as a clean macOS-style alert card, short Export anyway button --- .../src/app/components/share/ShareModal.tsx | 62 ++++++++++++++----- 1 file changed, 47 insertions(+), 15 deletions(-) diff --git a/frontend/src/app/components/share/ShareModal.tsx b/frontend/src/app/components/share/ShareModal.tsx index 0b61fa25..7a164bb3 100644 --- a/frontend/src/app/components/share/ShareModal.tsx +++ b/frontend/src/app/components/share/ShareModal.tsx @@ -13,6 +13,7 @@ import CloseIcon from '@mui/icons-material/Close'; import DownloadIcon from '@mui/icons-material/Download'; import LinkIcon from '@mui/icons-material/Link'; import PublicIcon from '@mui/icons-material/Public'; +import WarningAmberRoundedIcon from '@mui/icons-material/WarningAmberRounded'; import { useClaudeTokens } from '@/shared/styles/ThemeContext'; @@ -147,22 +148,53 @@ const ShareModal: React.FC = ({ target, open, onClose }) => { ) : error ? ( - - {error} - - {secretOverridable && ( - + + + + ) : ( + + {error} + - )} - + + ) ) : preflight ? ( ) : null}