ux(storage): hide 'Eltávolítás a listából' on wizard-enrolled drives

List-removal only deletes the registry entry — it's the undo of a
manual path add. On an enrolled drive (/mnt/felhom-drives/) it leaves a
de-registered-but-still-bound limbo nobody wants; the real lifecycle
there is Biztonságos leválasztás / Végleges leszerelés. New
StoragePathView.IsEnrolled gates the button; manual paths keep it; the
decommissioned-branch removal (final cleanup) is unchanged. Endpoint
untouched.
This commit is contained in:
2026-07-02 21:29:14 +02:00
parent d256166fdd
commit d0c70a7da6
4 changed files with 62 additions and 1 deletions
+11
View File
@@ -1,5 +1,16 @@
## Changelog
### v0.98.3 — hide "Eltávolítás a listából" on wizard-enrolled drives (2026-07-02)
User feedback follow-up: list-removal (registry-entry delete; data + mount untouched) is only
meaningful as the undo of a MANUAL path add. On a wizard-enrolled drive (/mnt/felhom-drives/) the
resulting de-registered-but-still-agent-bound limbo is never what the customer wants — its real
lifecycle is Biztonságos leválasztás / Végleges leszerelés. New `StoragePathView.IsEnrolled`
(path-prefix check) gates the button; manually added paths keep it, and the decommissioned-branch
"Eltávolítás a rendszerből" (final cleanup) is unchanged. Endpoint untouched.
Test: enrolled card must not render the remove form, manual card must (TestListRemovalHiddenForEnrolledDrives).
### v0.98.2 — drive-card action clarity: dedupe + self-documenting labels (2026-07-02)
User feedback: two "Leválasztás" buttons per drive, and four near-synonymous labels (Letiltás /