Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug] Balance text not visible when signing with Ledger (legacy) account #11522

Closed
vivek-consensys opened this issue Oct 1, 2024 · 1 comment · Fixed by #11550
Closed

[Bug] Balance text not visible when signing with Ledger (legacy) account #11522

vivek-consensys opened this issue Oct 1, 2024 · 1 comment · Fixed by #11550
Assignees
Labels
INVALID-ISSUE-TEMPLATE Issue's body doesn't match any issue template. QA Passed A successful QA run through has been done release-7.34.0 team-hardware-wallets type-bug Something isn't working

Comments

@vivek-consensys
Copy link
Contributor

OS: iPhone 13
Version: TestFlight v7.32.0 (1439)

  1. Install MM
  2. Recover from SRP
  3. Add Ledger hardware wallet and connect Ledger 2x account
  4. Launch MM test dapp
  5. Connect Ledger legacy account on test dapp
  6. Sign Permit with account

Expected: All test within alignment and visible
Actual:
image.png

@github-project-automation github-project-automation bot moved this to To be fixed in Bugs by severity Oct 1, 2024
@github-project-automation github-project-automation bot moved this to To be fixed in Bugs by team Oct 1, 2024
@metamaskbot metamaskbot added the INVALID-ISSUE-TEMPLATE Issue's body doesn't match any issue template. label Oct 1, 2024
@vivek-consensys vivek-consensys added the QA in Progress QA has started on the feature. label Oct 2, 2024
@vivek-consensys vivek-consensys added QA Passed A successful QA run through has been done and removed QA in Progress QA has started on the feature. labels Oct 3, 2024
@vivek-consensys
Copy link
Contributor Author

Tested on iOS and Android, balance text visible using Bitrise build

https://app.bitrise.io/app/be69d4368ee7e86d/pipelines/cf8a879f-3763-4f7c-9291-ff84576d0c39

Private Zenhub Video

github-merge-queue bot pushed a commit that referenced this issue Oct 16, 2024
… push balance information outside the border of screen. (#11550)

<!--
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.
-->

## **Description**
When import a ledger legacy account in Metamask, and user go to click
`Personal Sign` . sometimes the balance is out of border of the personal
sign screen, please see the attached screen image for detail.

This PR fix the layout issue to put the account label below the account
name so that in smaller screen, account balance will not be put out of
box.

<!--
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?
-->

## **Related issues**

Fixes: #11522 

## **Manual testing steps**

1. Install MM
2. Recover from SRP
3. Add Ledger hardware wallet and connect Ledger 2x account
4. Launch MM test dapp
5. Connect Ledger legacy account on test dapp
6. Sign Permit with account

## **Screenshots/Recordings**

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

### **Before**

![image](https://github.com/user-attachments/assets/1c4173e4-52ad-4304-8306-a0f54bf42ad4)

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

### **After**

![image](https://github.com/user-attachments/assets/84f41566-74ee-4026-83bc-c80f028c7cb8)


![image](https://github.com/user-attachments/assets/117defc2-a45d-4b8c-9110-c0a2007719d8)


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

## **Pre-merge author checklist**

- [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
- [x] 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.

## **Pre-merge reviewer checklist**

- [x] I've manually tested the PR (e.g. pull and build branch, run the
app, test code being changed).
- [x] 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-project-automation github-project-automation bot moved this from To be fixed to Fixed in Bugs by severity Oct 16, 2024
@github-project-automation github-project-automation bot moved this from To be fixed to Fixed in Bugs by team Oct 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
INVALID-ISSUE-TEMPLATE Issue's body doesn't match any issue template. QA Passed A successful QA run through has been done release-7.34.0 team-hardware-wallets type-bug Something isn't working
Projects
Archived in project
3 participants