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", "Files": "Dateien",
"References": "Referenzen", "References": "Referenzen",
"Findings": "Findings", "Findings": "Findings",
"High": "High", "Missing": "Fehlt",
"Warning": "Warning", "Deprecated": "Veraltet",
"Orphaned": "Verwaist",
"ByType": "Findings nach Typ", "ByType": "Findings nach Typ",
"NoFindings": "Keine Findings", "NoFindings": "Keine Findings",
"WorkBlocks": "Arbeitsblöcke", "WorkBlocks": "Arbeitsblöcke",

View File

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

View File

@@ -2,7 +2,7 @@
"id": "kosmos-storage-audit", "id": "kosmos-storage-audit",
"title": "Kosmos Storage Audit", "title": "Kosmos Storage Audit",
"description": "Analyzes media references and risky storage locations across Foundry data and public roots.", "description": "Analyzes media references and risky storage locations across Foundry data and public roots.",
"version": "0.0.30", "version": "0.0.31",
"compatibility": { "compatibility": {
"minimum": "13", "minimum": "13",
"verified": "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.Files")}</span><strong>${summary.files}</strong></article>
<article><span>${localize("KSA.Summary.References")}</span><strong>${summary.references}</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.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.Missing")}</span><strong>${summary.byKind["broken-reference"] ?? 0}</strong></article>
<article><span>${localize("KSA.Summary.Warning")}</span><strong>${summary.bySeverity.warning}</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>
<div class="storage-audit__kinds"> <div class="storage-audit__kinds">
<h3>${localize("KSA.Summary.ByType")}</h3> <h3>${localize("KSA.Summary.ByType")}</h3>