ui: show the identity name in the approval dialog #14

Merged
raucao merged 1 commits from fix/approval-identity-name into main 2026-12-01 13:20:24 +00:00
1 Commits
Author SHA1 Message Date
raucao 9eb94e5d6e ui: show the identity name in the approval dialog
CI / test (push) Successful in 49s
CI / test (pull_request) Successful in 49s
The approval dialog's "Signing as" read the key's vault label directly, so an
identity whose profile carries a `display_name` appeared under that name in the
switcher, the Apps page and the Connect dialog — but as `Identity key` in the
approval prompt. The label was resolved on the signer side (SignerConfig.names),
where the fetched profile is not available.

Resolve it through `AppState::identity_label` — the single display rule (profile
`display_name` first, else the vault label) — so every surface agrees. With the
dialog no longer reading it, drop the second source of truth: `SigningKey` keeps
only the public key, and `SignerConfig.names` plus its plumbing in the runner
and headless is gone.
2026-12-01 17:18:21 +04:00