feat(ui): remember detail window presentation and sort image grids

This commit is contained in:
Codex
2026-11-17 20:28:31 +03:00
parent 3473cd9ef1
commit 6bf22988c5
9 changed files with 50 additions and 11 deletions
+10
View File
@@ -175,3 +175,13 @@ ColorField spectrum has no decorative perimeter stroke; retain its visible sampl
## Focus of movable headers
Window, WorkspaceWindow and EditorDockLayout share the same drag-header focus contract. A pointer grab never inherits a keyboard focus ring or filled header from the previously focused input. Headers have no perimeter outline in any theme; keyboard focus uses the canonical contrasting surface. Pointer capture, focus ownership, Arrow/Shift+Arrow movement/resizing, Enter/Space docking and Escape cancellation remain unchanged. Check both direct grabbing and input → Tab → grabbing, in docked/floating and fullscreen contexts.
## Remembered presentation
Entity/detail windows persist presentation **by window kind**, not title or entity ID.
The application stores `floating` and `rect` in its durable user preferences;
`Window` consumes `floating`/`onFloatingChange` and `rect`/`onRectCommit`.
Opening the next entity restores the same mode, position and size. Return to modal
keeps the last floating rectangle for the next detachment. Viewport fitting does
not overwrite saved geometry. Switching view/edit keeps the same mounted Window.
Confirmation dialogs remain modal (`allowFloating=false`) and never inherit it.