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.
This commit is contained in:
Gigi
2025-10-22 23:28:28 +02:00
parent 9126910de5
commit 8a5aacfe7b

View File

@@ -170,12 +170,6 @@ const ContentPanel: React.FC<ContentPanelProps> = ({
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')