mirror of
https://github.com/zulip/zulip.git
synced 2025-11-02 04:53:36 +00:00
user_settings: Add option to disable escape key navigation to default view.
Add `escape_navigates_to_default_view` as a bool setting in UserBaseSettings model and implement it as a checkbox that toggles the hotkey implementation of escape to the default view in the advanced user display settings. With /help/ documentation edits from Alya Abbott. Fixes #20043.
This commit is contained in:
committed by
Tim Abbott
parent
8b2db48da5
commit
73710e1cf0
@@ -141,6 +141,7 @@ def json_change_settings(
|
||||
default_view: Optional[str] = REQ(
|
||||
str_validator=check_string_in(default_view_options), default=None
|
||||
),
|
||||
escape_navigates_to_default_view: Optional[bool] = REQ(json_validator=check_bool, default=None),
|
||||
left_side_userlist: Optional[bool] = REQ(json_validator=check_bool, default=None),
|
||||
emojiset: Optional[str] = REQ(str_validator=check_string_in(emojiset_choices), default=None),
|
||||
demote_inactive_streams: Optional[int] = REQ(
|
||||
|
||||
Reference in New Issue
Block a user