Skip to content

fix(wallet): preserve charts, improve TRON UX, and roll SDK#3462

Merged
CharlVS merged 17 commits intodevfrom
fix/profit-loss-chart-sdk-market
Mar 25, 2026
Merged

fix(wallet): preserve charts, improve TRON UX, and roll SDK#3462
CharlVS merged 17 commits intodevfrom
fix/profit-loss-chart-sdk-market

Conversation

@CharlVS
Copy link
Copy Markdown
Collaborator

@CharlVS CharlVS commented Mar 24, 2026

Summary

  • roll the sdk submodule to merged origin/dev commit ec8e714 for the TRON explorer URL fix
  • preserve existing non-empty portfolio growth and profit/loss caches when a refresh returns no transactions
  • improve withdraw/TRON UX with self-transfer validation, richer technical error details, a clearer failed state, and TRON fee breakdown copy/UI
  • include the current branch's other outstanding wallet/web updates that are still ahead of dev

Included branch history ahead of dev

  • fix(wallet): launch TRON explorer URLs correctly
  • fix(wallet): preserve charts, improve TRON UX, and roll SDK
  • earlier outstanding commits already on this branch covering chart stability, numeric parsing hardening, CEX-backed totals, and temporary WASM disablement

Validation

  • dart format on the modified Dart files
  • flutter analyze on the modified Dart files: no issues found
  • flutter analyze repo-wide: completes with the existing analyzer backlog in the repo/submodule tree (2091 issues), no new targeted-file issues surfaced

CharlVS added 10 commits March 23, 2026 16:41
Use restartable handling for period changes, skip stale periodic refresh
cycles when the selected range changes mid-flight, filter chart samples
to the visible window with a leading boundary point, and key the line
chart by selected period so Flutter rebuilds the series correctly.
- Extract computeWalletTotalUsd with docs on CEX vs SDK price sources
- CoinsBloc/CoinsRepo: defensive unmodifiable price maps, uppercase keys
- Coin details: watchBalance stream; balancePlaceholder for unknown values
- Export ThemeCustomDark/Light from app_theme to fix implementation_imports
- Add unit tests for computeWalletTotalUsd; add code review notes doc
Dartify may return int or double from JS; use num.toInt() for stable returns.
@chatgpt-codex-connector
Copy link
Copy Markdown

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.
To continue using code reviews, you can upgrade your account or add credits to your account and enable them for code reviews in your settings.

@github-actions
Copy link
Copy Markdown

github-actions bot commented Mar 24, 2026

Visit the preview URL for this PR (updated for commit b9eb4ad):

https://walletrc--pull-3462-merge-aalivb0n.web.app

(expires Wed, 01 Apr 2026 00:10:54 GMT)

🔥 via Firebase Hosting GitHub Action 🌎

Sign: f66a4ff03faa546f12f0ae5a841bd9eff2714dcc

CharlVS added 6 commits March 24, 2026 19:19
- WithdrawFormStepReverted: from confirm, go to fill and clear preview/previewError/transactionError\n- Coins without tx history: open explorer with showAddressSearch when multiple addresses
Add dedicated GRC20 enum variant and mappings instead of aliasing to
ERC20, and move TRX/TRC20 into the supported transaction-history list
so the wallet displays TRON transactions.
Update the sdk submodule pointer to the merged dev commit for TRON transaction history.
@CharlVS CharlVS merged commit b82ce43 into dev Mar 25, 2026
4 of 11 checks passed
@CharlVS CharlVS deleted the fix/profit-loss-chart-sdk-market branch March 25, 2026 00:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant