Tier 0: render what the services already decided, honestly

Claude-Session: https://claude.ai/code/session_01Ms2FbjQy31TVf3CEvQhGM8
This commit is contained in:
Gabriel Brown
2026-08-25 00:24:30 -04:00
parent be0e55214b
commit 8b1205e4b8
38 changed files with 1474 additions and 260 deletions
@@ -70,6 +70,17 @@ Singleton {
return real !== "" ? real : String(user?.userName ?? "");
}
// The home directory accountsservice reports for an account, which is not
// reliably "/home/" + userName: a home can be moved, or live on another
// mount entirely. Empty when the helper reported none -- and empty is the
// caller's cue to name the directory in words rather than to construct a
// path, because a guessed path inside the confirmation for an irreversible
// deletion is the app being most confident about the one thing it does not
// actually know.
function homeDirectory(user: var): string {
return String(user?.homeDirectory ?? "").trim();
}
function refresh(): void {
if (query.running)
return;