Ideas for Bliss dialogs
While working on #1156 (closed) I had the following ideas to improve the dialogs:
-
BlissDialogs could maybe have one more key binding
ctrl-enter
to quickly submit/validate the dialog (same as pressing OK) after putting value in a field. -
Fields could have a
required
optional flag to prevent validation of the dialog (OK button) without all the mandatory parts. -
pt_widgets.py has a series of helpers to create simple dialogs (like
yes_no_dialogs
,message_dialog
). Currently they do not rely on the BlissDialog class meaning no custom keybindings. Probably they should, for consistency. -
Dialogs have an optional
show_help
flag to display information about the keybindings, but it's optional and when it's on I think it pops a little to strongly and comes in the way. We could style it more lightly or we could imagine this: a[?]
is shown in a corner and clicking it (or typing '?') could then toggle the help message visibility. (and then it can be always present, no more option needed, or the option to control the initial visibility of the help message).