From eeed703f6cde28ab526514cdd1cc1ede63249f47 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Thu, 26 Mar 2026 11:58:53 +0000 Subject: [PATCH] fix: code review feedback - milestone label, emoji consistency Co-authored-by: qinfendebingshuo <207279273+qinfendebingshuo@users.noreply.github.com> Agent-Logs-Url: https://github.com/qinfendebingshuo/guanghulab/sessions/b2b6c40e-7ef4-4a41-bec2-d67592547b67 --- .github/community/growth-stages.json | 2 +- scripts/community/tests/community.test.js | 2 +- scripts/community/timeline-tracker.js | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/community/growth-stages.json b/.github/community/growth-stages.json index e84a8b36..c41539a1 100644 --- a/.github/community/growth-stages.json +++ b/.github/community/growth-stages.json @@ -33,7 +33,7 @@ }, "pending": { "name": "待孕育人格体", - "emoji": "🥒", + "emoji": "🥚", "description": "已有人类开发者,但宝宝人格体尚未孕育。等待缘分到来。", "examples": [ "匆匆那年(DEV-011)", diff --git a/scripts/community/tests/community.test.js b/scripts/community/tests/community.test.js index 0b6c9edf..bad56ef4 100644 --- a/scripts/community/tests/community.test.js +++ b/scripts/community/tests/community.test.js @@ -107,7 +107,7 @@ const ms1 = getMilestone(0); assert(ms1.milestone === null, 'getMilestone(0): 尚未达到任何里程碑'); const ms7 = getMilestone(7); -assert(ms7.milestone !== null && ms7.milestone.includes('一周年'), 'getMilestone(7): 一周年里程碑'); +assert(ms7.milestone !== null && ms7.milestone.includes('一周'), 'getMilestone(7): 一周里程碑'); const ms100 = getMilestone(100); assert(ms100.milestone !== null && ms100.milestone.includes('百日'), 'getMilestone(100): 百日里程碑'); diff --git a/scripts/community/timeline-tracker.js b/scripts/community/timeline-tracker.js index 8edc0dab..33654ec8 100644 --- a/scripts/community/timeline-tracker.js +++ b/scripts/community/timeline-tracker.js @@ -34,7 +34,7 @@ function daysAlive(fromDate, now) { function getMilestone(days) { const milestones = [ { day: 1, label: '🌱 第一天 · 数字地球第一次呼吸' }, - { day: 7, label: '🌿 一周年 · 第一片叶子' }, + { day: 7, label: '🌿 一周 · 第一片叶子' }, { day: 30, label: '🌳 满月 · 扎根大地' }, { day: 100, label: '💯 百日 · 百脉齐通' }, { day: 180, label: '🌊 半年 · 潮汐初现' },