zulip/templates/zerver/app
Aman Agrawal e587c029f6 display_settings: Allow user to set default_view.
TextField is used to allow users to set long stream + topic narrow
names in the urls.

We currently restrict users to only set "all_messages" and
"recent_topics" as narrows.

This commit achieves 3 things:
* Removes recent topics as the default view which loads when
  hash is empty.
* Loads default_view when hash is empty.
* Loads default_view on pressing escape key when it is unhandled by
  other present UI elements.

NOTE: After this commit loading zulip with an empty hash will
automatically set hash to default_view.  Ideally, we'd just display
the default view without a hash, but that involves extra complexity.

One exception is when user is trying to load an overlay directly,
i.e. zulip is loaded with an overlay hash. In this case,
we render recent topics is background irrespective of default_view.

We consider this last detail to be a bug not important enough to block
adding this setting.
2021-03-11 18:09:08 -08:00
..
compose.html preview_message_area: Use simplebar scrollbar. 2020-10-18 14:35:16 -07:00
delete_message.html templates: Make sure users know deletion is for everyone. 2020-10-29 17:25:40 -07:00
deprecation_notice.html hotkey: Close deprecation notice on Enter keypress. 2018-06-03 09:33:16 -07:00
drafts.html
home.html logo: Update Zulip logo. 2020-07-16 01:37:08 -07:00
index.html recent_topics: Make it the default view. 2021-02-25 17:31:32 -08:00
invite_user.html invite: Set tabindex for 'Generate invite link'. 2020-09-04 13:03:27 -07:00
keyboard_shortcuts.html display_settings: Allow user to set default_view. 2021-03-11 18:09:08 -08:00
left_sidebar.html display_settings: Allow user to set default_view. 2021-03-11 18:09:08 -08:00
lightbox_overlay.html CVE-2020-14194: Use noopener/noreferrer for external links. 2020-06-16 23:35:39 -07:00
logout.html
markdown_help.html markdown_help: Make spoiler-button work by changing its tag. 2021-01-21 14:32:13 -08:00
message_history.html
navbar.html recent_topics: Don't revive focus when user is trying to type. 2021-02-25 17:31:33 -08:00
navbar_alerts.html navbar_alerts: Change HTML ordering for obvious tab order. 2020-08-14 15:59:44 -07:00
right_sidebar.html recent_topics: Don't revive focus when user is trying to type. 2021-02-25 17:31:33 -08:00
search_operators.html CVE-2020-14194: Use noopener/noreferrer for external links. 2020-06-16 23:35:39 -07:00
settings_overlay.html realm: Allow only owners to configure auth methods for a realm. 2020-06-14 21:23:51 -07:00
settings_sidebar.html HTML validation: Add placeholder text to <h1>, <h3>. 2018-07-12 18:46:31 +05:30
subscriptions.html