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:",
"OrphansModules": "modules/*",
"OrphansSystems": "systems/*",
"OrphansCorePublic": "canvas/cards/icons/sounds/toolclips/ui"
"OrphansCorePublic": "canvas/cards/docs/icons/nue/sounds/toolclips/ui"
},
"Progress": {
"Initialize": "Initialisiere Analyse",

View File

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

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

View File

@@ -570,7 +570,7 @@ function shouldHideOrphanFinding(finding, orphanFilters) {
if (orphanFilters.systems && path.startsWith("systems/")) return true;
if (
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 false;