Redesign PR comments with visual progress bars and status icons#4
Merged
Redesign PR comments with visual progress bars and status icons#4
Conversation
- Add Unicode progress bar (████░░░░) showing coverage at a glance - Add per-file colored status icons (🟢 ≥90%, 🟡 ≥70%, 🔴 <70%) - Replace "Meets/Below threshold" with clear "Passed/Failed" status - Use Material Design-inspired layout with visual hierarchy - Add emoji icons to metrics table for scannability - Use distinct headers for coverage (🛡️) and quality (🔬) modes - Cleaner footer with marketplace link - Update README previews to match new comment design - Update tests for new template wording Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
- Add pull-requests: write and checks: write permissions - Enable post-comment and create-annotations on coverage mode job - The action now posts its own coverage report on every PR Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
- Hero coverage badge (for-the-badge style) with dynamic color - Threshold pass/fail badge (flat-square style) - Compact inline metrics replacing table layout - Badge color scale: brightgreen → green → yellowgreen → yellow → orange → red - Progress bar + badge combo for maximum visual density - Updated README previews and test assertions Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
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.
Summary
████████████████░░░░) showing coverage/quality percentage at a glanceBefore vs After
Before:
After:
Files Changed
src/comment.py— Added_progress_bar()and_status_icon()Jinja2 filterssrc/outputs.py— Same filters for step summary renderingtemplates/comment_coverage.md.j2— Redesigned coverage PR commenttemplates/comment_quality.md.j2— Redesigned quality PR commenttemplates/step_summary.md.j2— Redesigned step summarytests/test_comment.py— Updated assertions for new wordingREADME.md— Updated comment previews to match new designTest plan
🤖 Generated with Claude Code