feat(detail): mark read chapters and count new ones on the manga page

On the manga detail page, dim chapters at or before the reader's last-read
chapter (with an accent check + screen-reader "Read." label) and show a
"N new since last read" badge counting chapters that have landed since.
All client-side from the already-loaded chapter list and per-manga read
progress — no extra requests. The count reflects the loaded (paginated)
chapter list. Logic lives in a pure, unit-tested chapterProgress helper;
e2e covers the mid-series and never-opened cases.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
MechaCat02
2026-07-04 21:01:46 +02:00
parent 2267a83f6c
commit 01d18e7ba2
8 changed files with 211 additions and 7 deletions

View File

@@ -1,6 +1,6 @@
[package]
name = "mangalord"
version = "0.96.0"
version = "0.97.0"
edition = "2021"
default-run = "mangalord"