aboutsummaryrefslogtreecommitdiffstats
path: root/apps/web/components/dashboard/preview/BookmarkPreview.tsx
diff options
context:
space:
mode:
authorMohamed Bassem <me@mbassem.com>2024-10-27 00:12:11 +0000
committerMohamed Bassem <me@mbassem.com>2024-10-27 00:12:11 +0000
commit731d2dfbea39aa140ccb6d2d2cabd49186320299 (patch)
tree2311d04b5dc61102c63d4e4ec9c7c97b359faad6 /apps/web/components/dashboard/preview/BookmarkPreview.tsx
parent3e727f7ba3ad157ca1ccc6100711266cae1bde23 (diff)
downloadkarakeep-731d2dfbea39aa140ccb6d2d2cabd49186320299.tar.zst
feature: Add a summarize with AI button for links
Diffstat (limited to 'apps/web/components/dashboard/preview/BookmarkPreview.tsx')
-rw-r--r--apps/web/components/dashboard/preview/BookmarkPreview.tsx2
1 files changed, 2 insertions, 0 deletions
diff --git a/apps/web/components/dashboard/preview/BookmarkPreview.tsx b/apps/web/components/dashboard/preview/BookmarkPreview.tsx
index 5e2764f4..e37c4b86 100644
--- a/apps/web/components/dashboard/preview/BookmarkPreview.tsx
+++ b/apps/web/components/dashboard/preview/BookmarkPreview.tsx
@@ -24,6 +24,7 @@ import {
} from "@hoarder/shared-react/utils/bookmarkUtils";
import { BookmarkTypes, ZBookmark } from "@hoarder/shared/types/bookmarks";
+import SummarizeBookmarkArea from "../bookmarks/SummarizeBookmarkArea";
import ActionBar from "./ActionBar";
import { AssetContentSection } from "./AssetContentSection";
import AttachmentBox from "./AttachmentBox";
@@ -137,6 +138,7 @@ export default function BookmarkPreview({
</div>
<CreationTime createdAt={bookmark.createdAt} />
+ <SummarizeBookmarkArea bookmark={bookmark} />
<div className="flex items-center gap-4">
<p className="text-sm text-gray-400">Tags</p>
<BookmarkTagsEditor bookmark={bookmark} />