From 5482b927f1d69b92f032d0697cb840de82ae8068 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Thu, 26 Mar 2026 14:40:57 +0000 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E4=B8=AD=E6=96=87=E9=A6=96?= =?UTF-8?q?=E9=A1=B5=E7=94=9F=E6=88=90=E5=99=A8=EF=BC=9A=E4=BB=85=E6=98=BE?= =?UTF-8?q?=E7=A4=BA=E6=B4=BB=E8=B7=83=E5=BC=80=E5=8F=91=E8=80=85=EF=BC=8C?= =?UTF-8?q?=E8=BF=87=E6=BB=A4=E4=B8=8D=E6=B4=BB=E8=B7=83=E6=88=90=E5=91=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: qinfendebingshuo <207279273+qinfendebingshuo@users.noreply.github.com> Agent-Logs-Url: https://github.com/qinfendebingshuo/guanghulab/sessions/133dc771-e2c2-42d8-acd9-e20acd227bb3 --- docs/zh/index.html | 5 +---- scripts/generate-chinese-homepage.js | 10 +++++----- 2 files changed, 6 insertions(+), 9 deletions(-) diff --git a/docs/zh/index.html b/docs/zh/index.html index 402dec05..93a0d48a 100644 --- a/docs/zh/index.html +++ b/docs/zh/index.html @@ -154,10 +154,7 @@ DEV-005小草莓欧诺弥亚status-board/active DEV-009花尔糖星云user-center/active DEV-010桔子晨星ticket-system/active - DEV-011匆匆那年—M16码字工作台>72h 未活跃 DEV-012Awen知秋 千秋notification/active - DEV-013小兴—M-AUTH注册登录系统active - DEV-014时雨—待分配(副控)>72h 未活跃 DEV-015蜜蜂星尘需求共创阶段active @@ -233,7 +230,7 @@ diff --git a/scripts/generate-chinese-homepage.js b/scripts/generate-chinese-homepage.js index 584cebfc..4f7f9e15 100644 --- a/scripts/generate-chinese-homepage.js +++ b/scripts/generate-chinese-homepage.js @@ -59,15 +59,15 @@ function generateTeamRows(devStatus) { const rows = []; for (const dev of devs) { - const display = TEAM_DISPLAY[dev.dev_id] || {}; + const display = TEAM_DISPLAY[dev.dev_id]; + // Only show developers that are in the active display mapping + if (!display) continue; + const name = display.human || dev.name; const ai = display.ai || '—'; const mod = display.module || dev.module || '—'; - const isInactive = dev.status === 'waiting_syslog' && dev.waiting?.includes('72h'); - const statusClass = isInactive ? 'status-inactive' : 'status-active'; - const statusText = isInactive ? '>72h 未活跃' : 'active'; - rows.push(` ${escapeHtml(dev.dev_id)}${escapeHtml(name)}${escapeHtml(ai)}${escapeHtml(mod)}${statusText}`); + rows.push(` ${escapeHtml(dev.dev_id)}${escapeHtml(name)}${escapeHtml(ai)}${escapeHtml(mod)}active`); } return rows.join('\n');