Edit Account: display name and password #81

Closed
opened 2026-08-06 21:34:07 +00:00 by TheAnachronism · 1 comment

What to build

From Manage accounts, an Edit control opens Edit Account. The person can change display name and/or password while the Account id stays stable. Password field is always blank with helper text to leave blank to keep the current password; a non-empty value replaces it and re-logins (same api_level ≥ 23 gate as Sign-in). Failed re-login persists nothing. Successful password change best-effort logs out the previous session id, keeps the mark outbox, and if the Account is active resets Selection to Fresh + Unread like switch — but navigation always returns to Manage accounts. Editing an inactive Account does not activate it. Clearing display name falls back to the default username@host label. Changing base URL or username is refused with a clear message until the identity ticket lands.

Acceptance criteria

  • Manage accounts shows an Edit affordance per Account that opens Edit Account
  • Edit Account pre-fills base URL, username, and display name; password starts blank with retain helper; primary action is Save
  • Saving a display-name-only change (including clearing it) keeps Account id and updates the Manage accounts label without re-login
  • Empty password retains the stored password; non-empty password re-logins, replaces the stored password and session id, best-effort logs out the old session id, and persists nothing on failure
  • Password change keeps that Account’s mark outbox; active Account password change resets Selection to Fresh + Unread without leaving Manage accounts as the post-Save screen
  • Editing an inactive Account does not change the active Account
  • Saving with a changed base URL or username is refused clearly (identity editing is out of scope here)
  • Automated coverage covers display-name save, blank-password retain, password re-login success/failure atomicity, outbox retention, and inactive non-activation

Blocked by

  • #80 Prefactor Account uniqueness for Edit Account
## What to build From **Manage accounts**, an **Edit** control opens **Edit Account**. The person can change **display name** and/or **password** while the Account **id** stays stable. Password field is always blank with helper text to leave blank to keep the current password; a non-empty value replaces it and re-logins (same `api_level` ≥ 23 gate as Sign-in). Failed re-login persists nothing. Successful password change best-effort logs out the previous session id, keeps the mark outbox, and if the Account is active resets Selection to **Fresh** + **Unread** like switch — but navigation always returns to Manage accounts. Editing an inactive Account does not activate it. Clearing display name falls back to the default `username@host` label. Changing base URL or username is refused with a clear message until the identity ticket lands. ## Acceptance criteria - [ ] Manage accounts shows an Edit affordance per Account that opens Edit Account - [ ] Edit Account pre-fills base URL, username, and display name; password starts blank with retain helper; primary action is Save - [ ] Saving a display-name-only change (including clearing it) keeps Account id and updates the Manage accounts label without re-login - [ ] Empty password retains the stored password; non-empty password re-logins, replaces the stored password and session id, best-effort logs out the old session id, and persists nothing on failure - [ ] Password change keeps that Account’s mark outbox; active Account password change resets Selection to Fresh + Unread without leaving Manage accounts as the post-Save screen - [ ] Editing an inactive Account does not change the active Account - [ ] Saving with a changed base URL or username is refused clearly (identity editing is out of scope here) - [ ] Automated coverage covers display-name save, blank-password retain, password re-login success/failure atomicity, outbox retention, and inactive non-activation ## Blocked by - #80 Prefactor Account uniqueness for Edit Account
Author
Owner

Implemented Edit Account for displayName/password. Identity changes refused until #82. Commit: 55e5a83.

Implemented Edit Account for displayName/password. Identity changes refused until #82. Commit: 55e5a83.
Sign in to join this conversation.
No description provided.