zulip/templates/zerver
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
..
api display_settings: Allow user to set default_view. 2021-03-11 18:09:08 -08:00
app display_settings: Allow user to set default_view. 2021-03-11 18:09:08 -08:00
archive templates: Fix missing quoting of attributes in HTML templates. 2020-06-16 23:35:39 -07:00
emails emails: Pass help link as variable in password reset email. 2020-10-30 11:50:30 -07:00
for website: Mention that we sponsor hundreds of projects. 2021-01-22 10:02:26 -08:00
help display_settings: Allow user to set default_view. 2021-03-11 18:09:08 -08:00
include
integrations docs: Fix more capitalization issues. 2020-10-23 11:46:55 -07:00
tests/markdown
accounts_accept_terms.html urls: Remove unused URL names and shorten others. 2020-09-22 10:46:28 -07:00
accounts_home.html auth: Make apple log in and sign up buttons consistent with others. 2020-06-18 13:06:10 -07:00
accounts_send_confirm.html
apple-error.md docs: Add auth backend configuration is optional. 2020-12-17 18:11:28 -08:00
apps.html CVE-2020-14194: Use noopener/noreferrer for external links. 2020-06-16 23:35:39 -07:00
base.html meta tags: Use open graph titles/descriptions. 2020-08-14 10:58:18 -07:00
billing_nav.html logo: Update Zulip logo. 2020-07-16 01:37:08 -07:00
close_window.html compose: Rewrite Zoom video call integration to use OAuth. 2020-06-03 16:39:12 -07:00
compare.html
config_error.html auth: Render config error page on configuration error. 2020-09-25 16:16:17 -07:00
confirm_continue_registration.html templates: Use `<hr>` and `<br>` consistently. 2020-04-28 17:05:48 -07:00
confirmation_link_expired_error.html invitations: Revoke remaining invitations after user registers. 2020-05-27 15:37:16 -07:00
create_realm.html docs: Remove HipChat migration guide. 2020-12-23 15:43:13 +05:30
deactivated.html accounts/deactivated: Show deactivated_redirect url if present 2020-12-14 21:04:52 -08:00
desktop_login.html desktop-login: Use zulip design styles for desktop-login. 2020-05-10 23:05:19 -07:00
desktop_redirect.html desktop-login: Use zulip design styles for desktop-login. 2020-05-10 23:05:19 -07:00
dev-not-supported-error.md
dev_env_email_access_details.html
dev_login.html urls: Remove unused URL names and shorten others. 2020-09-22 10:46:28 -07:00
dev_tools.html dev_tools: Fix dev-secrets.conf path. 2020-12-08 18:11:14 -08:00
digest_base.html
documentation_main.html docs: Fix more capitalization issues. 2020-10-23 11:46:55 -07:00
email.html email: Set an envelope-from which may be different from the From: field. 2021-02-24 17:32:28 -08:00
email_log.html docs: Clean up email testing docs a bit more. 2020-10-30 12:15:27 -07:00
faq.html website: Mention that we sponsor hundreds of projects. 2021-01-22 10:02:26 -08:00
features.html hipchat_import: Remove tool from codebase. 2020-12-23 08:28:49 -08:00
find_account.html
footer.html help: Add article for how to get support. 2020-05-04 09:38:36 -07:00
for-companies.html portico: Typographical nitpicking. 2020-03-17 16:53:46 -07:00
for-open-source.html docs: Capitalize Markdown consistently. 2020-08-11 10:23:06 -07:00
for-research.html portico: Add first a quote to /for/research. 2020-05-20 17:47:01 -07:00
for-working-groups-and-communities.html portico: Typographical nitpicking. 2020-03-17 16:53:46 -07:00
github-error.md docs: Add auth backend configuration is optional. 2020-12-17 18:11:28 -08:00
gitlab-error.md docs: Add auth backend configuration is optional. 2020-12-17 18:11:28 -08:00
google-error.md docs: Add auth backend configuration is optional. 2020-12-17 18:11:28 -08:00
gradients.html
hello.html docs: Update contributor and developer documentation counts. 2021-02-15 17:45:34 -08:00
history.html docs: Fix various capitalization errors. 2020-08-11 10:25:52 -07:00
insecure_desktop_app.html CVE-2020-14194: Use noopener/noreferrer for external links. 2020-06-16 23:35:39 -07:00
invalid_email.html
invalid_realm.html templates: Use `<hr>` and `<br>` consistently. 2020-04-28 17:05:48 -07:00
landing_nav.html logo: Update Zulip logo. 2020-07-16 01:37:08 -07:00
log_into_subdomain_token_invalid.html auth: Show a user-facing page when wrong token given to /subdomain/. 2020-04-05 12:29:09 -07:00
login.html Revert "login: Fix alignment of error message in login form." 2020-10-18 14:06:20 -07:00
meta_tags.html meta tags: Use open graph titles/descriptions. 2020-08-14 10:58:18 -07:00
plans.html billing: Add option to request a sponsorship in /upgrade. 2020-07-01 16:45:38 -07:00
portico-header-dropdown.html
portico-header.html docs: Fix more capitalization issues. 2020-10-23 11:46:55 -07:00
portico-help.html
portico.html
portico_signup.html
privacy.html
realm_creation_failed.html i18n: Don't hardcode zulip.com URLs in translation tags. 2020-06-11 11:09:42 -07:00
realm_reactivation.html
realm_reactivation_link_error.html
realm_redirect.html CVE-2020-14194: Use noopener/noreferrer for external links. 2020-06-16 23:35:39 -07:00
register.html urls: Remove unused URL names and shorten others. 2020-09-22 10:46:28 -07:00
reset.html urls: Remove unused URL names and shorten others. 2020-09-22 10:46:28 -07:00
reset_confirm.html reset_password: Change reset password page heading. 2020-09-25 16:24:18 -07:00
reset_done.html urls: Remove unused URL names and shorten others. 2020-09-22 10:46:28 -07:00
reset_emailed.html
security.html
security.md docs: Link session length and idle timeouts to GitHub search. 2020-11-05 10:07:43 -08:00
social_auth_select_email.html docs: Correct “login” as a verb to “log in”. 2020-08-11 10:25:53 -07:00
team.html js: Replace underscore with lodash and remove it from globals. 2020-07-26 16:12:06 -07:00
terms.html
unsubscribe_link_error.html
unsubscribe_success.html
unsupported_browser.html i18n: Don't hardcode zulip.com URLs in translation tags. 2020-06-11 11:09:42 -07:00
why-zulip.html
why-zulip.md hipchat_import: Remove tool from codebase. 2020-12-23 08:28:49 -08:00
zulipchat_migration_tos.html docs: Update most remaining references to zulipchat.com. 2020-06-08 18:10:45 -07:00