Skip to content

feat(readme): 更新日期从 stats.json 自动刷新,并补齐首屏说明 - #16

Merged
jammyfu merged 1 commit into
mainfrom
cursor/readme-dynamic-date-47c7
Nov 1, 2026
Merged

jammyfu merged 1 commit into
mainfrom
cursor/readme-dynamic-date-47c7

Conversation

@jammyfu

@jammyfu jammyfu commented Nov 1, 2026 •

Copy link
Copy Markdown
Owner

Summary

README 的更新日期不再写死在徽章 URL 里。徽章改为 shields.io 动态 JSON,读取 main 上 data/stats.json 的 today_utc;正文时间戳仍由每次 render_readme / daily-update 从 generated_at 写入。首屏补了「数据怎么算」和「怎么看 / 怎么参与」两条问答,页脚加上 CONTRIBUTING.md。未改排名逻辑或 secrets。

已 rebase 到最新 main(#15 的 history-slack 修复)。main 上没有更新的榜单数据(11-01 daily-update 因 slack 失败未推送),因此保留了现有 data/。当前计划编号为 PLAN-003(PLAN-002 已被 #15 占用)。

每日更新节奏与 Actions 一致:北京时间 0 点(0 16 * * *,UTC+8)和洛杉矶时间 0 点(0 7 * * * / 0 8 * * * + schedule_guard.py)。

Checklist

  • Followed CONTRIBUTING.md
  • Edited generators (tools/i18n.py, tools/render_readme.py) then regenerated README*.md with python3 tools/render_readme.py (not hand-edited)
  • New UI strings have all five languages (en, zh-Hans, zh-Hant, ja, ko)
  • python3 tools/verify.py passes
  • No tracking or analytics code added

Changed files

Verification

python3 tools/next_plan.py --check
python3 tools/verify.py

verify.py compiles tools/tests, runs python3 -m unittest discover -s tests -v (203 tests), and python3 tools/render_readme.py --check. All passed after rebase.

Please review and merge when ready; this PR is not merged.

Open in Web Open in Cursor 

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 1, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-01T01:54:45.161897Z 06f2478 PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

…Q&As

Stop baking YYYY-MM-DD into the shields badge URL. The badge now reads
today_utc from data/stats.json; the stamp line is filled from
generated_at on every render_readme / daily-update run. Add two short
FAQ items (how numbers are computed; how to use or contribute) and a
CONTRIBUTING.md footer link.

Co-authored-by: PaintingCoder <jammyfu@users.noreply.github.com>
@cursor
cursor Bot force-pushed the cursor/readme-dynamic-date-47c7 branch from 06f2478 to 8b9d6eb Compare November 1, 2026 03:05
@jammyfu
jammyfu merged commit c27ca5b into main Nov 1, 2026
1 check passed
@jammyfu
jammyfu deleted the cursor/readme-dynamic-date-47c7 branch November 1, 2026 03:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants