From 583c2651b68ad29f4c335bd004fa0c7dfa8f25b3 Mon Sep 17 00:00:00 2001
From: MaheshtheDev <38828053+MaheshtheDev@users.noreply.github.com>
Date: Sat, 4 Oct 2025 21:38:13 +0000
Subject: [PATCH] feat: url cards as content preview with rich details (#452)
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Improved memory detail UI with better document icons and layout and Added dark mode support to the Chrome extension button
### What changed?
- Enhanced the WebsiteCard component with an `onOpenDetails` prop
- Improved the MemoryDetail component with:
- Better layout for document headers and source links
- Enhanced content scrolling with proper height constraints
- Improved spacing and padding in various sections
- Added favicon support to document icons, showing website favicons for webpage documents
- Fixed document type detection for webpages and URLs
- Added dark mode support to the Chrome extension button component with appropriate color classes
[Screen Recording 2025-10-03 at 11.34.01 PM.mov (uploaded via Graphite) ](https://app.graphite.dev/user-attachments/video/2f6ceef2-43a2-4e11-bafa-0f3ce614696b.mov)
---
.../components/chrome-extension-button.tsx | 28 +--
apps/web/components/content-cards/website.tsx | 4 +
apps/web/components/header.tsx | 6 +-
apps/web/components/masonry-memory-list.tsx | 1 +
.../memories-utils/memory-detail.tsx | 52 +++---
apps/web/components/memory-list-view.tsx | 5 +-
apps/web/lib/document-icon.tsx | 176 ++++++++++++------
7 files changed, 168 insertions(+), 104 deletions(-)
diff --git a/apps/web/components/chrome-extension-button.tsx b/apps/web/components/chrome-extension-button.tsx
index 5fd58cac..2b2ca713 100644
--- a/apps/web/components/chrome-extension-button.tsx
+++ b/apps/web/components/chrome-extension-button.tsx
@@ -130,42 +130,42 @@ export function ChromeExtensionButton() {
+
Import your twitter timeline & save tweets.
+
Instantly save any webpage to your memory.
+
Automatically capture & organize your browsing history.