Extend core public orphan filter

This commit is contained in:
2026-04-21 20:51:11 +00:00
parent 97c1fddaca
commit 11d6fbaab1
4 changed files with 4 additions and 4 deletions

View File

@@ -21,7 +21,7 @@
"OrphansLabel": "Ausblenden:", "OrphansLabel": "Ausblenden:",
"OrphansModules": "modules/*", "OrphansModules": "modules/*",
"OrphansSystems": "systems/*", "OrphansSystems": "systems/*",
"OrphansCorePublic": "canvas/cards/icons/sounds/toolclips/ui" "OrphansCorePublic": "canvas/cards/docs/icons/nue/sounds/toolclips/ui"
}, },
"Progress": { "Progress": {
"Initialize": "Initialisiere Analyse", "Initialize": "Initialisiere Analyse",

View File

@@ -21,7 +21,7 @@
"OrphansLabel": "Hide:", "OrphansLabel": "Hide:",
"OrphansModules": "modules/*", "OrphansModules": "modules/*",
"OrphansSystems": "systems/*", "OrphansSystems": "systems/*",
"OrphansCorePublic": "canvas/cards/icons/sounds/toolclips/ui" "OrphansCorePublic": "canvas/cards/docs/icons/nue/sounds/toolclips/ui"
}, },
"Progress": { "Progress": {
"Initialize": "Initializing analysis", "Initialize": "Initializing analysis",

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.32", "version": "0.0.33",
"compatibility": { "compatibility": {
"minimum": "13", "minimum": "13",
"verified": "13" "verified": "13"

View File

@@ -570,7 +570,7 @@ function shouldHideOrphanFinding(finding, orphanFilters) {
if (orphanFilters.systems && path.startsWith("systems/")) return true; if (orphanFilters.systems && path.startsWith("systems/")) return true;
if ( if (
orphanFilters.corePublic && orphanFilters.corePublic &&
["canvas/", "cards/", "icons/", "sounds/", "toolclips/", "ui/"].some(prefix => path.startsWith(prefix)) ["canvas/", "cards/", "docs/", "icons/", "nue/", "sounds/", "toolclips/", "ui/"].some(prefix => path.startsWith(prefix))
) return true; ) return true;
return false; return false;