aboutsummaryrefslogtreecommitdiffstats
path: root/src/features/names.js
diff options
context:
space:
mode:
authorAdam Soltys <[email protected]>2026-08-27 23:37:52 -0700
committerAdam Soltys <[email protected]>2026-08-27 23:37:52 -0700
commit92dd80a816c3efdabfd9aaabb3461d9078b39b5e (patch)
treed3cccb14220ed7c22b2e2c16cd03554f763013b3 /src/features/names.js
parent05df998c0e72d4579620ee9e7fd990c99905ab14 (diff)
downloadcoinosv3-92dd80a816c3efdabfd9aaabb3461d9078b39b5e.tar.gz
coinosv3-92dd80a816c3efdabfd9aaabb3461d9078b39b5e.zip
The wallet arrives without ceremony: sign-in swaps screens instantly (a one-shot no-anim flag on the handover), and the spending-setup ask holds its tongue until the name restore has settled instead of flashing while the answer is seconds away
Co-Authored-By: Claude Fable 5 <[email protected]> Claude-Session: https://claude.ai/code/session_019eA8JRq9Wr7z2fRQk99HLi
Diffstat (limited to 'src/features/names.js')
-rw-r--r--src/features/names.js3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/features/names.js b/src/features/names.js
index 7096955..235b834 100644
--- a/src/features/names.js
+++ b/src/features/names.js
@@ -650,6 +650,9 @@ export function namesFeature(ctx) {
namesAdoptIdentity(signer, npub) { return adoptIdentity(signer, npub); },
// the claimed payment address, for anyone prefilling a lightning address
namesAddress() { const st = load(); return st.name ? `${st.name}@${st.domain || DOMAIN()}` : null; },
+ // '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'; },
// 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)