mirror of https://github.com/zulip/zulip.git
b9e62c7af8
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> |
||
---|---|---|
.. | ||
index.md | ||
life-of-a-request.md | ||
new-feature-tutorial.md | ||
reading-list.md | ||
screenshot-and-gif-software.md | ||
shell-tips.md | ||
writing-views.md |