From 9f39435fc3c301ab306cad9006fc2b9f6e3381a3 Mon Sep 17 00:00:00 2001 From: Taylor Ho Date: Thu, 30 Jul 2026 22:52:25 -0700 Subject: [PATCH] feat(desktop): refine compact link preview cards - Remove compact card borders and background surfaces while preserving transparent hover behavior. - Round thumbnail images on every corner and expand cards to the 24rem image-upload width. - Shorten the preview settings submenu label from Link display to Display. - Update compact preview geometry coverage for the wider borderless layout and await screenshot animations. Co-authored-by: Taylor Ho Signed-off-by: Taylor Ho --- desktop/src/shared/ui/compact-link-preview-attachment.tsx | 6 +++--- desktop/src/shared/ui/link-preview-controls.tsx | 2 +- desktop/tests/e2e/messaging.spec.ts | 6 ++++-- 3 files changed, 8 insertions(+), 6 deletions(-) diff --git a/desktop/src/shared/ui/compact-link-preview-attachment.tsx b/desktop/src/shared/ui/compact-link-preview-attachment.tsx index 018ec7201..e03b9246a 100644 --- a/desktop/src/shared/ui/compact-link-preview-attachment.tsx +++ b/desktop/src/shared/ui/compact-link-preview-attachment.tsx @@ -148,10 +148,10 @@ export function CompactLinkPreviewAttachment({ const hostname = getHostname(preview); return ( -
+
diff --git a/desktop/src/shared/ui/link-preview-controls.tsx b/desktop/src/shared/ui/link-preview-controls.tsx index 40ab1d3e1..66ac98bb6 100644 --- a/desktop/src/shared/ui/link-preview-controls.tsx +++ b/desktop/src/shared/ui/link-preview-controls.tsx @@ -89,7 +89,7 @@ export function LinkPreviewControls({ - Link display + Display