Use domain counters in summary

This commit is contained in:
2026-04-21 20:33:16 +00:00
parent fa496fc81e
commit 903d7100c3
4 changed files with 10 additions and 7 deletions

View File

@@ -53,8 +53,9 @@
"Files": "Dateien",
"References": "Referenzen",
"Findings": "Findings",
"High": "High",
"Warning": "Warning",
"Missing": "Fehlt",
"Deprecated": "Veraltet",
"Orphaned": "Verwaist",
"ByType": "Findings nach Typ",
"NoFindings": "Keine Findings",
"WorkBlocks": "Arbeitsblöcke",

View File

@@ -53,8 +53,9 @@
"Files": "Files",
"References": "References",
"Findings": "Findings",
"High": "High",
"Warning": "Warning",
"Missing": "Missing",
"Deprecated": "Deprecated",
"Orphaned": "Orphaned",
"ByType": "Findings by Type",
"NoFindings": "No findings",
"WorkBlocks": "Work Blocks",

View File

@@ -2,7 +2,7 @@
"id": "kosmos-storage-audit",
"title": "Kosmos Storage Audit",
"description": "Analyzes media references and risky storage locations across Foundry data and public roots.",
"version": "0.0.30",
"version": "0.0.31",
"compatibility": {
"minimum": "13",
"verified": "13"

View File

@@ -260,8 +260,9 @@ function renderSummary(summary, loading) {
<article><span>${localize("KSA.Summary.Files")}</span><strong>${summary.files}</strong></article>
<article><span>${localize("KSA.Summary.References")}</span><strong>${summary.references}</strong></article>
<article><span>${localize("KSA.Summary.Findings")}</span><strong>${summary.findings}</strong></article>
<article><span>${localize("KSA.Summary.High")}</span><strong>${summary.bySeverity.high}</strong></article>
<article><span>${localize("KSA.Summary.Warning")}</span><strong>${summary.bySeverity.warning}</strong></article>
<article><span>${localize("KSA.Summary.Missing")}</span><strong>${summary.byKind["broken-reference"] ?? 0}</strong></article>
<article><span>${localize("KSA.Summary.Deprecated")}</span><strong>${summary.byKind["non-package-to-package-reference"] ?? 0}</strong></article>
<article><span>${localize("KSA.Summary.Orphaned")}</span><strong>${summary.byKind["orphan-file"] ?? 0}</strong></article>
</div>
<div class="storage-audit__kinds">
<h3>${localize("KSA.Summary.ByType")}</h3>