The Dynamic Actions release
The highlight of this release is the ability to implement "dynamic actions", so you can provide logic about which bindings should be displayed. See the docs for details: https://textual.textualize.io/guide/actions/#dynamic-actions
[0.61.0] - 2024-05-18
Added
- Added
App.get_default_screen
#4520 - Added dynamic binding via
DOMNode.check_action
#4516 - Added
"focused"
action namespace so you can bind a key to an action on the focused widget #4516 - Added "focused" to allowed action namespaces #4516
Changed
- Breaking change: Actions (as used in bindings) will no longer check the app if they are unhandled. This was undocumented anyway, and not that useful. #4516
- Breaking change: Renamed
App.namespace_bindings
toactive_bindings