History
{#if search}
search = ""}>×
{/if}
{#if store.history.length > 0}
{#if confirmClear}
Confirm?
{/if}
{/if}
{#if store.readingStats.totalChaptersRead > 0}
{store.readingStats.currentStreakDays}
day streak
{store.readingStats.totalChaptersRead}
chapters
{formatReadTime(store.readingStats.totalMinutesRead)}
read time
{store.readingStats.totalMangaRead}
series
{store.readingStats.longestStreakDays}d
best streak
Stats are preserved when you clear the feed
{/if} {#if store.history.length === 0}
No reading history yet
Chapters you read will appear here
{:else if sessions.length === 0}
No results for "{search}"
{:else}
{#each groups as { label, items }}
{label}
{#each items as session (session.latestChapterId)}
resume(session)}>
{#if session.chapterCount > 1}
{session.chapterCount}
{/if}
{session.mangaTitle}
{#if session.chapterCount > 1} {session.firstChapterName}
→
{session.latestChapterName} {:else} {session.latestChapterName} {#if session.latestPageNumber > 1}
p.{session.latestPageNumber}
{/if} {/if}
{timeAgo(session.readAt)}
Resume
{/each}
{/each}
{/if}