aboutsummaryrefslogtreecommitdiffstats
path: root/src/debug.js
diff options
context:
space:
mode:
authorAdam Soltys <[email protected]>2026-09-26 07:38:51 -0700
committerAdam Soltys <[email protected]>2026-09-26 07:38:51 -0700
commit1054c86e45c8ab8671dd46ec8e244daceaa70482 (patch)
tree7767521aee9908422f467c31d70c794b9093f10f /src/debug.js
parent9b49a11710dfb9ded1cf3297696c32ffc64bf7e8 (diff)
downloadcoinosv3-1054c86e45c8ab8671dd46ec8e244daceaa70482.tar.gz
coinosv3-1054c86e45c8ab8671dd46ec8e244daceaa70482.zip
Notifications: the faces the page will paint are warmed before it opens.
The list was already cached locally and refreshed from the chat home, but each row only asked for its author's profile when painted, so the page opened as quiet circles filling in one by one. Now the actors' names are fetched in one batch and each picture decoded into a thumbnail the moment the list is read from disk or grows — which the chat home does before the page is ever opened. Test: notif-faces (stub relay answers the kind-0 batch; the pictures are fetched and cached from the chat home; every row has its face on the first frame). Note for tests: serve /verify-worker.js from dist, or every relay answer waits four seconds for the inline fallback. Co-Authored-By: Claude Fable 5.1 <[email protected]>
Diffstat (limited to 'src/debug.js')
0 files changed, 0 insertions, 0 deletions