Formatting was configured but never enforced: `bun run format:check` reported 199 unformatted files and ran in no workflow and in no git hook, so .prettierrc (printWidth 100, trailing commas) described an intention rather than the tree. This is the one-time sweep that makes the check gateable. Whitespace and token-reflow only -- no behavioural change: `bun run check` reports 0 errors and all 1053 frontend tests pass before and after. Kept out of every other commit on purpose. A 199-file diff mixed with real changes is unreviewable, and the next commit turns format:check into a hard CI gate so this cannot silently accumulate again.
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);
|