diff --git a/module.json b/module.json index 3a859e4..f7ba39a 100644 --- a/module.json +++ b/module.json @@ -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.11", + "version": "0.0.12", "compatibility": { "minimum": "13", "verified": "13" diff --git a/scripts/core/reference-extractor.js b/scripts/core/reference-extractor.js index 4c3e399..f286c45 100644 --- a/scripts/core/reference-extractor.js +++ b/scripts/core/reference-extractor.js @@ -95,9 +95,13 @@ function resolvePackageRelativeReference(rawValue, source) { function dedupeReferences(references) { const seen = new Set(); return references.filter(reference => { + const trailKey = Array.isArray(reference.sourceTrail) + ? reference.sourceTrail.map(node => node.uuid ?? node.label ?? "").join(">") + : ""; const key = [ reference.sourceType, reference.sourceLabel, + trailKey, reference.normalized?.locator ?? "", reference.rawValue ].join("|"); diff --git a/styles/audit.css b/styles/audit.css index c1a30bf..fccea1b 100644 --- a/styles/audit.css +++ b/styles/audit.css @@ -86,7 +86,7 @@ .storage-audit__hero { display: grid; - grid-template-columns: minmax(0, 1fr) minmax(14rem, 16rem); + grid-template-columns: minmax(0, 1fr); gap: 1rem 1.25rem; align-items: start; } @@ -124,6 +124,8 @@ gap: 0.75rem; align-items: stretch; min-width: 0; + width: 100%; + max-width: 18rem; } .storage-audit__actions .button { @@ -293,12 +295,9 @@ } @media (max-width: 1100px) { - .storage-audit__hero { - grid-template-columns: minmax(0, 1fr); - } - .storage-audit__actions { width: 100%; + max-width: none; } }