Commit fab0f75
fix: restore TON + Tron USD on dashboard
Pioneer's /charts/portfolio silently omits TON and Tron rows when called without a queryKey. Our previous workaround used per-address /accountInfo calls that returned raw balance but no price — dashboard USD stuck at \$0.00 for both chains even when the vault's own UI showed correct values.
Append ?key=key:public-\${Date.now()} so the portfolio call returns TON and Tron with full priceUsd + valueUsd (same auth scheme /portfolio already used for Solana). Keep /accountInfo as a targeted patch for partial-response edge cases — priceless row beats missing row. Also dedupe + stale-state-aware retry on chrome.action.setIcon to fix cold-start icon flicker.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>1 parent 98b318b commit fab0f75
4 files changed
Lines changed: 158 additions & 221 deletions
File tree
- chrome-extension
- public
- src
- background
- injected
- pages/content/src
0 commit comments