This is quite a large release!
We've done a lot of work on the command palette to make it easier to work with and use.
We've also added a "help panel" which you can summon from the command palette. This will give you context sensitive help, and a summary of all the key bindings. Here it is in action:
Screen.Recording.2024-08-22.at.15.13.22.mov
Also in the command palette is a "save screenshot" command, which will save a screenshot of the current screen. Very handy for adding to documentation.
There are a number of other smaller changes, fixes, and a few breaking changes. See the detailed release notes below:
[0.77.0] - 2024-08-22
Added
- Added
tooltip
to Binding #4859 - Added a link to the command palette to the Footer (set
show_command_palette=False
to disable) #4867 - Added
TOOLTIP_DELAY
to App to customize time until a tooltip is displayed - Added "Show keys" option to system commands to show a summary of key bindings. #4876
- Added "split" CSS style, currently undocumented, and may change. #4876
- Added
Region.get_spacing_between
#4876 - Added
App.COMMAND_PALETTE_KEY
to change default command palette key binding #4867 - Added
App.get_key_display
#4890 - Added
DOMNode.BINDING_GROUP
#4906 - Added
DOMNode.HELP
classvar which contains Markdown help to be shown in the help panel #4915 - Added
App.get_system_commands
#4920 - Added "Save Screenshot" system command #4922
Changed
- Removed caps_lock and num_lock modifiers #4861
- Keys such as escape and space are now displayed in lower case in footer #4876
- Changed default command palette binding to
ctrl+p
#4867 - Removed
ctrl_to_caret
andupper_case_keys
from Footer. These can be implemented inApp.get_key_display
. - Renamed
SystemCommands
toSystemCommandsProvider
#4920 - Breaking change: Removed
ClassicFooter
widget (please use newFooter
widget) #4921 - Disallowed
Screen
instances inApp.SCREENS
andApp.MODES