AndrewUsher / AndrewUsher/andrewusher.dev

Add bookmark and read later

Offen
#332 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
enhancement
Vorherrschende Sprache
TypeScript
Sterne
1
Forks
0
Ø Merge
2 T. 5 Std.
Gemergte PRs (30 T.)
59

Beschreibung

People open a few posts at once and never come back. Let's give them a way to save stuff.

How I think it should work:
- bookmark button on each post card and on src/pages/blog/[slug].astro near the title (similar placement as RecentlyViewedPosts)
- store bookmarks in localStorage, same pattern as src/hooks/useRecentlyViewed.ts — no login for v1
- add /bookmarks page that lists saved posts with remove and clear all
- show count badge in header
- add "export as markdown" for the reading list so people can take it with them

Edge cases: handle posts that get renamed or deleted, and don't break if localStorage is full or disabled.

Beitragsleitfaden

Für dieses Repository ist kein Beitragsleitfaden indexiert

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.