Skip to content

[LWM] feat(mobile): add stablecoins section to portfolio#15616

Draft
deepyjr wants to merge 1 commit intodevelopfrom
feat/stablecoins-section-clean
Draft

[LWM] feat(mobile): add stablecoins section to portfolio#15616
deepyjr wants to merge 1 commit intodevelopfrom
feat/stablecoins-section-clean

Conversation

@deepyjr
Copy link
Contributor

@deepyjr deepyjr commented Mar 20, 2026

✅ Checklist

  • `npx changeset` was attached.
  • Covered by automatic tests.
  • Impact of the changes:
    • Portfolio screen: new stablecoins section rendering and asset display
    • Empty state and read-only mode of the portfolio
    • Navigation from stablecoin items to asset detail or market detail

📝 Description

The portfolio screen lacked a dedicated section for stablecoins, making it harder for users to track their stable assets at a glance.

This PR introduces a Stablecoins Section to the mobile Portfolio screen, mirroring the existing Cryptos section:

  • Displays up to 6 stablecoins owned by the user
  • When the user owns fewer than 2 stablecoins, the section is padded with popular defaults fetched from the DADA API (matching the desktop behaviour)
  • Supports empty state and read-only modes (showing default stablecoins only)
  • Tapping an asset navigates to the asset detail screen; tapping a placeholder navigates to its Market Detail page
  • A "Show all" header button appears when more than 6 stablecoins are owned
  • Analytics events (asset_clicked, button_clicked) are tracked on interactions

read only
https://github.com/user-attachments/assets/37972b96-afd5-4ae6-8387-568aed9a068e

no accounts
Simulator Screenshot - Test Ios - 2026-03-20 at 10 51 06

❓ Context


🧐 Checklist for the PR Reviewers

  • The code aligns with the requirements described in the linked JIRA or GitHub issue.
  • The PR description clearly documents the changes made and explains any technical trade-offs or design decisions.
  • There are no undocumented trade-offs, technical debt, or maintainability issues.
  • The PR has been tested thoroughly, and any potential edge cases have been considered and handled.
  • Any new dependencies have been justified and documented.
  • Performance considerations have been taken into account. (changes have been profiled or benchmarked if necessary)

@live-github-bot live-github-bot bot added mobile Has changes in LLM translations Translation files have been touched labels Mar 20, 2026
@live-github-bot live-github-bot bot changed the title feat(mobile): add stablecoins section to portfolio [LWM] feat(mobile): add stablecoins section to portfolio Mar 20, 2026
@github-actions
Copy link
Contributor

github-actions bot commented Mar 20, 2026

Web Tools Build Status

Build Status Deployment
Web Tools Build ⏭️ Skipped
Native Storybook Build ⏭️ Skipped
React Storybook Build ⏭️ Skipped

@sonarqubecloud
Copy link

Quality Gate Failed Quality Gate failed

Failed conditions
11.5% Duplication on New Code (required ≤ 3%)
4 New Code Smells (required ≤ 1)

See analysis details on SonarQube Cloud

Catch issues before they fail your Quality Gate with our IDE extension SonarQube for IDE

@deepyjr deepyjr force-pushed the feat/stablecoins-section-clean branch 2 times, most recently from 94c511e to f64dec4 Compare March 20, 2026 15:22
@deepyjr deepyjr force-pushed the feat/stablecoins-section-clean branch from f64dec4 to 64b0ff4 Compare March 20, 2026 15:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

mobile Has changes in LLM translations Translation files have been touched

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant