π¬ A browser extension and desktop app that turns your clicks into step-by-step guides with annotated screenshots π
TypeScript browser-extensionchrome-extensiondocumentationfirefox-extensionguide-generatorlocal-firstmanifest-v3privacy-firstproductivityreactscreenshotstep-by-step-guidetutorialtypescriptworkflowwxt
feat(library): show guide description on cards
Luis Ortiz4e6b3428a16c
diff --git a/src/ui/fullview/components/GuideGridView.tsx b/src/ui/fullview/components/GuideGridView.tsxindex 25a584c..4dac63c 100644--- a/src/ui/fullview/components/GuideGridView.tsx+++ b/src/ui/fullview/components/GuideGridView.tsx@@ -160,6 +160,9 @@ export default function GuideGridView({ category, onStar, onTrash, onRestore, on<div className="p-3 flex items-start justify-between"><div className="min-w-0 flex-1"><p className="text-sm font-medium truncate text-foreground">{guide.title}</p>+ {guide.description && (+ <p className="text-xs mt-0.5 text-muted-foreground line-clamp-2">{guide.description}</p>+ )}<p className="text-xs mt-0.5 text-muted-foreground">{guide.stepIds.length !== 1? i18n.t('fullview_stepCountPlural', [String(guide.stepIds.length)])diff --git a/src/ui/fullview/components/GuideListView.tsx b/src/ui/fullview/components/GuideListView.tsxindex 6135501..82c4253 100644--- a/src/ui/fullview/components/GuideListView.tsx+++ b/src/ui/fullview/components/GuideListView.tsx@@ -26,6 +26,9 @@ export default function GuideListView({ category, onStar, onTrash, onRestore, on><div className="flex-1 min-w-0"><p className="text-sm font-medium truncate text-foreground">{guide.title}</p>+ {guide.description && (+ <p className="text-xs mt-0.5 text-muted-foreground line-clamp-1">{guide.description}</p>+ )}<p className="text-xs mt-0.5 text-muted-foreground">{guide.stepIds.length !== 1? i18n.t('fullview_stepCountPlural', [String(guide.stepIds.length)])diff --git a/src/ui/fullview/components/SearchResults.tsx b/src/ui/fullview/components/SearchResults.tsxindex 6393621..c87cc16 100644--- a/src/ui/fullview/components/SearchResults.tsx+++ b/src/ui/fullview/components/SearchResults.tsx@@ -66,6 +66,14 @@ export default function SearchResults({ results, query, selected, onSelect, onHo>{r.guide.title}</p>+ {r.guide.description && (+ <p+ className="text-[11px] mt-0.5 line-clamp-1"+ style={{ color: i === selected ? 'rgba(199,210,254,0.6)' : 'var(--color-muted-foreground)' }}+ >+ {r.guide.description}+ </p>+ )}<pclassName="text-[10px] mt-0.5"style={{ color: i === selected ? 'rgba(199,210,254,0.6)' : 'var(--color-muted-foreground)' }}diff --git a/src/ui/sidepanel/LibraryView.tsx b/src/ui/sidepanel/LibraryView.tsxindex d6d2a95..976a4a5 100644--- a/src/ui/sidepanel/LibraryView.tsx+++ b/src/ui/sidepanel/LibraryView.tsx@@ -157,6 +157,9 @@ export default function LibraryView({ onOpen, searchQuery = '' }: LibraryViewPro<p className={`text-[13px] font-medium truncate ${isEmpty ? 'text-[#8B92A8]' : 'text-foreground'}`}>{guide.title}</p>+ {guide.description && (+ <p className="text-[11px] mt-0.5 text-muted-foreground line-clamp-1">{guide.description}</p>+ )}<div className="flex items-center gap-2 mt-0.5"><span className="text-[10px] text-[#8B92A8]">{formatRelativeTime(guide.updatedAt)}</span>{guide.stepIds.length > 0 && (