Skip to content

docs: say that the page lags behind the wallet on the way back, and to wait it out - #177

Merged
ehsan6sha merged 1 commit into
mainfrom
docs/wallet-return-wait
Sep 4, 2026
Merged

docs: say that the page lags behind the wallet on the way back, and to wait it out#177
ehsan6sha merged 1 commit into
mainfrom
docs/wallet-return-wait

Conversation

@ehsan6sha

Copy link
Copy Markdown
Member

Every wallet round-trip on a phone — signing the identity, adding a chain, switching to one — ends the same way: you approve in MetaMask, come back to the tab, and it still says Connecting Wallet…. Android suspends the browser's connection while it is in the background, so the page only sees your approval once that connection has been re-established.

Nothing in the docs said so. The natural reaction is to tap the button again or reload — and that cancels the request you just approved, sending you round the loop a second time.

What changed

  • FxBlox App Setup → Set your identity — an admonition explaining the wait and, explicitly, that tapping again or reloading undoes it. Also spells out that the two taps are deliberate: a browser may only switch to another app from a real tap, so the signature request cannot be sent for you.
  • Same page → Troubleshooting — a new entry for "still says Connecting Wallet… after you approved".
  • Same page → Already set up from the phone? — points at step 3 rather than repeating it.
  • Switch Chain Troubleshooting → Step 6 and its MetaMask section — the same note, for the chain-switch round-trip.
  • Mainnet Transition · Blox Connected — the note at sign-in, and an extra "wait a few more seconds there" at the Switch-to-Mainnet return step.

Also: the stuck-wallet advice now matches the app

The app's own hint used to lead with "close it from your recent apps"; as of functionland/fxblox-web#33 it leads with "tap Open wallet to approve again" and keeps the force-quit as the fallback, because the second tap now opens the wallet a different way. The docs still led with the force-quit — the heavier step, and the one that skips straight past the cheap fix. Both pages now follow the app.

Testing

npm run build passes. The config has onBrokenLinks: "throw", so the new #3-set-your-identity anchors are verified by the build. The Component Note was not imported warnings are pre-existing and come from other pages.

🤖 Generated with Claude Code

https://claude.ai/code/session_013BpqXrkEPA9odTyRdK5Mnx

…o wait it out

Every wallet round-trip on a phone -- signing the identity, adding a chain,
switching to one -- ends the same way: the user approves in MetaMask, comes back,
and the tab still says "Connecting Wallet...". Android suspends the browser's
connection while it is in the background, so the page only sees the approval once
that connection is re-established. Nothing here said so, and the natural reaction
is to tap again or reload -- which cancels the request they just approved and
sends them round the loop a second time.

So: an admonition at "Set your identity", one at the return step of both
chain-switch walkthroughs, and troubleshooting entries in both places. Each says
the same two things -- this is expected, and helping makes it worse.

Also brings the stuck-wallet advice in line with what the app now tells you.
The app leads with "tap Open wallet to approve again" and only falls back to the
force-quit; the docs led with the force-quit, which is the heavier step and skips
straight past the cheap one.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_013BpqXrkEPA9odTyRdK5Mnx
@ehsan6sha
ehsan6sha merged commit 7556d97 into main Sep 4, 2026
1 check passed
@ehsan6sha
ehsan6sha deleted the docs/wallet-return-wait branch September 4, 2026 14:25
ehsan6sha added a commit that referenced this pull request Sep 4, 2026
…178)

#177 reordered the stuck-wallet advice to lead with "tap Open wallet to approve
again", on the theory -- shipped alongside it in functionland/fxblox-web#33 --
that a second tap opened the wallet a different way and would usually get past
the splash screen.

Tested on a phone since: it does not. A warm MetaMask hangs on the retry exactly
as it hangs on the first attempt. Only closing MetaMask from recents and then
tapping clears it, which is what these pages said before #177 and what
functionland/fxblox-web#35 puts back in the app's own hint.

So the force-quit leads again, and each place now says plainly that tapping
without closing the wallet first returns you to the same stuck screen -- the
thing a user will otherwise try twice before giving up. Also says where the fault
is: inside the wallet app, where a web page cannot reach.

The "give the page a few seconds when you come back" guidance from #177 is
untouched -- that part was about our own reconnect and is still right.


Claude-Session: https://claude.ai/code/session_013BpqXrkEPA9odTyRdK5Mnx

Co-authored-by: Claude Opus 5 (1M context) <noreply@anthropic.com>
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