musicbrainz-provider #2

Merged
Mrixs merged 72 commits from musicbrainz-provider into master 2026-08-05 20:19:16 +00:00
2 changed files with 7 additions and 1 deletions
Showing only changes of commit f5b0034b4d - Show all commits

View File

@@ -80,6 +80,12 @@ func TestDashboard_Authenticated200(t *testing.T) {
if !strings.Contains(body, "mbid-1") {
t.Errorf("expected MBID rendered, got:\n%s", body)
}
// The dashboard must link each artist to its detail page, otherwise the
// ignore/restore/singles actions on that page are unreachable via normal UI
// navigation.
if !strings.Contains(body, `href="/artist/a1"`) {
t.Errorf("expected link to artist detail page, got:\n%s", body)
}
}
func TestDashboard_Unauthenticated401(t *testing.T) {

View File

@@ -33,7 +33,7 @@
<tbody>
{{ range .Artists }}
<tr>
<td>{{ .Name }}</td>
<td><a href="/artist/{{ .ID }}">{{ .Name }}</a></td>
<td class="count {{ if eq .MissingCount 0 }}count-zero{{ else }}count-missing{{ end }}">
{{ .MissingCount }}
</td>