This is an automated email from the ASF dual-hosted git repository.
casion pushed a commit to branch dev
in repository https://gitbox.apache.org/repos/asf/incubator-linkis-website.git
The following commit(s) were added to refs/heads/dev by this push:
new 7f19f7391 Add commitetr display to team page (#346)
7f19f7391 is described below
commit 7f19f739134ce6e34e8f026932ade79d8cfe2943
Author: Beacontownfc <[email protected]>
AuthorDate: Sat Jun 18 11:38:52 2022 +0800
Add commitetr display to team page (#346)
* Add commitetr display to team page
Co-authored-by: Casion <[email protected]>
---
src/pages/team/config.json | 112 ++++++++++++++++++++++++++++++++++++++-------
src/pages/team/index.js | 23 ++++++++++
2 files changed, 118 insertions(+), 17 deletions(-)
diff --git a/src/pages/team/config.json b/src/pages/team/config.json
index 87d2e30e5..eb2c0b8a6 100644
--- a/src/pages/team/config.json
+++ b/src/pages/team/config.json
@@ -1,9 +1,48 @@
{
"zh-CN": {
"info": {
- "desc": "您可以通过上报bug/提交新功能或改进建议/提交补丁/文档编写/社区答疑/组织社区活动等方式参与到Apache
Linkis的贡献中,详细指引参见<a class=\"link\" href=\"/community/how-to-contribute\"
rel=\"noopener noreferrer\">贡献者指南</a>。",
- "tip": "(排名不分先后)"
+ "desc": "您可以通过上报bug/提交新功能或改进建议/提交补丁/文档编写/社区答疑/组织社区活动等方式参与到Apache
Linkis的贡献中,详细指引参见<a class=\"link\" href=\"community/how-to-contribute\"
rel=\"noopener noreferrer\">贡献者指南</a>。",
+ "tip": "(排名不分先后)",
+ "committerTip": "(按英文首字母排序)"
},
+ "committer":[
+ {
+ "apacheId": "casion",
+ "githubId": "casionone",
+ "name": "夏晨",
+ "email": "[email protected]"
+ },
+ {
+ "apacheId": "zhanghuajin",
+ "githubId": "utopianet",
+ "name": "张华金",
+ "email": "[email protected]"
+ },
+ {
+ "apacheId": "xujie",
+ "githubId": "xiaojie19852006",
+ "name": "徐杰",
+ "email": "[email protected]"
+ },
+ {
+ "apacheId": "legendtkl",
+ "githubId": "legendtkl",
+ "name": "陶克路",
+ "email": "[email protected]"
+ },
+ {
+ "apacheId": "leojie",
+ "githubId": "CCweixiaoLongping",
+ "name": "介龙平",
+ "email": "[email protected]"
+ },
+ {
+ "apacheId": "luxiaolongdet101",
+ "githubId": "Xiaolong",
+ "name": "陆小龙",
+ "email": "[email protected]"
+ }
+ ],
"list": [
{
"apacheId": "",
@@ -18,7 +57,7 @@
"avatarUrl":
"https://avatars.githubusercontent.com/u/11204595?s=60&v=4",
"email": " [email protected]",
"gitUrl": "https://github.com/DuoZhang",
- "githubId": "DuoZhang",
+ "githubId": "Apache9",
"name": "张铎"
},
{
@@ -26,7 +65,7 @@
"avatarUrl":
"https://avatars.githubusercontent.com/u/11204595?s=60&v=4",
"email": "[email protected]",
"gitUrl": "https://github.com/jshao",
- "githubId": "jshao",
+ "githubId": "jerryshao",
"name": "邵赛赛"
},
{
@@ -34,7 +73,7 @@
"avatarUrl":
"https://avatars.githubusercontent.com/u/11204595?s=60&v=4",
"email": "[email protected]",
"gitUrl": "https://github.com/dailidong",
- "githubId": "dailidong",
+ "githubId": "davidzollo",
"name": "代立冬"
},
{
@@ -114,7 +153,7 @@
"avatarUrl":
"https://avatars.githubusercontent.com/u/11204595?s=60&v=4",
"email": "[email protected]",
"gitUrl": "https://github.com/Jackyxxie",
- "githubId": "Jackyxxie",
+ "githubId": "xj2jx",
"name": "谢建"
},
{
@@ -138,7 +177,7 @@
"avatarUrl":
"https://avatars.githubusercontent.com/u/11204595?s=60&v=4",
"email": "[email protected]",
"gitUrl": "https://github.com/huashuizhuhui",
- "githubId": "huashuizhuhui",
+ "githubId": "liangqilang",
"name": "朱辉"
},
{
@@ -162,16 +201,55 @@
"avatarUrl":
"https://avatars.githubusercontent.com/u/11204595?s=60&v=4",
"email": "[email protected]",
"gitUrl": "https://github.com/yixiaohuamax",
- "githubId": "yixiaohuamax",
+ "githubId": "seayi",
"name": "易小华"
}
]
},
"en": {
"info": {
- "desc": "You can participate in the contribution of Apache Linkis by
reporting bugs/submitting new features or improvement suggestions/submitting
patches/ writing or refining documents/attending community Q&A/organizing
community activities, etc. For detailed instructions, please refer to <a
class=\"link\" href=\"/community/how-to-contribute\" rel=\"noopener
noreferrer\">Contributor's Guide</a>.",
- "tip": "(In no particular order)"
+ "desc": "You can participate in the contribution of Apache Linkis by
reporting bugs/submitting new features or improvement suggestions/submitting
patches/ writing or refining documents/attending community Q&A/organizing
community activities, etc. For detailed instructions, please refer to <a
class=\"link\" href=\"community/how-to-contribute\" rel=\"noopener
noreferrer\">Contributor's Guide</a>.",
+ "tip": "(In no particular order)",
+ "committerTip": "(Sort by English initials)"
},
+ "committer":[
+ {
+ "apacheId": "casion",
+ "githubId": "casionone",
+ "name": "Chen Xia",
+ "email": "[email protected]"
+ },
+ {
+ "apacheId": "zhanghuajin",
+ "githubId": "utopianet",
+ "name": "HuaJin Zhang",
+ "email": "[email protected]"
+ },
+ {
+ "apacheId": "xujie",
+ "githubId": "xiaojie19852006",
+ "name": "Jie Xu",
+ "email": "[email protected]"
+ },
+ {
+ "apacheId": "legendtkl",
+ "githubId": "legendtkl",
+ "name": "Kelu Tao",
+ "email": "[email protected]"
+ },
+ {
+ "apacheId": "leojie",
+ "githubId": "CCweixiaoLongping",
+ "name": "LongPing Jie",
+ "email": "[email protected]"
+ },
+ {
+ "apacheId": "luxiaolongdet101",
+ "githubId": "Xiaolong",
+ "name": "XiaoLong Lu",
+ "email": "[email protected]"
+ }
+ ],
"list": [
{
"apacheId": "",
@@ -186,7 +264,7 @@
"avatarUrl":
"https://avatars.githubusercontent.com/u/11204595?s=60&v=4",
"email": " [email protected]",
"gitUrl": "https://github.com/DuoZhang",
- "githubId": "DuoZhang",
+ "githubId": "Apache9",
"name": "Duo Zhang"
},
{
@@ -194,7 +272,7 @@
"avatarUrl":
"https://avatars.githubusercontent.com/u/11204595?s=60&v=4",
"email": "[email protected]",
"gitUrl": "https://github.com/jshao",
- "githubId": "jshao",
+ "githubId": "jerryshao",
"name": "Jerry Shao"
},
{
@@ -202,7 +280,7 @@
"avatarUrl":
"https://avatars.githubusercontent.com/u/11204595?s=60&v=4",
"email": "[email protected]",
"gitUrl": "https://github.com/dailidong",
- "githubId": "dailidong",
+ "githubId": "davidzollo",
"name": "Lidong Dai"
},
{
@@ -282,7 +360,7 @@
"avatarUrl":
"https://avatars.githubusercontent.com/u/11204595?s=60&v=4",
"email": "[email protected]",
"gitUrl": "https://github.com/Jackyxxie",
- "githubId": "Jackyxxie",
+ "githubId": "xj2jx",
"name": "Jian Xie"
},
{
@@ -306,7 +384,7 @@
"avatarUrl":
"https://avatars.githubusercontent.com/u/11204595?s=60&v=4",
"email": "[email protected]",
"gitUrl": "https://github.com/huashuizhuhui",
- "githubId": "huashuizhuhui",
+ "githubId": "liangqilang",
"name": "Hui Zhu"
},
{
@@ -330,9 +408,9 @@
"avatarUrl":
"https://avatars.githubusercontent.com/u/11204595?s=60&v=4",
"email": "[email protected]",
"gitUrl": "https://github.com/yixiaohuamax",
- "githubId": "yixiaohuamax",
+ "githubId": "seayi",
"name": "Xiaohua Yi"
}
]
}
-}
\ No newline at end of file
+}
diff --git a/src/pages/team/index.js b/src/pages/team/index.js
index 56e12480e..464ae4c90 100644
--- a/src/pages/team/index.js
+++ b/src/pages/team/index.js
@@ -10,6 +10,22 @@ export default function() {
const language = isBrowser && location.pathname.indexOf('/zh-CN/') === 0 ?
'zh-CN' : 'en';
const dataSource = config?.[language];
+ const sortToShowCommitter = () =>{
+ dataSource.committer.sort((a, b) =>{
+ return a.name.localeCompare(b.name)
+ })
+
+ return dataSource.committer.map((item, i) => (
+ <a href={'https://github.com/'+ item.githubId} key={i} target="_blank">
+ <li className="character-item text-center"
style={{'listStyle':'none', lineHeight: '42px', padding: 0}}>
+ <div className="character-desc">
+ <h3 className="character-name" style={{margin: 0, padding:
'20px'}}>{item.name}</h3>
+ </div>
+ </li>
+ </a>
+ ))
+ }
+
return (
<Layout>
<div className="ctn-block normal-page team-page">
@@ -33,6 +49,13 @@ export default function() {
))
}
</ul>
+ <h3 className="normal-title">Committer</h3>
+ <p className="normal-desc">{dataSource.info.committerTip}</p>
+ <ul className="character-list">
+ {
+ sortToShowCommitter()
+ }
+ </ul>
<h3 className="normal-title">
<a target="_blank"
href="https://github.com/apache/incubator-linkis">Contributors of Apache
Linkis</a>
</h3>
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]