diff options
| author | Adam Soltys <[email protected]> | 2026-10-31 16:53:13 -0700 |
|---|---|---|
| committer | Adam Soltys <[email protected]> | 2026-10-31 16:53:13 -0700 |
| commit | 0fbad83ed278c2cdf0c03547f60004ff37bcc262 (patch) | |
| tree | 9434a58bf71620a37c4a237d1271081b2da10283 /src/feed-cache.js | |
| parent | 8fdc99dbb6d4aa720b5c36e2a565b0a76fa81fdc (diff) | |
| download | coinosv3-0fbad83ed278c2cdf0c03547f60004ff37bcc262.tar.gz coinosv3-0fbad83ed278c2cdf0c03547f60004ff37bcc262.zip | |
The feed opened by URL paints as the restoring wallet's from its first frame: the Post button, the feed chips and the nav come with the page, not a beat after it. /feed is a public page, so it painted as a visitor's (no button, chips or nav) the moment the app ran, and the wallet's restore — synchronous work: the vault's scrypt on a cold start, the wallet's state, every feature's init, ~0.5 s on a laptop and more on a phone — re-painted it with the button only once it had run ("the post button takes a while to appear", Adam, 2026-10-31). Boot now tells before that work whether a wallet is about to open (a session list in the tab, a vault the last seal or unlock opened without a password — noted, since the vault alone can't say short of the scrypt being avoided — or watch-only accounts) and the feed, the nav and the chips paint for it; taps still go by the wallet actually being open, which it is by the time one lands. The wide-screen wallet column waits for the numbers. A visitor with no wallet on the device gets the visitor's page as before. tools/feed-boot-chrome-test.js boots the built app at /feed behind a session, a noted vault, an unnoted vault (the old order, and the unlock leaves the note) and as a visitorHEADmaster
Co-Authored-By: Claude Fable 5.1 <[email protected]>
Claude-Session: https://claude.ai/code/session_01VMan6TFgisGKUDhdStLUvs
Diffstat (limited to 'src/feed-cache.js')
0 files changed, 0 insertions, 0 deletions
