mirror of https://github.com/zulip/zulip.git
team: Add more repositories and rename tabs.
Based on an audit of all repositories in the zulip organization.
This commit is contained in:
parent
666041e480
commit
3c708edb2c
|
@ -92,7 +92,7 @@ contributors, and more than 75 with 100+ commits." %}
|
|||
<label for="total"><i class="zulip-icon zulip-icon-globe" aria-hidden="true"></i> Total</label>
|
||||
|
||||
<input id="server" type="radio" name="tabs" />
|
||||
<label for="server"><i class="fa fa-server" aria-hidden="true"></i> Server</label>
|
||||
<label for="server"><i class="fa fa-server" aria-hidden="true"></i> Server & Web</label>
|
||||
|
||||
<input id="desktop" type="radio" name="tabs" />
|
||||
<label for="desktop"><i class="fa fa-desktop" aria-hidden="true"></i> Desktop</label>
|
||||
|
@ -100,18 +100,14 @@ contributors, and more than 75 with 100+ commits." %}
|
|||
<input id="mobile" type="radio" name="tabs" />
|
||||
<label for="mobile"><i class="fa fa-mobile" aria-hidden="true"></i> Mobile</label>
|
||||
|
||||
<input id="python-zulip-api" type="radio" name="tabs" />
|
||||
<label for="python-zulip-api"><i class="fa fa-code" aria-hidden="true"></i> Python API</label>
|
||||
|
||||
<input id="zulip-js" type="radio" name="tabs" />
|
||||
<label for="zulip-js"><i class="fa fa-code" aria-hidden="true"></i> JS API</label>
|
||||
|
||||
<input id="zulipbot" type="radio" name="tabs" />
|
||||
<label for="zulipbot"><i class="fa fa-at" aria-hidden="true"></i> Zulipbot</label>
|
||||
|
||||
<input id="terminal" type="radio" name="tabs" />
|
||||
<label for="terminal"><i class="fa fa-terminal" aria-hidden="true"></i> Terminal</label>
|
||||
|
||||
<input id="api-clients" type="radio" name="tabs" />
|
||||
<label for="api-clients"><i class="fa fa-code" aria-hidden="true"></i> Integrations</label>
|
||||
|
||||
<input id="devtools" type="radio" name="tabs" />
|
||||
<label for="devtools"><i class="fa fa-at" aria-hidden="true"></i> Devtools</label>
|
||||
<div id="tab-total" class="contributors">
|
||||
<div class="contributors-grid"></div>
|
||||
</div>
|
||||
|
@ -124,18 +120,15 @@ contributors, and more than 75 with 100+ commits." %}
|
|||
<div id="tab-mobile" class="contributors">
|
||||
<div class="contributors-grid"></div>
|
||||
</div>
|
||||
<div id="tab-python-zulip-api" class="contributors">
|
||||
<div class="contributors-grid"></div>
|
||||
</div>
|
||||
<div id="tab-zulip-js" class="contributors">
|
||||
<div class="contributors-grid"></div>
|
||||
</div>
|
||||
<div id="tab-zulipbot" class="contributors">
|
||||
<div class="contributors-grid"></div>
|
||||
</div>
|
||||
<div id="tab-terminal" class="contributors">
|
||||
<div class="contributors-grid"></div>
|
||||
</div>
|
||||
<div id="tab-api-clients" class="contributors">
|
||||
<div class="contributors-grid"></div>
|
||||
</div>
|
||||
<div id="tab-devtools" class="contributors">
|
||||
<div class="contributors-grid"></div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- Compiled using lodash -->
|
||||
|
|
|
@ -107,15 +107,29 @@ def update_contributor_data_file() -> None:
|
|||
# the total count, including those that should *not* have tabs on the team
|
||||
# page (e.g. if they are deprecated).
|
||||
repo_names = [
|
||||
"docker-zulip",
|
||||
"errbot-backend-zulip",
|
||||
"github-actions-zulip",
|
||||
"hubot-zulip",
|
||||
"puppet-zulip",
|
||||
"python-zulip-api",
|
||||
"trello-to-zulip",
|
||||
"swift-zulip-api",
|
||||
"zulint",
|
||||
"zulip",
|
||||
"zulip-android-legacy",
|
||||
"zulip-architecture",
|
||||
"zulip-archive",
|
||||
"zulip-csharp",
|
||||
"zulip-desktop",
|
||||
"zulip-desktop-legacy",
|
||||
"zulip-flutter",
|
||||
"zulip-ios-legacy",
|
||||
"zulip-js",
|
||||
"zulip-mobile",
|
||||
"zulip-redmine-plugin",
|
||||
"zulip-terminal",
|
||||
"zulip-zapier",
|
||||
"zulipbot",
|
||||
]
|
||||
|
||||
|
|
|
@ -8,39 +8,64 @@ import _ from "lodash";
|
|||
// referenced from Contributor, rather than having repository names be
|
||||
// direct keys in the namespace that also has `email`.
|
||||
const all_repository_names = [
|
||||
"zulip",
|
||||
"zulip-desktop",
|
||||
"zulip-mobile",
|
||||
"docker-zulip",
|
||||
"errbot-backend-zulip",
|
||||
"github-actions-zulip",
|
||||
"hubot-zulip",
|
||||
"puppet-zulip",
|
||||
"python-zulip-api",
|
||||
"zulip-js",
|
||||
"zulipbot",
|
||||
"zulip-terminal",
|
||||
"zulip-ios-legacy",
|
||||
"trello-to-zulip",
|
||||
"swift-zulip-api",
|
||||
"zulint",
|
||||
"zulip",
|
||||
"zulip-android-legacy",
|
||||
"zulip-architecture",
|
||||
"zulip-archive",
|
||||
"zulip-csharp",
|
||||
"zulip-desktop",
|
||||
"zulip-desktop-legacy",
|
||||
"zulip-flutter",
|
||||
"zulip-ios-legacy",
|
||||
"zulip-js",
|
||||
"zulip-mobile",
|
||||
"zulip-redmine-plugin",
|
||||
"zulip-terminal",
|
||||
"zulip-zapier",
|
||||
"zulipbot",
|
||||
] as const;
|
||||
|
||||
const all_tab_names = [
|
||||
"server",
|
||||
"desktop",
|
||||
"mobile",
|
||||
"zulip-js",
|
||||
"python-zulip-api",
|
||||
"zulipbot",
|
||||
"terminal",
|
||||
"api-clients",
|
||||
"devtools",
|
||||
] as const;
|
||||
|
||||
type RepositoryName = (typeof all_repository_names)[number];
|
||||
type TabName = (typeof all_tab_names)[number];
|
||||
|
||||
const tab_name_to_repo_list: Record<TabName, RepositoryName[]> = {
|
||||
server: ["zulip"],
|
||||
desktop: ["zulip-desktop"],
|
||||
server: ["zulip", "docker-zulip"],
|
||||
desktop: ["zulip-desktop", "zulip-desktop-legacy"],
|
||||
mobile: ["zulip-mobile", "zulip-flutter", "zulip-ios-legacy", "zulip-android-legacy"],
|
||||
"zulip-js": ["zulip-js"],
|
||||
"python-zulip-api": ["python-zulip-api"],
|
||||
zulipbot: ["zulipbot"],
|
||||
terminal: ["zulip-terminal"],
|
||||
"api-clients": [
|
||||
"python-zulip-api",
|
||||
"zulip-js",
|
||||
"zulip-archive",
|
||||
"errbot-backend-zulip",
|
||||
"github-actions-zulip",
|
||||
"hubot-zulip",
|
||||
"puppet-zulip",
|
||||
"trello-to-zulip",
|
||||
"swift-zulip-api",
|
||||
"zulip-csharp",
|
||||
"zulip-redmine-plugin",
|
||||
"zulip-zapier",
|
||||
],
|
||||
devtools: ["zulipbot", "zulint", "zulip-architecture"],
|
||||
};
|
||||
|
||||
export type Contributor = {
|
||||
|
|
|
@ -704,9 +704,8 @@ input#total:checked ~ #tab-total,
|
|||
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,
|
||||
input#api-clients:checked ~ #tab-api-clients,
|
||||
input#devtools:checked ~ #tab-devtools,
|
||||
input#terminal:checked ~ #tab-terminal {
|
||||
display: block;
|
||||
|
||||
|
|
Loading…
Reference in New Issue