feat(reviews): display not-applicable evaluation points in review list
- Create placeholder reviewPoints from not_applicable unified results - Merge with existing reviewPoints for display - Count notApplicable from reviewPoints for accurate statistics Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -690,7 +690,10 @@ export function ReviewPointsList({
|
||||
const successToShow = successCount || statsToUse.success;
|
||||
const warningToShow = warningCount || statsToUse.warning;
|
||||
const errorToShow = errorCount || statsToUse.error;
|
||||
const notApplicableToShow = statsToUse.notApplicable || 0;
|
||||
const notApplicableCount = reviewPoints.filter(
|
||||
point => point.status === 'notApplicable' || point.status === 'not_applicable'
|
||||
).length;
|
||||
const notApplicableToShow = notApplicableCount || statsToUse.notApplicable || 0;
|
||||
|
||||
return (
|
||||
<div className="review-statistics bg-white border-b border-gray-100 py-3 px-4">
|
||||
|
||||
Reference in New Issue
Block a user