M401: AcoustID recording-id lookup #137
@@ -162,7 +162,7 @@
|
||||
<button type="button" class="underline hover:no-underline" onclick={load}>Try again</button>
|
||||
</p>
|
||||
{:else if overview === null}
|
||||
<p class="text-sm text-text-secondary">Loading…</p>
|
||||
<p class="text-sm text-text-secondary">Loading AcoustID settings…</p>
|
||||
{:else}
|
||||
{#if overview.status.problem}
|
||||
<p class="text-sm text-action-destructive" data-testid="acoustid-problem">
|
||||
@@ -312,7 +312,7 @@
|
||||
).toLocaleString()})
|
||||
</summary>
|
||||
{#if unsettled === null}
|
||||
<p class="mt-2 text-sm text-text-secondary">Loading…</p>
|
||||
<p class="mt-2 text-sm text-text-secondary">Loading tracks…</p>
|
||||
{:else}
|
||||
<ul class="mt-2 divide-y divide-border text-sm" data-testid="acoustid-unsettled">
|
||||
{#each unsettled as t (t.track_id)}
|
||||
|
||||
@@ -29,7 +29,8 @@ vi.mock('$lib/api/admin', () => ({
|
||||
createSMTPConfigQuery: vi.fn(),
|
||||
updateSMTPConfig: vi.fn(),
|
||||
testSMTPConfig: vi.fn(),
|
||||
// AcoustIDCard loads on mount; a never-settling read leaves it on "Loading…".
|
||||
// AcoustIDCard loads on mount; a never-settling read leaves it on its own
|
||||
// "Loading AcoustID settings…", which the page's /loading…/i queries skip.
|
||||
getAcoustID: vi.fn(() => new Promise(() => {})),
|
||||
updateAcoustIDSettings: vi.fn(),
|
||||
runAcoustIDLookup: vi.fn(),
|
||||
|
||||
Reference in New Issue
Block a user