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:
2026-03-20 19:29:48 +08:00
parent 0d8b9b1976
commit c0f8004278
2 changed files with 31 additions and 2 deletions
+4 -1
View File
@@ -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">