feat: no security issues should show up as green progress bar#109
feat: no security issues should show up as green progress bar#109
Conversation
PR Compliance Guide 🔍Below is a summary of compliance checks for this PR:
Compliance status legend🟢 - Fully Compliant🟡 - Partial Compliant 🔴 - Not Compliant ⚪ - Requires Further Human Verification 🏷️ - Compliance label |
||||||||||||||||||
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #109 +/- ##
==========================================
+ Coverage 80.90% 80.94% +0.03%
==========================================
Files 21 21
Lines 2587 2592 +5
Branches 295 297 +2
==========================================
+ Hits 2093 2098 +5
Misses 488 488
Partials 6 6 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
commit: |
PR Code Suggestions ✨Explore these optional code suggestions:
|
||||||||||||
User description
Description
Types of changes
Related Issue
Motivation and Context
How Has This Been Tested?
Screenshots (if appropriate):
Checklist:
PR Type
Enhancement
Description
Modified progress bar styling for security issues
Added
emptyIsGoodparameter to progress bar functionZero security/version issues now display green styling
Added comprehensive test coverage for zero-issue scenarios
Diagram Walkthrough
flowchart LR A["Security Issues Count"] --> B{"Count = 0?"} B -->|Yes| C["Green Progress Bar"] B -->|No| D["Red Progress Bar"] E["Version Issues Count"] --> F{"Count = 0?"} F -->|Yes| G["Green Progress Bar"] F -->|No| H["Red Progress Bar"]File Walkthrough
summary.ts
Enhanced progress bar styling logicsrc/components/summary.ts
emptyIsGoodparameter tocreateProgressBarfunctionzero
emptyIsGood=truefor security/versionbars
summary-component.test.ts
Added test for zero-issue scenariostests/summary-component.test.ts