Open parrot9design opened 2 months ago
@parrot9design
Add the chain breakdown for each collateral type
Still waiting for the backend
This applies to the whole app, but when you first visit a page, it takes a while for the fonts etc to load in. Is there anything we can do to speed this up?
I've added a font-display: swap
rule to the font face, that should specifically force loading the font as soon as the rule is read.
Usually this is handled by preloading the font, but it's kind of loosing the sense in our bundler, because the bundler hashes the asset names. Meaning the resulting font name has a gibberish in the end - font-name-D34Hhhd77.woff
for example. So we would have to import the files dynamically using javascript, then create the preloading tags using the dynamic names and then append the tags to the document. Doesn't sound like performance optimisation 😅
The css rule should help, if not and the font change issue is still annoying, I can look into the option above in more detail.
EDIT: Looks like the hashing is configurable, so I can look into it if the swap rule doesn't help.
[ ] Add the chain breakdown for each collateral type in the signed out &
All collateral
states:[x] Update the zero balance view in the Collateral section to prompt users to add the token to their wallet:
Transfer fee
instead ofCross-chain fee
:Keep sICX
the default and changerecieve
toreceive
:... sign in with {chain}.
->...sign in on {chain}.
0 bnUSD
after you sign the transactionTransfer rollbacked
toTransaction reverted