(READ ONLY) Margin is an open annotation layer for the internet. Powered by the AT Protocol. margin.at
extension web atproto comments
98
fork

Configure Feed

Select the types of activity you want to include in your feed.

fix bookmarks list on popup and sidebar

+6 -4
+1 -1
extension/src/components/popup/App.tsx
··· 870 870 <BookmarkIcon size={16} className="text-[var(--accent)]" /> 871 871 </div> 872 872 <a 873 - href={item.source} 873 + href={item.target?.source || item.source} 874 874 target="_blank" 875 875 rel="noopener noreferrer" 876 876 className="flex-1 min-w-0"
+5 -3
extension/src/components/sidepanel/App.tsx
··· 738 738 {Icons.bookmark} 739 739 </div> 740 740 <a 741 - href={item.source} 741 + href={item.target?.source || item.source} 742 742 target="_blank" 743 743 rel="noopener noreferrer" 744 744 className="flex-1 min-w-0" 745 745 > 746 746 <div className="text-sm font-medium truncate group-hover:text-[var(--accent)] transition-colors"> 747 - {item.title || item.source} 747 + {item.target?.title || item.title || 'Untitled'} 748 748 </div> 749 749 <div className="text-xs text-[var(--text-tertiary)] truncate"> 750 - {item.source ? new URL(item.source).hostname : ''} 750 + {(item.target?.source || item.source) 751 + ? new URL(item.target?.source || item.source!).hostname 752 + : ''} 751 753 </div> 752 754 </a> 753 755 <button