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:
Lauryn Menard
2021-10-25 19:17:19 +02:00
committed by Tim Abbott
parent 8b2db48da5
commit 73710e1cf0
23 changed files with 210 additions and 49 deletions

View File

@@ -21,6 +21,7 @@ export type RealmDefaultSettingsType = {
enable_stream_email_notifications: boolean;
enable_stream_push_notifications: boolean;
enter_sends: boolean;
escape_navigates_to_default_view: boolean;
fluid_layout_width: boolean;
high_contrast_mode: boolean;
left_side_userlist: boolean;