${this.renderTopTracks()} ${this.renderDiscography()}
${this.renderSimilarArtists()}
`;
}
private renderArtistMeta() {
if (this.loadingArtist) {
return html` this.navigateToAlbum(rg)}
role="button"
tabindex="0"
@keydown=${(e: KeyboardEvent) => {
if (e.key === 'Enter' || e.key === ' ') {
e.preventDefault();
this.navigateToAlbum(rg);
}
}}
>
${rg.title}
${this.libraryMBIDs.has(rg.mbid)
? html`In Library`
: nothing}
${year ? html`${year}` : nothing}
`;
}
/* ── Similar Artists Section ── */
private renderSimilarArtists() {
// D024: when loading or empty/null, simply omit the section.
if (this.loadingSimilar || this.similarArtists.length === 0) {
return nothing;
}
return html`