aboutsummaryrefslogtreecommitdiffstats
path: root/src/features/names.js
diff options
context:
space:
mode:
authorAdam Soltys <[email protected]>2026-08-30 21:30:00 -0700
committerAdam Soltys <[email protected]>2026-08-30 21:30:00 -0700
commit24a7ca81e58e4cc4b54d658fa5befc69f6a5498f (patch)
tree9f6417ea6ca581f0f457459b8285159ee30d1b90 /src/features/names.js
parentd8b0e275ad76d2950e3d3ffcafd3c6c3d0ea0e7a (diff)
downloadcoinosv3-24a7ca81e58e4cc4b54d658fa5befc69f6a5498f.tar.gz
coinosv3-24a7ca81e58e4cc4b54d658fa5befc69f6a5498f.zip
The migration round trip stops eating its own homework: the ?migrated= return is stashed synchronously at boot and claimed whenever the wallet actually opens (the old 1.5s one-shot silently dropped it), the wizard's 'I'm done, continue' state survives the trip to coinos.io as a persisted step, the legacy page shows the claim in progress instead of re-asking, and a finished claim advances the wizard by itself. Fresh-seed polish riding along: the spending-setup ask stops waiting out registrar round trips that only exist for restored wallets, and the header punk paints synchronously instead of after an async identity fetch
Co-Authored-By: Claude Fable 5 <[email protected]> Claude-Session: https://claude.ai/code/session_01MrkLsNScXe9b6BviUSdmMr
Diffstat (limited to 'src/features/names.js')
-rw-r--r--src/features/names.js4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/features/names.js b/src/features/names.js
index ac54079..f794790 100644
--- a/src/features/names.js
+++ b/src/features/names.js
@@ -771,6 +771,10 @@ export function namesFeature(ctx) {
// 'pending' while the restore/claim pass is still running — the wallet
// screen holds spending-setup prompts until the name question is settled.
namesSettled() { return checked ? 'yes' : 'pending'; },
+ // A seed minted seconds ago has nothing to restore anywhere: don't make
+ // the spending-setup ask wait out registrar round trips that only exist
+ // for wallets with a history. The background claim still runs.
+ identityGenerated() { checked = true; },
// the onboarding wizard renders the same claim form on its username step
namesClaimForm() { return claimForm(true); },
// claim a specific name (the migration flow, after coinos.io released it)