From cc8942e0dc3dd43cb49fd98829c77b94c38d7811 Mon Sep 17 00:00:00 2001 From: Rohitt Vashishtha Date: Mon, 15 Jan 2018 20:24:22 +0530 Subject: [PATCH] /team: Fetch zulip-js repository data. --- static/js/portico/team.js | 2 +- static/styles/portico.css | 1 + templates/zerver/team.html | 4 ++++ tools/update-authors-json | 1 + 4 files changed, 7 insertions(+), 1 deletion(-) diff --git a/static/js/portico/team.js b/static/js/portico/team.js index 8742eabb9a..dcd537d3f7 100644 --- a/static/js/portico/team.js +++ b/static/js/portico/team.js @@ -2,7 +2,7 @@ // eslint's error. /* global contributors_list */ -var repos = ['server', 'desktop', 'mobile', 'python-zulip-api', 'zulipbot']; +var repos = ['server', 'desktop', 'mobile', 'python-zulip-api', 'zulip-js', 'zulipbot']; function contrib_total_commits(contrib) { var commits = 0; diff --git a/static/styles/portico.css b/static/styles/portico.css index d56b857b93..92737fab52 100644 --- a/static/styles/portico.css +++ b/static/styles/portico.css @@ -948,6 +948,7 @@ input#server:checked ~ #tab-server, input#desktop:checked ~ #tab-desktop, input#mobile:checked ~ #tab-mobile, input#python-zulip-api:checked ~ #tab-python-zulip-api, +input#zulip-js:checked ~ #tab-zulip-js, input#zulipbot:checked ~ #tab-zulipbot { border-top: 1px solid #eee; padding-top: 20px; diff --git a/templates/zerver/team.html b/templates/zerver/team.html index 4a701a1c70..873c97d2b8 100644 --- a/templates/zerver/team.html +++ b/templates/zerver/team.html @@ -145,6 +145,9 @@ + + + @@ -153,6 +156,7 @@
+
diff --git a/tools/update-authors-json b/tools/update-authors-json index 6094d7fd3a..c6f329eded 100755 --- a/tools/update-authors-json +++ b/tools/update-authors-json @@ -71,6 +71,7 @@ def run_production() -> None: 'desktop': 'https://api.github.com/repos/zulip/zulip-electron/stats/contributors', 'mobile': 'https://api.github.com/repos/zulip/zulip-mobile/stats/contributors', 'python-zulip-api': 'https://api.github.com/repos/zulip/python-zulip-api/stats/contributors', + 'zulip-js': 'https://api.github.com/repos/zulip/zulip-js/stats/contributors', 'zulipbot': 'https://api.github.com/repos/zulip/zulipbot/stats/contributors', }