Skip to content

fix: update contributors image max count to 500 and columns to 17 - #10781

Merged
Soulter merged 1 commit into
AstrBotDevs:masterfrom
DOTBave:fix/readme-contributor-image-size
Oct 26, 2026
Merged

Soulter merged 1 commit into
AstrBotDevs:masterfrom
DOTBave:fix/readme-contributor-image-size

Conversation

@DOTBave

@DOTBave DOTBave commented Oct 26, 2026 •

Copy link
Copy Markdown
Contributor

The contributors image in the READMEs is generated by contrib.rocks and was still capped at max=300, while the repository now reports 416 contributors, so the newest contributors were missing from it. This is a follow-up to #8000, which raised the cap from 200 to 300.

Modifications / 改动点

  • Update the contrib.rocks URL in all 7 README files: max=300&columns=15 → max=500&columns=17.

  • max=500 is above the 416 contributors reported by GitHub, so the image is no longer capped below the real contributor count.

  • columns=17 keeps the rendered height about the same as before: with the 373 avatars that contrib.rocks currently renders, the image is 1152×1492 and is displayed at 838×1085, versus 838×1118 for the current image. With columns=15 the same avatars would render at 838×1399, i.e. a noticeably longer section.

  • This is NOT a breaking change. / 这不是一个破坏性变更。

Screenshots or Test Results / 运行截图或测试结果

Before (max=300&columns=15):
https://contrib.rocks/image?repo=AstrBotDevs/AstrBot&max=300&columns=15

Click here to expand Before: 300 avatars, 15 columns

After (max=500&columns=17):
https://contrib.rocks/image?repo=AstrBotDevs/AstrBot&max=500&columns=17

Click here to expand After: all 373 avatars, 17 columns

Checklist / 检查清单

  • 😊 If there are new features added in the PR, I have discussed it with the authors through issues/emails, etc.
    / 如果 PR 中有新加入的功能,已经通过 Issue / 邮件等方式和作者讨论过。
    (No new features; only the contributor image URL in the READMEs is updated.)

  • 👀 My changes have been well-tested, and "Verification Steps" and "Screenshots" have been provided above.
    / 我的更改经过了良好的测试,并已在上方提供了“验证步骤”和“运行截图”。

  • 📚 I checked the affected WebUI instructions and screenshots in docs/zh and docs/en against the changed navigation, page structure, and labels, and updated them in this PR (or explained why no documentation update is needed). For renamed, moved, or merged entry points, I included an old entry → new entry mapping in the documentation and changelog.
    / 我已对照变化后的 WebUI 入口、页面结构和术语,核对并在本 PR 中更新 docs/zh 和 docs/en 的相关操作说明与截图(或说明无需更新文档的原因)。入口改名、移动或合并时,已在文档和 changelog 中补充 旧入口 → 新入口 对照。
    (No WebUI navigation, page structure, or terminology changes, and the contributor image is not documented in docs/; no documentation update is required.)

  • 🤓 I have ensured that no new dependencies are introduced, OR if new dependencies are introduced, they have been added to the appropriate locations in requirements.txt and pyproject.toml.
    / 我确保没有引入新依赖库,或者引入了新依赖库的同时将其添加到 requirements.txt 和 pyproject.toml 文件相应位置。
    (No dependencies introduced.)

  • 😮 My changes do not introduce malicious code.
    / 我的更改没有引入恶意代码。

Summary by Sourcery

Increase the contributor image capacity and adjust its layout across all localized README files.

Bug Fixes:

  • Update contributor images so README files can display the repository’s full contributor count.

Enhancements:

  • Use a wider contributor image layout to preserve a similar rendered height while showing additional contributors.

The contributors image was capped at max=300 while the repository now
reports 416 contributors, so the newest contributors were missing from
it. Raise the cap to 500.

The image also has to fit the 838px README content column: the previous
1016px-wide image (columns=15) was scaled down to 82.5% by GitHub, and
simply raising the cap would have made the section taller. With the 373
avatars that contrib.rocks currently renders, columns=17 produces a
1152x1492 image that GitHub renders at 838x1085, about the same height as
the previous 300-avatar image (838x1118).

All 7 README files are updated.

@sourcery-ai sourcery-ai Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hey - I've reviewed your changes and they look great!

Sourcery assessment

Approved.


Sourcery is free for open source - if you like our reviews please consider sharing them ✨

@Soulter
Soulter merged commit c5c08a2 into AstrBotDevs:master Oct 26, 2026
23 checks passed
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