Open DeeList opened 1 month ago
Additional context https://github.com/leather-wallet/extension/issues/5004
Another screenshot several hours later. STX USD value remained the same.
Is the user seeing connection issues in the console?
if those 451's are causing this it is odd they are seeing a dollar quote at all? that is a localization restriction.
We should show a loading error and/or no price quote when the required endpoint can't be reached for a price update.
This seems like an edge case in which 451s are encountered but only after the user is able to load balance-related data successfully? I would indeed expect the balance to simply error out if we aren't able to refresh the data.
@fabric-8 do we have design guidance for the error state of balances? I can't recall personally if we've produced that yet.
@markmhendrickson We did capture this case in the past, but didn't fully conclude and wrapped up temporarily with the newly added loading states.
Since this is affecting USD values specifically, how about we:
I like it! Though it may be more generic and accurate to say Value may be inaccurate due to issue with loading new data
for whenever we need to use this pattern for any data across the UI that fails to refresh?
Also, do we need a failure state for when the data can't be pulled for the first time i.e. when we don't have any previously cached value to show?
The displayed STX USD value isn't updating to current pricing.
It appears other token USD values aren't updating either. This could be expected with $ALEX and ALEX exchange tokens as pools were temporarily closed and token migrations are taking place.