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
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:
@@ -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: "/"}
|
||||
|
||||
Reference in New Issue
Block a user