feat(collection): bulk-add missing books on author and series pages + clickable 'ready to add' pill#725
Draft
kevinheneveld wants to merge 2 commits into
Draft
Conversation
… clickable 'ready to add' pill Collection pages listed catalog books not yet in the library but offered only one-by-one adds. Add an "Add missing (N)" button to both the author and series toolbars, opening a bulk-add modal (AddSelectedBooksModal) with per-book checkboxes, shared monitored/quality/auto-search/root- folder options, per-book progress, and benign-skip handling for 409 already-in-library conflicts. On series pages the modal can also monitor the series afterwards. The "N ready to add" pill on both page types is now a clickable, keyboard-accessible shortcut into the same flow. Ports kevin/live 0d4376f (series bulk-add + modal) and 66f6c01 (author toolbar + clickable pills) together: canary had neither, and the author-page half rides on the modal the series half introduces. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Two @keydown modifiers on one element compile to a duplicate onKeydown key in the render props object, which the pinned vue-tsc 3.x rejects (TS1117) — caught by the Docker build's type-check; newer local toolchains tolerate it silently. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
Author and series pages list the catalog books you don't have yet ("ready to add"), but adding them meant one-at-a-time clicks. This adds:
AddSelectedBooksModal: pick which of the missing books to add (select-all default), choose monitored/auto-search/quality-profile/root-folder once, and add them as a batch with per-book progress and a failure summary. Uses the existingaddToLibraryendpoint per book — no backend changes.Tests
Frontend-only; 3-case vitest spec for the modal;
vue-tsc+ eslint + prettier clean, full vitest suite passing.🤖 Generated with Claude Code