Local-account delete dialog to #597 mockup fidelity #648

Merged
Cordy merged 7 commits from fix-597dlg into main 2026-09-22 20:29:01 +00:00
Owner

The delete preview drifted into an askConfirm() prose blob. This rebuilds it as the mockup drew (rev 1 §3):

  • Dedicated ludeldlg: "Delete account — {name}" title, lead with the home path in monospace, warn fact ("This account shared 2 items and holds 1 public link. They stop serving...") with tn()-pluralised counts, info fact pointing at Administration › Sharing → Departed owners, Cancel + danger Delete account.
  • Zero-share accounts: facts hidden, dialog otherwise unchanged (no "0 shares" noise).
  • luDelFill() renders templates whose placeholders become DOM nodes — no innerHTML of user data.
  • luDelConfirm/luDelShares prose keys removed; 8 new keys ×4.

Tests: web/test/ludeldlg.test.js.

The delete preview drifted into an `askConfirm()` prose blob. This rebuilds it as the mockup drew (rev 1 §3): - Dedicated `ludeldlg`: "Delete account — {name}" title, lead with the home path in monospace, warn fact ("This account shared **2 items** and holds **1 public link**. They stop serving...") with `tn()`-pluralised counts, info fact pointing at **Administration › Sharing → Departed owners**, Cancel + danger **Delete account**. - Zero-share accounts: facts hidden, dialog otherwise unchanged (no "0 shares" noise). - `luDelFill()` renders templates whose placeholders become DOM nodes — no innerHTML of user data. - `luDelConfirm`/`luDelShares` prose keys removed; 8 new keys ×4. Tests: web/test/ludeldlg.test.js.
Cordy merged commit cd97932f53 into main 2026-09-22 20:29:01 +00:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: Cordy/Cairn#648
No description provided.