From 8a5aacfe7ba02c69ed28d6d635b0282ec41cf934 Mon Sep 17 00:00:00 2001 From: Gigi Date: Wed, 22 Oct 2025 23:28:28 +0200 Subject: [PATCH] feat(reading): allow saving 0% position for open tracking Removed the check that prevented saving 0% positions. Now tracks when articles are opened, even if not read yet. Useful for engagement metrics and history. --- src/components/ContentPanel.tsx | 6 ------ 1 file changed, 6 deletions(-) diff --git a/src/components/ContentPanel.tsx b/src/components/ContentPanel.tsx index a1420b47..982a2c3d 100644 --- a/src/components/ContentPanel.tsx +++ b/src/components/ContentPanel.tsx @@ -170,12 +170,6 @@ const ContentPanel: React.FC = ({ return } - // Don't save positions at 0% (start) - only meaningful progress - if (position <= 0.01) { - console.log('[reading-position] ⚠️ Save skipped: position at 0%') - return - } - // Check if content is long enough to track reading progress if (!shouldTrackReadingProgress(html, markdown)) { console.log('[reading-position] ⚠️ Save skipped: content too short')