From 3a0f02b7624d72e73a4f92b635f5335ffd29f972 Mon Sep 17 00:00:00 2001 From: Adam Soltys Date: Thu, 27 Aug 2026 23:11:01 -0700 Subject: The face arrives with the key: sign-in warms the identity's profile and preloads the avatar bytes in parallel with the seed work, so the home screen's first paint already wears the picture instead of a blank circle Co-Authored-By: Claude Fable 5 Claude-Session: https://claude.ai/code/session_019eA8JRq9Wr7z2fRQk99HLi --- src/features/nostrlogin.js | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/features/nostrlogin.js') diff --git a/src/features/nostrlogin.js b/src/features/nostrlogin.js index a084dd1..687a389 100644 --- a/src/features/nostrlogin.js +++ b/src/features/nostrlogin.js @@ -85,6 +85,9 @@ export function nostrLoginFeature(ctx) { let signer; try { signer = await makeSigner(); + // warm the identity's profile + avatar in parallel with the seed work, + // so the home screen's first paint already has the picture + ctx.hook('warmProfile', signer.pubkey); const res = await walletForSigner(signer); if (res.mode === 'new') { // No wallet on this identity yet — make one and walk straight in. -- cgit v1.2.3