feat(blacklist): add frontend store and artist page UI
Phase 3 (minimal) - UI for testing: - Add artistBlacklistStore.ts with O(1) local checks - Initialize store on app startup - Add blacklist toggle button to ArtistDetailView - Button shows red when artist is blacklisted cc
This commit is contained in:
1 parent
bd4c9b7792
commit
e1849f0bb3
3 files changed
+235
-2
No files matched your search
@@ -37,11 +37,12 @@
|
||||
getCurrentContext,
|
||||
requestContextTrackFocus
|
||||
} from '$lib/stores/playbackContextStore';
|
||||
import {
|
||||
import {
|
||||
initPlaybackPreferences,
|
||||
getCachedPreferences,
|
||||
isAutoplayEnabled
|
||||
} from '$lib/stores/playbackPreferencesStore';
|
||||
import { initBlacklistStore } from '$lib/stores/artistBlacklistStore';
|
||||
|
||||
// UI state management
|
||||
import {
|
||||
@@ -2430,6 +2431,7 @@
|
||||
// Initialize playback context and preferences stores
|
||||
initPlaybackContextStore();
|
||||
initPlaybackPreferences();
|
||||
initBlacklistStore();
|
||||
|
||||
// Load infinite play preference
|
||||
try {
|
||||
|
||||
Reference in new issue
Block a user