playlist phantom track matching added, updated search queries for efficiency

This commit is contained in:
2026-02-24 21:23:25 -05:00
parent ff7649600b
commit e192d4625e
31 changed files with 5222 additions and 316 deletions
@@ -48,10 +48,7 @@ export class TrackDetails extends LitElement {
@state() private editValues: Record<string, string> = {};
@query('wa-dialog')
private dialog!: HTMLElement & {
show: () => void;
hide: () => void;
};
private dialog!: HTMLElement & { open: boolean };
// =================================================================
// PUBLIC API
@@ -68,13 +65,13 @@ export class TrackDetails extends LitElement {
this.editValues = {};
this.updateComplete.then(() => {
this.dialog?.show();
if (this.dialog) this.dialog.open = true;
});
}
/** Close the dialog. */
close(): void {
this.dialog?.hide();
if (this.dialog) this.dialog.open = false;
this.editing = false;
this.editValues = {};
}