fix(frontend): reposition search indicator into toolbar and fix album cover art lookup

Move search indicator from absolute-positioned overlay into sort toolbar
(or dedicated search-bar-row for artists/genres views). Shows indicator
on empty-state screens. Fix cover art not displaying for expanded album
tracks by checking expandedAlbumId before the albumName guard. Add
ScanWarning model bindings.
This commit is contained in:
2026-03-05 16:07:54 -05:00
parent 6977ba8bc1
commit a29137b2ba
8 changed files with 131 additions and 63 deletions
@@ -1613,6 +1613,12 @@ export class CoverGrid
name=${dirIcon}
></wa-icon>
</button>
${this.searchCtrl.term
? html`<div class="search-indicator">
Showing results for
&ldquo;${this.searchCtrl.term}&rdquo;
</div>`
: nothing}
</div>
${this.renderSortDropdownPopup()}
`;
@@ -1812,6 +1818,7 @@ export class CoverGrid
if (this.cachedFilteredAlbums.length === 0) {
return html`
${this.renderSortToolbar()}
<div class="empty-state">
<p>No albums match your search.</p>
</div>
@@ -1824,12 +1831,6 @@ export class CoverGrid
return html`
${this.renderSortToolbar()}
${this.searchCtrl.term
? html`<div class="search-indicator">
Showing results for
&ldquo;${this.searchCtrl.term}&rdquo;
</div>`
: nothing}
<div
class="grid-scroll-container"
@click=${this.onGridClick}