Repository navigation
feat: redesign the comment footer with website, star and sponsor links - #473
Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #473 +/- ##
=======================================
Coverage 92.74% 92.74%
=======================================
Files 23 23
Lines 3859 3859
=======================================
Hits 3579 3579
Misses 280 280 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
|
Important Review skippedReview was skipped as selected files did not have any reviewable changes. ⚙️ Run configuration
You can disable this status message by setting the Use the checkbox below for a quick retry:
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configuration
📒 Files selected for processing (1)
Included review availability: This review used your included allowance. Your plan provides up to 1 included review per hour; 0 remain after this review. 📝 WalkthroughWalkthrough
ChangesOutreach Footer
Priority: ⬇️ Low Estimated code review effort: 1 (Trivial) | ~3 minutes Merge Risk: ⚪ Minimal · up to Generated comments gain cpp-linter and community links. The supplied evidence indicates no specific user-facing or operational regression that needs resolution before merging. 🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
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. Comment |
Replace the plain "Share it here" feedback line with a compact, muted footer that links the website, the cpp-linter-action repo, Open Collective and the issue tracker. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01LUbn11bvXW3Cww9CETPXC4
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01LUbn11bvXW3Cww9CETPXC4
Use • and -- instead of ·/— and move the emojis into the link text; drop the now-unneeded cspell entry. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01LUbn11bvXW3Cww9CETPXC4
8512c88 to
a79d154
Compare
Requested by Xianpeng · project thread
Before: every thread comment, PR review summary and step summary ended with a plain sentence, "Have any feedback or feature suggestions? Share it here.", which only pointed at the issue tracker.
After: they end with a small, muted footer under a rule that links the website, a Star link for cpp-linter-action, the Open Collective sponsor page and the feedback tracker.
Before / after (rendered by GitHub right here)
Before
After
Full-comment screenshots of both versions are posted in the project thread linked above.
How
Only the
USER_OUTREACHconstant changes (306 characters, up from 117; the comment-length budget already subtracts it). The footer is pure ASCII (emoji shortcodes and HTML entities) so the existing length-budget math and the escaped-string assertions in the tests keep working unchanged. The sponsor link uses the Open Collective account already listed incpp-linter/.github/.github/FUNDING.yml. The same text is used in cpp-linter/cpp-linter (cpp_linter/rest_api/__init__.py) so both implementations stay identical; review feedback on cpp-linter/cpp-linter#228 (•,--, emojis inside link text) is applied here too.Tested locally:
cargo fmt --checkclean;cargo test -p cpp-linter --all-featuresfor therest_clientunit tests and thecommentsandreviewsintegration tests all pass (run with--test-threads=1, which matches nextest isolation).🤖 Generated with Claude Code
https://claude.ai/code/session_01LUbn11bvXW3Cww9CETPXC4
Summary by CodeRabbit