Lock or unlock beside Delete on a person's page #29

Merged
jcoffey-dev merged 1 commits from feature/lock-beside-delete into main 2026-09-28 00:37:36 +00:00
Owner

On a person's page (Directory › Accounts › the account), Lock this account…, or Unlock… when locked, now sits beside Delete at the foot of the form. Before, it floated above the form.

  • The red banner at the top only shows the status: the reason and who the account is handed to. After either action, the banner and the button refresh together through one window event (inbuxa:lock-changed).
  • The lock dialog names the account by its address. It used to show the internal id (e.g. "hr") when opened from the account page.
  • useAccountLock is its own small hook, shared by the banner and the button.

Checked in Chrome against a local server. From beside Delete: lock, and the banner appears with the reason; then unlock, and the button returns to Lock. Typecheck, lint and 408 tests pass.

On a person's page (Directory › Accounts › the account), **Lock this account…**, or **Unlock…** when locked, now sits beside **Delete** at the foot of the form. Before, it floated above the form. - The red banner at the top only shows the status: the reason and who the account is handed to. After either action, the banner and the button refresh together through one window event (`inbuxa:lock-changed`). - The lock dialog names the account by its address. It used to show the internal id (e.g. "hr") when opened from the account page. - `useAccountLock` is its own small hook, shared by the banner and the button. Checked in Chrome against a local server. From beside Delete: lock, and the banner appears with the reason; then unlock, and the button returns to Lock. Typecheck, lint and 408 tests pass.
jcoffey-dev added 1 commit 2026-09-28 00:35:59 +00:00
Lock or unlock beside Delete on a person's page
ci / build (pull_request) Successful in 1m12s
ci / publish (pull_request) Skipped
3c1726a23a
Lock this account… (or Unlock…) now sits with Delete at the foot of the
account form, where the account's other lasting actions are. The banner
above the form only says whether the account is locked and to whom it is
handed; both refresh together after either acts. The lock dialog names
the account by its address rather than its id.
jcoffey-dev merged commit ac70443489 into main 2026-09-28 00:37:36 +00:00
jcoffey-dev deleted branch feature/lock-beside-delete 2026-09-28 00:37:36 +00:00
Sign in to join this conversation.