Coherence: one component per idea, one spelling per word, one truth per claim

Claude-Session: https://claude.ai/code/session_01Ms2FbjQy31TVf3CEvQhGM8
This commit is contained in:
Gabriel Brown
2026-08-25 02:21:45 -04:00
parent 06c53d6c21
commit bd2fd12de2
87 changed files with 660 additions and 766 deletions
@@ -51,14 +51,16 @@ SettingsPage {
readonly property var removableDrives: Disks.drives.filter(entry => entry.removable)
// Unguarded on purpose, unlike the other refresh-on-open pages: this is the
// cheap snapshot, not the walk. Free space moves while Settings is open --
// that is most of the reason someone comes back to this page -- and
// disks-contract pins the bare call so a later sweep cannot quietly turn it
// into a once-a-session read. The expensive walks are asked for by hand.
Component.onCompleted: Disks.refresh()
TextRow {
visible: Disks.lastError !== ""
ErrorRow {
label: "Storage needs attention"
detail: Disks.lastError
value: ""
divider: false
message: Disks.lastError
}
// ── Space ────────────────────────────────────────────────────────────────
@@ -113,7 +115,7 @@ SettingsPage {
visible: Disks.breakdownMeasured && Disks.breakdown
&& Disks.breakdown.complete === false
label: "The walk ran out of time"
detail: "Home, applications and caches are floors rather than totals, so the remainder is larger than it should be."
detail: "Home, applications and caches are floors rather than totals, so the remainder is larger than it should be"
value: ""
divider: false
}
@@ -249,11 +251,10 @@ SettingsPage {
}
}
TextRow {
NotMeasuredRow {
visible: Disks.foldersMeasured && Disks.folderScanTruncated
label: "Some folders were not measured"
detail: "The walk ran out of time before reaching them, so this list is incomplete."
value: ""
because: "The walk ran out of time before reaching them, so this list is incomplete"
divider: false
}
}
@@ -343,7 +344,7 @@ SettingsPage {
TextRow {
visible: Disks.cleanablesMeasured && (Disks.cleanables ?? []).length === 0
label: "Nothing itemized"
detail: "Caches, the trash, unused Flatpak runtimes and the package download cache were all measured and none of them holds anything."
detail: "Caches, the trash, unused Flatpak runtimes and the package download cache were all measured and none of them holds anything"
value: ""
divider: false
}
@@ -473,7 +474,7 @@ SettingsPage {
TextRow {
visible: root.removableDrives.length === 0
label: "None connected"
detail: "Drives you plug in appear here, with a way to unmount them safely."
detail: "Drives you plug in appear here, with a way to unmount them safely"
value: ""
divider: false
}