llama-cpp-compiled / tools /ui /src /lib /stores /ui.svelte.ts
Felipe97's picture
Upload folder using huggingface_hub (part 11)
82be208 verified
Raw History Blame Contribute Delete
394 Bytes
/**
* uiStore - Shared UI/layout state
*
* Holds cross-component UI state that does not belong to a single component
* (e.g. the desktop sidebar's expanded/collapsed state, which the sidebar
* controls and the chat tab bar reacts to).
*/
class UiStore {
/** Whether the desktop sidebar is expanded (open). */
isSidebarExpanded = $state(false);
}
export const uiStore = new UiStore();