Reuse scene editor workspace for detachable viewers

This commit is contained in:
Codex
2026-11-14 21:05:12 +03:00
parent 64908711a4
commit ce1b707348
4 changed files with 14 additions and 10 deletions
+2
View File
@@ -159,3 +159,5 @@ close without also closing the battery/detail window.
Portal typography is self-contained: Window text base is md/13 px, its title is title/18 px, and explanatory/status paragraphs use Description/sm/12 px. This stays identical in centered and floating modes and is independent of the host body size.
`EditorWorkspace purpose="view"` reuses the same stable host and docking grammar for viewers. Back/close return the mounted view to its inline slot; no edit-completion action is shown. Optional `headerActions` keeps application actions in the fixed window header. The default `purpose="edit"` preserves existing editors. The living docking example demonstrates both purposes.