Skip to content

fix(series): split the series 'in library' pill into owned vs missing#724

Draft
kevinheneveld wants to merge 1 commit into
Listenarrs:canaryfrom
kevinheneveld:fix/series-position-work-key
Draft

fix(series): split the series 'in library' pill into owned vs missing#724
kevinheneveld wants to merge 1 commit into
Listenarrs:canaryfrom
kevinheneveld:fix/series-position-work-key

Conversation

@kevinheneveld

Copy link
Copy Markdown
Contributor

What

On a series page, "N in library" counted every tracked record — including monitored-but-fileless ones — implying ownership that isn't there. Split the pill: owned (has files, success variant) vs missing (tracked record with no files yet — i.e. the automatic-search targets, warning variant); "ready to add" keeps its own pill (default variant).

Tests

Frontend-only; vue-tsc + eslint + prettier clean, full vitest suite passing.

🤖 Generated with Claude Code

"In library" should mean you actually have the audio, not just a tracked
record. A series page of monitored-but-fileless records counted them all
as "N in library", implying ownership that isn't there. Split the pill:
owned = has files; missing = tracked record with no files yet (these are
the automatic-search targets); "ready to add" keeps its own pill.

Note: the kevin/live original (02a3b2d) also made its edition-dedup
work key position-aware — that machinery (buildWorkKey/seriesDisplay.ts)
doesn't exist on canary, whose catalog dedup is ASIN/title+author based
and never had the volume-collapse bug, so only the pill split applies.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant