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.
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.
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
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.
inbuxa:lock-changed).useAccountLockis 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.