feat(ui): remember detail window presentation and sort image grids
This commit is contained in:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user