refactor(webui): route stats interop through shell bridge

- move stats route legacy handoffs onto explicit SoulSyncWebShellBridge methods\n- stop relying on ad hoc window globals from React code for artist navigation and playback\n- update shell bridge tests and route test doubles to enforce the expanded bridge contract
pull/686/head
Antti Kettunen 2 weeks ago
parent ff4c556257
commit 5680e52ceb
No known key found for this signature in database
GPG Key ID: C6B2A3D250359BD7

@ -62,28 +62,6 @@ declare global {
showLoadingOverlay: (message?: string) => void;
hideLoadingOverlay: () => void;
};
navigateToArtistDetail?: (
artistId: string | number,
artistName: string,
sourceOverride?: string | null,
options?: Record<string, unknown>,
) => void;
playLibraryTrack?: (
track: {
id: string | number;
title: string;
file_path: string;
bitrate?: string | number | null;
artist_id?: string | number | null;
album_id?: string | number | null;
_stats_image?: string | null;
},
albumTitle: string,
artistName: string,
) => void | Promise<void>;
startStream?: (searchResult: Record<string, unknown>) => void | Promise<void>;
showLoadingOverlay?: (message?: string) => void;
hideLoadingOverlay?: () => void;
}
}

Loading…
Cancel
Save