From 6d4066784d2e4319429042109f883f923f8f188b Mon Sep 17 00:00:00 2001 From: Claus Lohmar Date: Thu, 23 Jul 2026 13:04:00 +0000 Subject: [PATCH] ux: show exact auto-shrink target + warning about complex layouts --- frontend/templates/_analysis.html | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/frontend/templates/_analysis.html b/frontend/templates/_analysis.html index 7b15b41..5dd8484 100644 --- a/frontend/templates/_analysis.html +++ b/frontend/templates/_analysis.html @@ -43,7 +43,11 @@ - {{ analysis.disk_size_gb }} GB detected. Omit to auto-shrink (10% of size, min 20 GB). + + {{ analysis.disk_size_gb }} GB detected. Auto-shrink to {{ (analysis.disk_size_gb * 0.1)|round(0)|int if (analysis.disk_size_gb * 0.1) > 20 else 20 }} GB if left blank.
+ Warning: shrinking can break complex layouts (LVM, encryption). + If unsure, enter the full size ({{ analysis.disk_size_gb }} GB) to skip. +