feat(ui): support storage settings, pinned copies and contextual window actions

This commit is contained in:
Codex
2026-11-10 01:04:24 +03:00
parent be929f9d8e
commit 601ca62e9a
12 changed files with 54 additions and 13 deletions
+5
View File
@@ -524,3 +524,8 @@ Exact `RangeControl` editors synchronize external controlled-value changes while
Window: `rect` / `onRectCommit` — восстановление и фиксация геометрии инструментов; см. WINDOWS_AND_LAYERS.md. Иконка `minus` дополняет `plus` для управления масштабом содержимого.
`EditorDockLayout` / `EditorWorkspace`: переносимый редактор с закреплённым основным видом, четырьмя зонами стыковки, разделителями и отрываемыми панелями. Управляемый `EditorDockState` хранится в документе приложения. Шапка редактора не участвует в стыковке; возврат восстанавливает исходный вид. Контракт, keyboard и минимумы — в WINDOWS_AND_LAYERS.md.
Размер поясняющего текста `Description` можно задать через
`--nodedc-description-font-size`; по умолчанию используется `--nodedc-font-size-sm`.
Window header actions default to before the move toggle. `headerActionsPlacement="before-close"` places supplied canonical IconButtons between move and close, preserving DOM/Tab order. Deletion confirmation remains application-owned content in the same mounted Window.
+13
View File
@@ -17,3 +17,16 @@ The application validates URLs/media bytes, persists uploads and document revisi
Mission Core passes all existing page definitions and its current operator-environment API. Mission Core Node passes home only and authenticated local presentation storage. Device control never depends on this document. The catalog EnvironmentCatalogDemo exercises the same exported components with an explicitly in-memory save/upload adapter; it is not a persistence service.
Validate the source migration, TypeScript builds, playlist functions, neutral enabled/disabled DOM contract, dark/light and multiple accents, modal Escape, media order/timing and both consumer persistence adapters. Long-running or physical device acceptance remains application-owned.
## Product sections (2026-11-08)
`additionalSections` accepts `{ id, label, icon, group?, content, footer? }`.
Use unique IDs other than `environment`. Content and footer are product-owned;
the shared shell retains navigation, focus, dragging, Escape and geometry.
Environment drafts remain intact when switching sections. Each section owns its
loading/error/saving states. No product API is called by the shared library.
Mission Core uses this extension for the owner-requested Storage section.
The canonical `pin` icon is the Lucide Pin glyph. Pair it with IconButton and
`aria-pressed` for pinned state; use a busy/disabled state during preparation.
An absent local copy and an unpinned copy are separate states.
+3
View File
@@ -13,3 +13,6 @@ aria-valuenow отсутствует. `label` обязателен; `valueText`
ResourceRow.progress занимает свободное место между текстом и actions, скрывает
status, на узком экране переносится ниже текста. Готовность не вычисляется
компонентом. Каталог содержит завершённый, определённый и неизвестный прогресс.
Размер полосы задаётся опциональным `--nodedc-progress-height`; по умолчанию
используется `--nodedc-space-2`. Плотность не меняет поведение и ARIA-состояния.