Skip to content

chore: cherry-pick fix: add loader if account balance is not defined (#16011)#16165

Closed
salimtb wants to merge 2 commits into
release/7.47.0from
release/7.47.0-fc32dac63d
Closed

chore: cherry-pick fix: add loader if account balance is not defined (#16011)#16165
salimtb wants to merge 2 commits into
release/7.47.0from
release/7.47.0-fc32dac63d

Conversation

@salimtb
Copy link
Copy Markdown
Contributor

@salimtb salimtb commented Jun 6, 2025

cherry pick fix: cp-7.47.0 add loader if account balance is not defined #16011

salimtb added 2 commits June 6, 2025 12:55
<!--
Please submit this PR as a draft initially.
Do not mark it as "Ready for review" until the template has been
completely filled out, and PR status checks have passed at least once.
-->

This PR adds a loading indicator while the balance is being fetched,
instead of showing `undefined`.

<!--
Write a short description of the changes included in this pull request,
also include relevant motivation and context. Have in mind the following
questions:
1. What is the reason for the change?
2. What is the improvement/solution?
-->

Fixes: #15396

1. Go Account list
2. check the balance

**in order to reproduce , you can test on android and create a slow
device emulator, then add a new Solana account**

<!-- If applicable, add screenshots and/or recordings to visualize the
before and after of your change. -->

<!-- [screenshots/recordings] -->
<img width="590" alt="Screenshot 2025-06-03 at 10 52 41"
src="https://github.com/user-attachments/assets/614d2ce0-5232-4a10-8d18-40de9db8b253"
/>

<!-- [screenshots/recordings] -->

<img width="381" alt="Screenshot 2025-06-03 at 10 52 34"
src="https://github.com/user-attachments/assets/3069e841-12b5-4474-b218-7077baa0b3ba"
/>

- [x] I’ve followed [MetaMask Contributor
Docs](https://github.com/MetaMask/contributor-docs) and [MetaMask Mobile
Coding
Standards](https://github.com/MetaMask/metamask-mobile/blob/main/.github/guidelines/CODING_GUIDELINES.md).
- [x] I've completed the PR template to the best of my ability
- [x] I’ve included tests if applicable
- [ ] I’ve documented my code using [JSDoc](https://jsdoc.app/) format
if applicable
- [x] I’ve applied the right labels on the PR (see [labeling
guidelines](https://github.com/MetaMask/metamask-mobile/blob/main/.github/guidelines/LABELING_GUIDELINES.md)).
Not required for external contributors.

- [ ] I've manually tested the PR (e.g. pull and build branch, run the
app, test code being changed).
- [ ] I confirm that this PR addresses all acceptance criteria described
in the ticket it closes and includes the necessary testing evidence such
as recordings and or screenshots.
@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented Jun 6, 2025

CLA Signature Action: All authors have signed the CLA. You may need to manually re-run the blocking PR check if it doesn't pass in a few minutes.

@salimtb salimtb marked this pull request as ready for review June 6, 2025 11:50
@salimtb salimtb requested a review from a team as a code owner June 6, 2025 11:50
@metamaskbot metamaskbot added team-assets INVALID-PR-TEMPLATE PR's body doesn't match template labels Jun 6, 2025
@sonarqubecloud
Copy link
Copy Markdown

sonarqubecloud Bot commented Jun 6, 2025

@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented Jun 6, 2025

https://bitrise.io/ Bitrise

❌❌❌ pr_smoke_e2e_pipeline failed on Bitrise! ❌❌❌

Commit hash: 876cb5d
Build link: https://app.bitrise.io/app/be69d4368ee7e86d/pipelines/4f8ca2d4-d3af-40e5-9bdc-125871609094

Note

  • You can kick off another pr_smoke_e2e_pipeline on Bitrise by removing and re-applying the Run Smoke E2E label on the pull request

Tip

  • Check the documentation if you have any doubts on how to understand the failure on bitrise

@NicolasMassart NicolasMassart changed the title chore: cherry-pick fix: add loader if account balance is not defined chore: cherry-pick fix: add loader if account balance is not defined (#16011) Jun 6, 2025
@NicolasMassart NicolasMassart enabled auto-merge (squash) June 6, 2025 12:13
@NicolasMassart
Copy link
Copy Markdown
Contributor

Wrong branch name

auto-merge was automatically disabled June 6, 2025 12:25

Pull request was closed

@github-actions github-actions Bot locked and limited conversation to collaborators Jun 6, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

INVALID-PR-TEMPLATE PR's body doesn't match template team-assets

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants