Skip to content

chore(did-hosting-ui): drop the walletProfile capability probe - #178

Merged
stormer78 merged 1 commit into
mainfrom
chore/drop-wallet-profile-probe
Aug 30, 2026
Merged

chore(did-hosting-ui): drop the walletProfile capability probe#178
stormer78 merged 1 commit into
mainfrom
chore/drop-wallet-profile-probe

Conversation

@stormer78

Copy link
Copy Markdown
Contributor

Follow-up to #177. isWalletProfileAvailable() existed so that PR could merge before the wallet method it depends on did — the "land in either order" property. OpenVTC/vta-browser-plugin#145 has now shipped, so the second probe describes a wallet build that does not exist: every extension that exposes proxyLogin exposes walletProfile too.

Folded into isWalletProxyAvailable(), which now checks the three methods this screen actually calls.

What goes

  • The proxy button was hidden unless profileAvailable — an arm for a wallet nobody has.
  • The secondary button changed its label to stand in as the primary route on an older wallet — same.
  • resolveProxyEntry's "This VTI Wallet build cannot choose an identity for a site. Update the extension…" message, which can no longer be reached.

What stays

Presence detection, which is not the same thing — the extension may simply not be installed, and that is why the buttons are gated at all. The probe now just asks for everything the screen uses instead of splitting into two questions with one possible answer.

"Login as a different identity…" and the entry picker behind it. That is a real capability for an operator holding more than one persona at this RP, not a compatibility arm, and it stays behind an explicit click because reaching it discloses the vault to this page.

Nothing about the flow changes: resolveProxyEntryloginWithWalletProxy is untouched, and the flow visualization with it.

Checks

  • npm run typecheck clean
  • npm test — 36 tests, 4 files, 0 failures
  • No references to isWalletProfileAvailable / profileAvailable remain
  • No control-plane change

`isWalletProfileAvailable()` existed so #177 could merge before the
wallet method it depends on did. That has now shipped
(OpenVTC/vta-browser-plugin#145), so the second probe describes a wallet
build that does not exist: every extension that exposes `proxyLogin`
exposes `walletProfile` too. Folded into `isWalletProxyAvailable()`,
which now checks the three methods this screen actually calls.

The proxy button is no longer conditionally hidden, and the secondary
button no longer changes its label to stand in as the primary route —
both were arms for a wallet nobody has.

Presence detection stays and is not the same thing: the extension may
simply not be installed, which is why the buttons are gated at all.

Nothing about the flow changes. `resolveProxyEntry` →
`loginWithWalletProxy` is untouched, the flow visualization with it, and
"Login as a different identity…" keeps the entry picker for an operator
holding more than one persona here.

Signed-off-by: Glenn Gore <glenn.g@affinidi.com>
@stormer78
stormer78 merged commit 4a6f19a into main Aug 30, 2026
21 checks passed
@stormer78
stormer78 deleted the chore/drop-wallet-profile-probe branch August 30, 2026 21:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant