From b453555a3d766e3214615713b204a24dd0f461e6 Mon Sep 17 00:00:00 2001 From: yiekheng Date: Sun, 10 May 2026 01:02:51 +0800 Subject: [PATCH] feat(web): dedicated Delete card per account on the list Replace the corner trash icon with a separate destructive-themed card stacked beneath each account card. Whole card is the confirm-dialog trigger. Co-Authored-By: Claude Opus 4.7 (1M context) --- apps/web/src/app/accounts/page.tsx | 26 +++++++++++++++++++------- 1 file changed, 19 insertions(+), 7 deletions(-) diff --git a/apps/web/src/app/accounts/page.tsx b/apps/web/src/app/accounts/page.tsx index 6ebf3ab..53df973 100644 --- a/apps/web/src/app/accounts/page.tsx +++ b/apps/web/src/app/accounts/page.tsx @@ -41,7 +41,7 @@ export default async function AccountsPage() { {accounts.length > 0 ? (
{accounts.map((account) => ( -
+
- + {account.label} @@ -83,16 +83,28 @@ export default async function AccountsPage() { - {/* Floating delete trigger — sits over the card without - blocking the link target on the rest of the surface. */} + {/* Dedicated Delete card — entire card is the dialog trigger. */}