Release 0.0.6
This commit is contained in:
@@ -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.5",
|
"version": "0.0.6",
|
||||||
"compatibility": {
|
"compatibility": {
|
||||||
"minimum": "13",
|
"minimum": "13",
|
||||||
"verified": "13"
|
"verified": "13"
|
||||||
|
|||||||
@@ -15,7 +15,7 @@ export class StorageAuditReportApp extends foundry.applications.api.ApplicationV
|
|||||||
resizable: true
|
resizable: true
|
||||||
},
|
},
|
||||||
position: {
|
position: {
|
||||||
width: 760,
|
width: 980,
|
||||||
height: 680
|
height: 680
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
@@ -120,6 +120,8 @@ export class StorageAuditReportApp extends foundry.applications.api.ApplicationV
|
|||||||
ui.notifications.error(format("KSA.Notify.Failed", { message: error.message }));
|
ui.notifications.error(format("KSA.Notify.Failed", { message: error.message }));
|
||||||
} finally {
|
} finally {
|
||||||
this.#loading = false;
|
this.#loading = false;
|
||||||
|
const currentWidth = this.position?.width ?? 0;
|
||||||
|
if (currentWidth < 980) this.setPosition({ width: 980 });
|
||||||
await this.render({ force: true });
|
await this.render({ force: true });
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -25,7 +25,9 @@ export async function analyzeStorage({ listFiles, listSources, onProgress }={})
|
|||||||
const extracted = extractReferencesFromValue(source.value, {
|
const extracted = extractReferencesFromValue(source.value, {
|
||||||
sourceType: source.sourceType,
|
sourceType: source.sourceType,
|
||||||
sourceScope: source.sourceScope,
|
sourceScope: source.sourceScope,
|
||||||
sourceLabel: source.sourceLabel
|
sourceLabel: source.sourceLabel,
|
||||||
|
sourceName: source.sourceName,
|
||||||
|
sourceUuid: source.sourceUuid
|
||||||
});
|
});
|
||||||
references.push(...extracted);
|
references.push(...extracted);
|
||||||
referenceCount += extracted.length;
|
referenceCount += extracted.length;
|
||||||
|
|||||||
Reference in New Issue
Block a user