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
@@ -268,24 +268,20 @@ SettingsPage {
// a process each and only this page wants them, so a shell start where
// nobody opens Applications pays for neither.
Component.onCompleted: {
AppLibrary.refresh();
AppLibrary.refreshCatalog();
if (!AppLibrary.flatpaksLoaded)
AppLibrary.refresh();
if (!AppLibrary.catalogLoaded)
AppLibrary.refreshCatalog();
}
TextRow {
visible: DefaultApps.lastError !== ""
ErrorRow {
label: "Application settings need attention"
detail: DefaultApps.lastError
value: ""
divider: false
message: DefaultApps.lastError
}
TextRow {
visible: String(AppLibrary.lastError ?? "") !== ""
ErrorRow {
label: "The application list needs attention"
detail: String(AppLibrary.lastError ?? "")
value: ""
divider: false
message: String(AppLibrary.lastError ?? "")
}
// ── What is installed ────────────────────────────────────────────────────
@@ -361,7 +357,7 @@ SettingsPage {
TextRow {
visible: root.installedApps.length > root.installedLimit
label: (root.installedApps.length - root.installedLimit) + " more"
detail: "Search finds any of them by name or by application id."
detail: "Search finds any of them by name or by application id"
value: ""
divider: false
}
@@ -369,7 +365,7 @@ SettingsPage {
TextRow {
visible: (AppLibrary.apps ?? []).length > 0 && root.installedApps.length === 0
label: "Nothing matches that"
detail: "Both the application's name and its id are searched."
detail: "Both the application's name and its id are searched"
value: ""
divider: false
}
@@ -449,7 +445,7 @@ SettingsPage {
label: AppLibrary.catalogLoaded
? "The catalog is empty"
: "Reading the catalog…"
detail: "It is parsed from setup/packages/extras, the same files the command line uses."
detail: "It is parsed from setup/packages/extras, the same files the command line uses"
value: ""
divider: false
}
@@ -547,7 +543,7 @@ SettingsPage {
TextRow {
visible: !DefaultApps.busy && DefaultApps.autostartEntries.length === 0
label: "No user autostart entries"
detail: "Applications can add entries to ~/.config/autostart."
detail: "Applications can add entries to ~/.config/autostart"
value: ""
}
@@ -612,7 +608,7 @@ SettingsPage {
// once at launch and give no sign that nothing had happened.
TextRow {
label: "Compositor autostart"
detail: "Started from the Hyprland configuration, and read-only here."
detail: "Started from the Hyprland configuration, and read-only here"
value: DefaultApps.luaAutostartEntries.length > 0
? DefaultApps.luaAutostartEntries.length
+ (DefaultApps.luaAutostartEntries.length === 1 ? " entry" : " entries")
@@ -622,7 +618,7 @@ SettingsPage {
TextRow {
visible: !DefaultApps.busy && DefaultApps.luaAutostartEntries.length === 0
label: "No compositor entries found"
detail: "No hl.exec_cmd entries were found in config/dot/hypr/autostart.lua."
detail: "No hl.exec_cmd entries were found in config/dot/hypr/autostart.lua"
value: ""
divider: false
}