Page MenuHomePhabricator

[Cashtab] Make sure whitelisted agora tokens load cache first
ClosedPublic

Authored by bytesofman on Feb 25 2025, 13:47.

Details

Summary

If a user loads the agora page for the first time, they will load the cache info for all listed tokens in the background. The problem is, the whitelisted tokens do not load first, so it may take a loooong time for these to render even though there are only 2.

We want new users to have a fast UX. So, we load the cache info for these first.

Test Plan

npm test, npm start and open Cashtab in an incognito window, create a new wallet, navigate to Agora, notice the whitelisted orderbooks load in a few seconds (vs before a few minutes)

Diff Detail

Repository
rABC Bitcoin ABC
Branch
patch-token-cache
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 32480
Build 64448: Build Diffcashtab-tests
Build 64447: arc lint + arc unit