Add distributed settings and workspace import/export (M5)

This commit is contained in:
2026-06-07 15:51:00 +03:00
parent 80bedd2a8d
commit 548aa199d9
38 changed files with 3150 additions and 101 deletions
+6 -5
View File
@@ -386,12 +386,13 @@ entries).
**App**
- Settings **modal** (Appearance/Editor/Performance/Formatting), Apply/Cancel/Reset,
dirty indicator; wire render-debounce + theme + date-format through to the app.
Theme already switches (M1.5 header toggle + chart/editor themes) — M5 surfaces
it inside the modal too (sharing the same `ui.theme`) and wires the rest.
- **Distributed settings** — not a modal (design review, see spec §07 + arch 10). Each
cluster is a per-pane disclosure popover that applies **live**: Editor settings in the
editor toolbar, render debounce in the preview, date format in the library; theme stays
the header toggle. A shared `SettingsPopover` primitive (gear + non-modal popover, APG
disclosure) backs all three. Wire render-debounce + editor options + date-format through.
- Header **Import**/**Export** (direct file dialog / download, no modal).
- Date formatting util (smart/iso/custom) used by the library list.
- Date formatting util (smart/iso/custom) used by the library list + metadata panel.
**Tests**