feat: Reports, Duplicates and Suspect sources live under Collection, with their counts on its rail and a "To look at" line naming the ones waiting; notices link there (M504 #5625)
release / govulncheck (push) Successful in 21s
release / web (push) Successful in 1m21s
release / go (push) Successful in 1m39s
release / integration (push) Successful in 5m31s
release / android (push) Successful in 6m5s
release / Build signed APK (releases and dev) (push) Successful in 6m21s
release / Attach APK to the Release (tag releases only) (push) Skipped
release / Build + push container image (push) Successful in 32s
release / Verify release artifacts (tag releases only) (push) Skipped

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-10-11 14:35:59 -04:00
co-authored by Claude Opus 5.5
parent 12725e71b0
commit 38b2325d2d
17 changed files with 114 additions and 53 deletions
+4 -4
View File
@@ -93,7 +93,7 @@ func Render(kind Kind, payload []byte) Rendered {
if p.Reason != "" {
body = who + " flagged " + name + ": " + p.Reason
}
return Rendered{Title: "Track flagged", Body: body, Link: "/admin/quarantine"}
return Rendered{Title: "Track flagged", Body: body, Link: "/collection/reports"}
case KindScanFailed:
title := "Library scan failed"
if p.Count > 1 {
@@ -114,7 +114,7 @@ func Render(kind Kind, payload []byte) Rendered {
return Rendered{
Title: plural(p.Count, "duplicate group to review", "duplicate groups to review"),
Body: "The duplicate sweep found tracks holding the same recording.",
Link: "/admin/duplicates",
Link: "/collection/duplicates",
}
case KindDuplicatesResolved:
body := "Extra copies of a song were merged into the one the album keeps."
@@ -124,13 +124,13 @@ func Render(kind Kind, payload []byte) Rendered {
return Rendered{
Title: plural(p.Count, "duplicate resolved automatically", "duplicates resolved automatically"),
Body: body,
Link: "/admin/duplicates?view=resolved",
Link: "/collection/duplicates?view=resolved",
}
case KindPlaybackErrors:
return Rendered{
Title: plural(p.Count, "playback error reported", "playback errors reported"),
Body: "A track failed to play for someone.",
Link: "/admin/playback-errors",
Link: "/collection/reports",
}
default:
return Rendered{Title: "Notification", Link: "/"}