diff --git a/frontend/src/components/MailDetail.jsx b/frontend/src/components/MailDetail.jsx index 541ca7f..0d3860f 100644 --- a/frontend/src/components/MailDetail.jsx +++ b/frontend/src/components/MailDetail.jsx @@ -15,13 +15,16 @@ import { ShieldAlert, Trash2, ChevronDown, + FileText, } from "lucide-react"; import AgentSpark from "./AgentSpark"; import SenderAvatar from "./SenderAvatar"; import { addressText, senderDisplayName } from "../utils/senderAvatar"; import { attachmentCount } from "../utils/inboxSignals"; -const ICON = { size: 16, strokeWidth: 1.7 }; +const TOOLBAR_ICON = { size: 16, strokeWidth: 1.7 }; +const ACTION_ICON = { size: 14, strokeWidth: 1.7 }; +const REPLY_ICON = { size: 14, strokeWidth: 1.7 }; function joinAddresses(value) { if (!value) return ""; @@ -121,6 +124,20 @@ function ToolbarButton({ title, label, onClick, disabled, destructive, children ); } +function MessageAction({ title, label, onClick, active, children }) { + return ( + + ); +} + export default function MailDetail({ email, loading, @@ -160,17 +177,17 @@ export default function MailDetail({
- +
{email && ( <>
- + - + - +