feat(17-01): add TrackMetadataChanged handler and remove selection gate on Track Details

- LibraryStore now listens for TrackMetadataChanged and invalidates all caches
- Track Details context menu item visible for any right-clicked track in all 4 views
- Removed selectionCount === 1 gate from track-list, queue-panel, cover-grid, playlist-details
This commit is contained in:
2026-03-17 21:04:57 -04:00
parent 4235b4a4d5
commit fc5cf70e4c
5 changed files with 48 additions and 62 deletions
+3
View File
@@ -82,6 +82,9 @@ class LibraryStore {
this.changeGen++;
this.notify();
});
EventsOn(Events.TrackMetadataChanged, () => {
this.invalidate();
});
this.loadCoverSize();
this.deferEagerFetch();