Skip to content

docs(readme): center Trendshift badge#259

Merged
efenocchi merged 2 commits into
mainfrom
docs/center-trendshift-badge
Jun 11, 2026
Merged

docs(readme): center Trendshift badge#259
efenocchi merged 2 commits into
mainfrom
docs/center-trendshift-badge

Conversation

@efenocchi

@efenocchi efenocchi commented Jun 11, 2026

Copy link
Copy Markdown
Collaborator

Summary

Wraps the Trendshift badge in a <p align="center"> block so it renders centered, matching the other badge blocks in the README header.

Session Context

Session transcript

Summary by CodeRabbit

  • Documentation
    • Added a Trendshift badge to the README header badge area, linking the repository to Trendshift.

@coderabbitai

coderabbitai Bot commented Jun 11, 2026

Copy link
Copy Markdown

Review Change Stack

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro Plus

Run ID: 66cd11dc-0669-42f0-abcd-5087830dfdf2

📥 Commits

Reviewing files that changed from the base of the PR and between f0f2a5c and b9302e4.

📒 Files selected for processing (1)
  • README.md
✅ Files skipped from review due to trivial changes (1)
  • README.md

📝 Walkthrough

Walkthrough

The README header's centered badge section is expanded with an additional Trendshift repository badge link for the activeloopai/hivemind project.

Changes

Documentation Updates

Layer / File(s) Summary
Trendshift badge addition
README.md
A Trendshift badge linking to the repository's Trendshift page is added to the header's centered badge area.

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~2 minutes

Possibly related PRs

  • activeloopai/hivemind#220: Also modifies README header badges but updates Discord/Slack links and removes star-history chart instead.

Poem

🐰 A badge arrives with honor bright,
Trendshift hops into the header's light,
Four tiny lines, a link so neat,
The README wears one more small feat,
I nibble carrots, then I tweet.

🚥 Pre-merge checks | ✅ 4 | ❌ 1

❌ Failed checks (1 warning)

Check name Status Explanation Resolution
Description check ⚠️ Warning The description provides a clear summary of changes but omits the required 'Version Bump' and 'Test plan' sections specified in the repository template. Add the missing 'Version Bump' and 'Test plan' sections from the template to complete the pull request description requirements.
✅ Passed checks (4 passed)
Check name Status Explanation
Title check ✅ Passed The title accurately describes the main change: centering the Trendshift badge in the README, which is the primary modification shown in the changeset.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch docs/center-trendshift-badge

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@github-actions

github-actions Bot commented Jun 11, 2026

Copy link
Copy Markdown
Contributor

Coverage Report

No src/*.ts files changed in this PR.

Generated for commit 1525baf.

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Actionable comments posted: 2

🧹 Nitpick comments (1)
README.md (1)

29-29: 💤 Low value

Consider removing redundant dimension specifications.

The badge has both inline styles (style="width: 250px; height: 55px;") and HTML attributes (width="250" height="55"), which is redundant. Additionally, none of the other badges in the header (lines 14-21) specify explicit dimensions—they let the badge service determine the natural size.

♻️ Proposed refactor
-  <a href="https://trendshift.io/repositories/28172" target="_blank"><img src="https://trendshift.io/api/badge/repositories/28172" alt="activeloopai%2Fhivemind | Trendshift" style="width: 250px; height: 55px;" width="250" height="55"/></a>
+  <a href="https://trendshift.io/repositories/28172" target="_blank"><img src="https://trendshift.io/api/badge/repositories/28172" alt="activeloopai/hivemind | Trendshift"/></a>
 </p>
🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In `@README.md` at line 29, Remove the redundant explicit dimensions from the
badge image element (the <img> with
src="https://trendshift.io/api/badge/repositories/28172" and alt containing
"activeloopai%2Fhivemind | Trendshift"); keep only one sizing mechanism—prefer
removing the inline style="width: 250px; height: 55px;" and/or the width="250"
height="55" attributes so the badge service can determine natural size, matching
the other header badges.
🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

Inline comments:
In `@README.md`:
- Around line 28-30: The external anchor element using target="_blank" (the <a
href="https://trendshift.io/repositories/28172" target="_blank"> link) needs
rel="noopener noreferrer" added to prevent window.opener/tabnabbing; update the
anchor tag around the Trendshift badge (the <a ...> element in the README) to
include rel="noopener noreferrer" alongside the existing target attribute.
- Line 29: The alt text for the image uses a URL-encoded slash
("activeloopai%2Fhivemind | Trendshift") which is unreadable by screen readers;
update the img tag's alt attribute to use the literal slash
("activeloopai/hivemind | Trendshift") so accessibility tools announce it
correctly—locate the <img ... alt="activeloopai%2Fhivemind | Trendshift" .../>
in the README and replace the `%2F` with `/`.

---

Nitpick comments:
In `@README.md`:
- Line 29: Remove the redundant explicit dimensions from the badge image element
(the <img> with src="https://trendshift.io/api/badge/repositories/28172" and alt
containing "activeloopai%2Fhivemind | Trendshift"); keep only one sizing
mechanism—prefer removing the inline style="width: 250px; height: 55px;" and/or
the width="250" height="55" attributes so the badge service can determine
natural size, matching the other header badges.
🪄 Autofix (Beta)

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro Plus

Run ID: 8e798845-9180-4841-abed-15abd1923185

📥 Commits

Reviewing files that changed from the base of the PR and between a7735f3 and f0f2a5c.

📒 Files selected for processing (1)
  • README.md

Comment thread README.md
Comment thread README.md Outdated
@efenocchi efenocchi merged commit e24962b into main Jun 11, 2026
11 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.

1 participant