Skip to content

feat(web): Scan library action on handed off Queue rows (#3993) - #4094

Merged
vavallee merged 3 commits into
mainfrom
feature/queue-next-action
Nov 20, 2026
Merged

vavallee merged 3 commits into
mainfrom
feature/queue-next-action

Conversation

@vavallee

Copy link
Copy Markdown
Owner

Gives a handed off (External import) Queue row a Scan library button, the next step instead of only Remove.

  • Calls the existing POST /library/scan, the same call as Settings. There is no narrower scan endpoint, so this walks the whole library. No backend change.
  • Shown to admins only: the scan is library wide and its status route is admin only.
  • Button is disabled while the request runs, has a row specific accessible name, reports success or queued inline on the row, shows failures in a role=alert, and reloads the queue afterwards. Uses the page's existing inline message slots, not a toast (the Queue page has none).
  • Held rows: no release action exists, so none added. Needs attention and blocked rows already have Match to book and Retry import.
  • en.json only. Docs: User Guide Queue section. Changelog fragment added.

Refs #3995

Closes #3993

🤖 Generated with Claude Code

// and the success note share the per-row slots the other row actions use.
const handleScanLibrary = async (id: number) => {
setRetryingImportIds(prev => new Set(prev).add(id))
setScanErrors(prev => { const n = { ...prev }; delete n[id]; return n })
const handleScanLibrary = async (id: number) => {
setRetryingImportIds(prev => new Set(prev).add(id))
setScanErrors(prev => { const n = { ...prev }; delete n[id]; return n })
setMatchMessages(prev => { const n = { ...prev }; delete n[id]; return n })
@codecov

codecov Bot commented Nov 20, 2026 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

vavallee and others added 2 commits November 20, 2026 00:45
Refs #3995

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Signed-off-by: vavallee <vavallee@protonmail.com>
…ing (#3993)

Refs #3995

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Signed-off-by: vavallee <vavallee@protonmail.com>
@vavallee
vavallee force-pushed the feature/queue-next-action branch from 99e43fb to 0559ed1 Compare November 20, 2026 04:47
@vavallee
vavallee merged commit 01b1306 into main Nov 20, 2026
42 checks passed
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.

feat(web): a next action on each Queue row (scan library for handed off rows)

2 participants