From b2b23c66cf2af476a3e0f71286b30a5cc1258168 Mon Sep 17 00:00:00 2001 From: Gigi Date: Wed, 15 Oct 2025 14:20:28 +0200 Subject: [PATCH] feat(bookmarks): add sticky note icon for text-only bookmarks without URLs --- src/components/BookmarkItem.tsx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/components/BookmarkItem.tsx b/src/components/BookmarkItem.tsx index 09b018a2..63e7a3b9 100644 --- a/src/components/BookmarkItem.tsx +++ b/src/components/BookmarkItem.tsx @@ -1,5 +1,5 @@ import React, { useState } from 'react' -import { faBookOpen, faPlay, faEye, faNewspaper, faGlobe } from '@fortawesome/free-solid-svg-icons' +import { faBookOpen, faPlay, faEye, faNewspaper, faGlobe, faStickyNote } from '@fortawesome/free-solid-svg-icons' import { IconDefinition } from '@fortawesome/fontawesome-svg-core' import { useEventModel } from 'applesauce-react/hooks' import { Models } from 'applesauce-core' @@ -71,6 +71,7 @@ export const BookmarkItem: React.FC = ({ bookmark, index, onS const getContentTypeIcon = (): IconDefinition => { if (isArticle) return faNewspaper if (isWebBookmark) return faGlobe + if (!hasUrls) return faStickyNote // Just a text note if (firstUrlClassification?.type === 'youtube' || firstUrlClassification?.type === 'video') return faPlay return faBookOpen }