zulip/templates
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
..
analytics support: Disable adding discount for fixed price plans. 2020-12-17 17:09:20 -08:00
confirmation confirmation: Adjust language for link_expired template. 2021-02-16 07:42:13 -08:00
corporate docs: Fix more capitalization issues. 2020-10-23 11:46:55 -07:00
tests webhooks/freshdesk/doc.md: Remove unescape_rendered_html kludge. 2019-07-03 15:05:45 -07:00
two_factor docs: Correct “login” as a verb to “log in”. 2020-08-11 10:25:53 -07:00
zerver display_settings: Allow user to set default_view. 2021-03-11 18:09:08 -08:00
zilencer billing: Move billing related templates from zilencer to corporate. 2018-10-01 15:43:39 -07:00
.gitignore
404.html templates: Remove strangely toned text from 404 page. 2020-08-31 16:47:20 -07:00
500.html