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

feat: trigger qrsigning modal using approval controller (#6212) #6720

Conversation

sethkfman
Copy link
Contributor

@sethkfman sethkfman commented Jun 28, 2023

Development & PR Process

  1. Follow MetaMask Mobile Coding Standards
  2. Add release-xx label to identify the PR slated for a upcoming release (will be used in release discussion)
  3. Add needs-dev-review label when work is completed
  4. Add needs-qa label when dev review is completed
  5. Add QA Passed label when QA has signed off

Description

Cherry pick PR from main to fix HW QR scanner issue.

Screenshots/Recordings

If applicable, add screenshots and/or recordings to visualize the before and after of your change

Issue

Progresses #RC blocker

Checklist

  • There is a related GitHub issue
  • Tests are included if applicable
  • Any added code is fully documented

* feat: trigger qrsigning modal using approval controller

* fix: use approval request to control QR modal

* remove QRState usage

* use approval request to control QR modal for tx

* fix lint

* add early return on qr signing modal

---------

Co-authored-by: Vinicius Stevam <[email protected]>
Co-authored-by: Vinicius Stevam <[email protected]>
@sethkfman sethkfman added the needs-dev-review PR needs reviews from other engineers (in order to receive required approvals) label Jun 28, 2023
@sethkfman sethkfman requested a review from a team as a code owner June 28, 2023 22:08
@gauthierpetetin gauthierpetetin added in-progress ready-for-dev needs-dev-review PR needs reviews from other engineers (in order to receive required approvals) and removed needs-dev-review PR needs reviews from other engineers (in order to receive required approvals) in-progress ready-for-dev labels Jun 28, 2023
@github-actions
Copy link
Contributor

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.

@plasmacorral plasmacorral added needs-qa Any New Features that needs a full manual QA prior to being added to a release. and removed needs-dev-review PR needs reviews from other engineers (in order to receive required approvals) labels Jun 29, 2023
@sonarcloud
Copy link

sonarcloud bot commented Jun 29, 2023

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 3 Code Smells

25.2% 25.2% Coverage
0.0% 0.0% Duplication

@plasmacorral plasmacorral added QA in Progress QA has started on the feature. and removed needs-qa Any New Features that needs a full manual QA prior to being added to a release. labels Jun 29, 2023
@plasmacorral
Copy link
Contributor

Was unable to build iOS, but did confirm with a QA build using Samsung A515f running Android 11 that QR confirmations now appear.

Spot checked:
-p2p send
-deploy contract (animated QR)
-send token
-Approve token
-deploy ERC1155 (animated QR)
-batch mint
-set approval for all
-revoke approval

From the test dapp, all with no issues.

@plasmacorral plasmacorral added QA Passed A successful QA run through has been done and removed QA in Progress QA has started on the feature. labels Jun 29, 2023
@plasmacorral plasmacorral merged commit bf39bdb into release/7.2.0 Jun 29, 2023
@plasmacorral plasmacorral deleted the fix/cherry-pick-96473d39538b16ab7370d730279e5fc516fdf23f branch June 29, 2023 04:14
@github-actions github-actions bot locked and limited conversation to collaborators Jun 29, 2023
@plasmacorral plasmacorral added the release-7.2.0 Issue or pull request that will be included in release 7.2.0 label Jun 29, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
QA Passed A successful QA run through has been done release-7.2.0 Issue or pull request that will be included in release 7.2.0 team-mobile-platform
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants