mirror of
https://github.com/olehomelchenko/astrolabe.git
synced 2026-08-08 02:02:33 +00:00
Add snippet-library search, sort, empty states, storage monitor (M6, §02/§09D)
This commit is contained in:
@@ -3,6 +3,7 @@ import { App } from './app/App';
|
||||
import { initPanes, wirePanes } from './app/orchestration/panes';
|
||||
import { initPreviewFitMode, wirePreviewFitMode } from './app/orchestration/preferences';
|
||||
import { initSettings, wireSettings } from './app/orchestration/settings';
|
||||
import { initSnippetSort, wireSnippetSort } from './app/orchestration/snippet-sort';
|
||||
import { initApp } from './app/orchestration/startup';
|
||||
import { initTheme, wireTheme } from './app/orchestration/theme';
|
||||
import '../styles/base.css';
|
||||
@@ -20,6 +21,11 @@ wirePreviewFitMode();
|
||||
initPanes();
|
||||
wirePanes();
|
||||
|
||||
// Hydrate + persist the library sort (spec §02 → Sort) so the list opens ordered
|
||||
// the way the user left it. Hydrate before render; persist on change.
|
||||
initSnippetSort();
|
||||
wireSnippetSort();
|
||||
|
||||
// Hydrate + persist the full UserSettings record (editor / performance /
|
||||
// formatting) before render, so the editor, preview, and library read the user's
|
||||
// settings from the first paint (spec §07 → Startup load).
|
||||
|
||||
Reference in New Issue
Block a user