fix(series): count every volume of series longer than the ladder cap

Send logical volume counts on each series summary, tallied from the member
grouping the ladder already builds, and read them on the cards instead of
counting the 60-slot ladder. Long series no longer stop at 60 or show as
complete after their first 60 volumes are read.

Closes #1987
This commit is contained in:
neon
2026-10-30 00:04:46 +00:00
parent 63e16ad757
commit 0206a98ccc
9 changed files with 119 additions and 54 deletions
+10
View File
@@ -38,6 +38,16 @@ export type SeriesSummary = {
libraryNames: string[];
/** Total a metadata provider reports for the series, or null when no provider has said. */
expectedBookCount: number | null;
/**
* Logical volumes owned across the whole series, collapsing book records that share a
* whole-numbered position. Unlike `volumes`, never capped; falls back to `bookCount` when the
* members could not all be read.
*/
ownedVolumeCount: number;
/** Owned logical volumes whose furthest status is read. */
readVolumeCount: number;
/** Owned logical volumes whose furthest status is reading. */
readingVolumeCount: number;
volumes: SeriesVolumeSlot[];
volumesTruncated: boolean;
/** Missing numbers, capped at {@link SERIES_GAP_PREVIEW_LIMIT}. */