- music landing: diverse per-genre album sliders (online counts / offline wide-probe fallback) and home-screen library shortcuts - add ArtistLinks component and shared navigation/genreDiversity utils - player/playback-mode refinements across Rust and frontend
18 lines
705 B
TypeScript
18 lines
705 B
TypeScript
// Application-wide UI state store
|
|
// TRACES: UR-005 | DR-005, DR-009
|
|
import { writable } from 'svelte/store';
|
|
|
|
// App-wide state (root layout)
|
|
export const isInitialized = writable(false);
|
|
export const pendingSyncCount = writable(0);
|
|
export const isAndroid = writable(false);
|
|
// Shuffle/repeat/next/previous state now lives in the event-driven queue store
|
|
// ($lib/stores/queue), the single source of truth.
|
|
export const showSleepTimerModal = writable(false);
|
|
|
|
// Library-specific state
|
|
export const librarySearchQuery = writable("");
|
|
export const libraryShowFullPlayer = writable(false);
|
|
export const libraryShowOverflowMenu = writable(false);
|
|
export const libraryShowSleepTimerModal = writable(false);
|