mirror of https://github.com/zulip/zulip.git
e96ede0ef6
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 first step, split out the subset of fields that pertain to the current user. Signed-off-by: Anders Kaseorg <anders@zulip.com> |
||
---|---|---|
.. | ||
ci | ||
documentation_crawler | ||
droplets | ||
i18n | ||
lib | ||
linter_lib | ||
node_lib | ||
oneclickapps | ||
setup | ||
test-install | ||
tests | ||
zulip-export | ||
README.md | ||
__init__.py | ||
backport-pull-request | ||
build-docs | ||
build-release-tarball | ||
cache-zulip-git-version | ||
check-capitalization | ||
check-frontend-i18n | ||
check-issue-labels | ||
check-openapi | ||
check-provision | ||
check-schemas | ||
check-templates | ||
check-thirdparty | ||
clean-branches | ||
commit-message-lint | ||
commit-msg | ||
conf.ini-template | ||
coveragerc | ||
deploy-branch | ||
diagnose | ||
documentation.vnufilter | ||
duplicate_commits.json | ||
fetch-contributor-data | ||
fetch-pull-request | ||
fetch-rebase-pull-request | ||
find-unused-css | ||
generate-integration-docs-screenshot | ||
lint | ||
message-screenshot.js | ||
pre-commit | ||
provision | ||
push-to-pull-request | ||
rebuild-dev-database | ||
rebuild-test-database | ||
release | ||
release-tarball-exclude.txt | ||
renumber-migrations | ||
reset-to-pull-request | ||
review | ||
run-codespell | ||
run-dev | ||
run-mypy | ||
run-tsc | ||
semgrep-py.yml | ||
setup-git-repo | ||
show-profile-results | ||
stop-run-dev | ||
tail-ses | ||
test-all | ||
test-api | ||
test-backend | ||
test-documentation | ||
test-help-documentation | ||
test-js-with-node | ||
test-js-with-puppeteer | ||
test-locked-requirements | ||
test-migrations | ||
test-queue-worker-reload | ||
test-run-dev | ||
test-tools | ||
total-contributions | ||
update-locked-requirements | ||
update-prod-static | ||
update-zuliprc-api-field | ||
upload-release | ||
webpack | ||
zanitizer | ||
zanitizer_config.pm.sample |
README.md
This directory contains scripts that are used in building, managing,
testing, and other forms of work in a Zulip development environment.
Note that tools that are also useful in production belong in
scripts/
or should be Django management commands.
For more details, see https://zulip.readthedocs.io/en/latest/overview/directory-structure.html.