Files
craft-libs/crates/ui-shell/tests
Dylan M. TaylorandClaude Opus 5.5 dd5c833799 Command board: declared edits reach the instance around the focus; a window layer can take unfocused keys
Outside the modal layers, a ModalRule::Declared app command now goes to the innermost
instance around the focus that published its state, as it already did inside a modal
layer: a list pane that declares Select All takes it while it holds the focus.
Trial: commands::board::a_declared_edit_reaches_the_instance_around_the_focus.

ViewportWindow::takes_unfocused_keys (opt-in, off by default) records the window's
layer with the board; while that layer is open, a key pressed in its viewport with
nothing focused goes to the instances in the window's body instead of the shell
and page roots, as a modal layer's root already gets them.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-28 00:39:17 +00:00
..