diff --git a/static/styles/portico.css b/static/styles/portico.css index f4f5334aca..e5feec765f 100644 --- a/static/styles/portico.css +++ b/static/styles/portico.css @@ -1624,3 +1624,12 @@ input.new-organization-button { font-size: .85rem; color: #AAA; } + +#devtools-wrapper { + text-align: right; +} + +#devtools-page { + max-width: 800px; + margin: 0 auto; +} diff --git a/templates/zerver/dev_login.html b/templates/zerver/dev_login.html index 75b0d2ea80..516d5b3238 100644 --- a/templates/zerver/dev_login.html +++ b/templates/zerver/dev_login.html @@ -36,6 +36,9 @@ +
diff --git a/templates/zerver/dev_tools.html b/templates/zerver/dev_tools.html new file mode 100644 index 0000000000..cd246a1b6f --- /dev/null +++ b/templates/zerver/dev_tools.html @@ -0,0 +1,49 @@ +{% extends "zerver/portico.html" %} + +{# Login page. #} +{% block portico_content %} ++ Below is a list of useful tools and data sets available only in the Zulip + development environment that are often useful when contributing to Zulip. + Most of these require you to run a command to build/generate the relevant + content. This table specifies which command to use to update the data served + by each page (since several of these, like test coverage, require a special + command to be run to generate the data). Make sure your development server is still running + when you visit these! +
+| URL | +Command | +Description | +
|---|---|---|
| /coverage/index.html | +./tools/test-backend --coverage |
+ View backend coverage report | +
| /node-coverage/index.html | +./tools/test-js-with-node --coverage |
+ View node coverage report | +
| /docs/index.html | +./tools/build-docs |
+ View Zulip documentation | +
| /emails | +None needed | +Preview all email templates | +