From 5300620330dfbb487e9548b606ba06ef38bd0d00 Mon Sep 17 00:00:00 2001 From: DeLo1585 <174631727+DeLo1585@users.noreply.github.com> Date: Fri, 2 Oct 2026 23:45:32 +0000 Subject: [PATCH 1/4] Show total size of selected files in maintenance cards (#220) Untracked Files, Backup Cleanup and Duplicates now show the combined size next to the Selected: N counter, so the amount of data an action will touch is visible before clicking. Sizes come from the rows' existing data-size attributes. Group rows in Untracked Files carry the whole group's size in data-size (used for sorting) and their children are selected too, so group rows expose their own file in a new data-file-size attribute to avoid counting children twice. Duplicate file rows get a data-size attribute. formatBytes() mirrors core.system_utils.format_bytes so the figure matches the operation pill. --- web/templates/maintenance/index.html | 37 +++++++++++++++++++ .../maintenance/partials/audit_results.html | 6 +-- .../maintenance/partials/duplicate_card.html | 4 +- 3 files changed, 42 insertions(+), 5 deletions(-) diff --git a/web/templates/maintenance/index.html b/web/templates/maintenance/index.html index 2c4eabd2..8024f081 100644 --- a/web/templates/maintenance/index.html +++ b/web/templates/maintenance/index.html @@ -119,6 +119,40 @@