zulip/docs
Anders Kaseorg b9e62c7af8 page_params: Split out state data for realm.
For spectators, the chunk of page_params that originates from
do_events_register isn’t assigned until ui_init.js.  That means the
TypeScript type of page_params is mostly a lie during module load
time: reading a parameter too early silently results in undefined
rather than the declared type, with unpredictable results later on.

We want to make such an early read into an immediate runtime error,
for both users and spectators consistently, and pave the way for
runtime validation of the page_params type.  As a second step, split
out the subset of fields that pertain to the entire realm.

Signed-off-by: Anders Kaseorg <anders@zulip.com>
2024-02-15 10:22:52 -08:00
..
_static docs: Move homepage link to TOC tree. 2023-03-03 23:06:17 -08:00
_templates docs: Update .html links pointing to "Upgrade Zulip" or "Modify Zulip". 2023-08-11 16:49:32 -07:00
contributing contributor docs: Tweak wording in "Counting contributions" intro. 2024-02-10 07:06:35 -08:00
development docs: Add warning about failed provisioning on macOS. 2024-01-04 10:29:57 -08:00
documentation docs: Optimize /api links to skip trailing slash redirect. 2024-02-14 21:06:03 -05:00
git docs: Document and advocate systemd for WSL 2. 2023-06-12 10:58:11 -07:00
images docs: Update devlogin screenshot and url in development setup. 2023-12-06 18:04:54 -08:00
outreach docs: Optimize /api links to skip trailing slash redirect. 2024-02-14 21:06:03 -05:00
overview docs: Optimize /api links to skip trailing slash redirect. 2024-02-14 21:06:03 -05:00
production puppet: Rename puppet/zulip_ops to puppet/kandra. 2024-02-06 17:56:27 -08:00
subsystems ts: Update extension of recently migrated '.js' files. 2024-02-12 09:49:54 -08:00
testing docs: Fix typo in mypy doc. 2024-01-01 17:36:13 -08:00
translating gear_menu: Rename "Manage streams" -> "Stream settings". 2023-11-17 08:53:41 -08:00
tutorials page_params: Split out state data for realm. 2024-02-15 10:22:52 -08:00
.gitignore
Makefile Revert "docs: Temporarily disable parallel building." 2022-02-28 16:28:31 -08:00
README.md
THIRDPARTY bootstrap: Fork CSS into app, portico copies. 2024-01-28 15:07:36 -08:00
code-of-conduct.md
conf.py docs: Convert .html#fragment links to .md#fragment. 2022-02-28 16:28:31 -08:00
index.md web: Save a 301 redirect from /help to /help/. 2023-03-24 14:51:01 -07:00

README.md

Zulip Markdown documentation hosted elsewhere

The Markdown files in this directory ( /zulip/docs ) are not intended to be read on GitHub. Instead, visit our ReadTheDocs to read the Zulip documentation.