release / web (push) Failing after 1m28s
release / go (push) Successful in 1m53s
release / govulncheck (push) Successful in 18s
release / integration (push) Successful in 4m16s
release / Attach APK to the Release (tag releases only) (push) Canceled after 0s
release / Build + push container image (push) Canceled after 0s
release / Verify release artifacts (tag releases only) (push) Canceled after 0s
release / Build signed APK (push) Canceled after 2m13s
release / android (push) Canceled after 2m59s
Reports offers "Remove the file" ahead of "Remove from library": the bad file goes and the track waits in Needs a file, with its likes and plays, for a good copy. Suspect sources gets "Remove this file", and the Duplicates wrong-slot action and its route are named for what they do (remove-files). Their toasts and copy name Needs a file. Missing files becomes Needs a file in the rail, the Collection header and the Overview counts. Each track says why it waits and who removed it, and can be forgotten one at a time or by folder; the list exports as a CSV or copies to the clipboard. The empty state says how a track gets there and how it leaves. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
22 lines
1.0 KiB
Svelte
22 lines
1.0 KiB
Svelte
<script lang="ts">
|
|
import SectionRail from '#lib/components/SectionRail.svelte';
|
|
import { countOf } from '#lib/admin/queues.js';
|
|
import type { AdminSummary } from '#lib/api/types.js';
|
|
|
|
// The Collection's sections, down the left: the overview first, then the
|
|
// library's health queues. Their counts come from the admin summary and are
|
|
// accented, as they wait on a person. Needs a file counts tracks.
|
|
|
|
let { summary }: { summary?: AdminSummary } = $props();
|
|
|
|
const items = $derived([
|
|
{ href: '/collection', label: 'Overview', exact: true },
|
|
{ href: '/collection/reports', label: 'Reports', attention: countOf(summary, 'reports') },
|
|
{ href: '/collection/duplicates', label: 'Duplicates', attention: countOf(summary, 'duplicates') },
|
|
{ href: '/collection/suspect-sources', label: 'Suspect sources', attention: countOf(summary, 'suspect') },
|
|
{ href: '/collection/missing', label: 'Needs a file', attention: countOf(summary, 'missing') }
|
|
]);
|
|
</script>
|
|
|
|
<SectionRail label="Collection sections" {items} />
|