docs: update star history card - #9845
Open
xxynet wants to merge 2 commits into
Open
Conversation
Contributor
There was a problem hiding this comment.
Hey - I've found 1 issue
Prompt for AI Agents
Please address the comments from this code review:
## Individual Comments
### Comment 1
<location path="README.md" line_range="231" />
<code_context>
<div align="center">
-[](https://star-history.com/#astrbotdevs/astrbot&Date)
+[](https://repostars.dev/?repos=AstrBotDevs%2FAstrBot&theme=dark)
</div>
</code_context>
<issue_to_address>
**nitpick:** The image alt text is reduced to the product name `RepoStars`, so when the chart cannot be loaded or is accessed by a screen reader, users are not told that the image is a repository star-history chart. The Spanish README also loses its previously descriptive localized alt text.
**Triggers:** When the image is unavailable or the README is consumed with a screen reader.
**Suggested fix:** Use a descriptive, localized alt text such as `Repository star history chart` rather than only `RepoStars`.
```suggestion
[](https://repostars.dev/?repos=AstrBotDevs%2FAstrBot&theme=dark)
```
</issue_to_address>Sourcery assessment
Approved.
Help me be more useful! Please click 👍 or 👎 on each comment and I'll use the feedback to improve your reviews.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Modifications / 改动点
The previous Star History card no longer renders because GitHub restricted access to star data, as shown in the reported screenshot. Replace it with the RepoStars embed, which renders without repository maintainers configuring a GitHub token.
Screenshots or Test Results / 运行截图或测试结果
GitHub restricted access to star data.AstrBotDevs/AstrBot.git diff --checksuccessfully.Checklist / 检查清单
😊 This PR does not add a new feature and does not require prior feature discussion.
/ 此 PR 未新增功能,无需事先讨论。
👀 My changes have been well-tested, and "Verification Steps" and "Screenshots" have been provided above.
/ 我的更改经过了良好的测试,并已在上方提供了“验证步骤”和“运行截图”。
🤓 I have ensured that no new dependencies are introduced.
/ 我确保没有引入新依赖库。
😮 My changes do not introduce malicious code.
/ 我的更改没有引入恶意代码。
Summary by Sourcery
Restore repository star history displays across all localized README files.
Bug Fixes:
Documentation: