From 68d09e3a32090e2686c42bd29da142f948060836 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Burak=20Boduro=C4=9Flu?= <80620802+burakboduroglu@users.noreply.github.com> Date: Thu, 23 Jul 2026 21:21:48 +0300 Subject: [PATCH] =?UTF-8?q?fix:=20=F0=9F=90=9B=20row-level=20archive=20and?= =?UTF-8?q?=20permanent=20delete=20actions=20for=20messages?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - add onDeleteForever prop and permanent delete button to GmailMailRow - update row quick action container to maintain action visibility on touch devices and fade-in on hover - pass onDeleteForever handler from MessagesPage to GmailMailRow when viewing trash items --- src/components/messages/gmail-mail-row.tsx | 33 ++++++++++++++++------ src/pages/messages-page.tsx | 5 ++++ 2 files changed, 29 insertions(+), 9 deletions(-) diff --git a/src/components/messages/gmail-mail-row.tsx b/src/components/messages/gmail-mail-row.tsx index f08cee1..5690b83 100644 --- a/src/components/messages/gmail-mail-row.tsx +++ b/src/components/messages/gmail-mail-row.tsx @@ -14,6 +14,7 @@ interface GmailMailRowProps { onSelect: () => void; onArchive?: () => void; onTrash?: () => void; + onDeleteForever?: () => void; onToggleRead?: () => void; } @@ -88,15 +89,15 @@ export function GmailMailRow(props: GmailMailRowProps) { - {/* Fixed-width & Fixed-height Right Action Area */} -
- {/* Time / Date (Default View) */} -
+ {/* Right Action & Date Area */} +
+ {/* Time / Date */} + {formattedTime(props.message.sent_at)} -
+ - {/* Gmail Hover Quick Action Bar (Hover View - Fixed h-6 buttons to fit h-10 row cleanly) */} -