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: Implement redesigned staking confirmation entry point #13361

Merged
merged 31 commits into from
Feb 7, 2025
Merged

Conversation

OGPoyraz
Copy link
Member

@OGPoyraz OGPoyraz commented Feb 5, 2025

Description

This PR implements entry point for staking deposit confirmation.

Related issues

Fixes: https://github.com/MetaMask/MetaMask-planning/issues/4078

Manual testing steps

N/A

Screenshots/Recordings

Simulator.Screen.Recording.-.iPhone.15.Pro.-.2025-02-06.at.13.00.38.mp4

Before

After

Pre-merge author checklist

Pre-merge reviewer checklist

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

@OGPoyraz OGPoyraz added No QA Needed Apply this label when your PR does not need any QA effort. No E2E Smoke Needed If the PR does not need E2E smoke test run labels Feb 5, 2025
@OGPoyraz OGPoyraz requested review from a team as code owners February 5, 2025 15:02
@metamaskbot metamaskbot added the team-confirmations Push issues to confirmations team label Feb 5, 2025
@OGPoyraz OGPoyraz mentioned this pull request Feb 5, 2025
7 tasks
github-merge-queue bot pushed a commit that referenced this pull request Feb 5, 2025
<!--
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**

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

This PR fix the unwanted change made in
#13361

## **Related issues**

Fixes e2e redesigned confirmation tests

## **Manual testing steps**

N/A

## **Screenshots/Recordings**

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

### **Before**

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

### **After**

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

## **Pre-merge author checklist**

- [ ] 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).
- [ ] I've completed the PR template to the best of my ability
- [ ] I’ve included tests if applicable
- [ ] I’ve documented my code using [JSDoc](https://jsdoc.app/) format
if applicable
- [ ] 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**

- [ ] 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.
@OGPoyraz OGPoyraz requested review from a team as code owners February 6, 2025 12:06
@OGPoyraz OGPoyraz added the Run Smoke E2E Triggers smoke e2e on Bitrise label Feb 7, 2025
Copy link
Contributor

github-actions bot commented Feb 7, 2025

https://bitrise.io/ Bitrise

✅✅✅ pr_smoke_e2e_pipeline passed on Bitrise! ✅✅✅

Commit hash: f6f8e71
Build link: https://app.bitrise.io/app/be69d4368ee7e86d/pipelines/62d51bef-7047-40bf-b2d9-a2c355c7fffd

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

@OGPoyraz OGPoyraz added Run Smoke E2E Triggers smoke e2e on Bitrise and removed Run Smoke E2E Triggers smoke e2e on Bitrise labels Feb 7, 2025
@OGPoyraz OGPoyraz added Run Smoke E2E Triggers smoke e2e on Bitrise and removed Run Smoke E2E Triggers smoke e2e on Bitrise labels Feb 7, 2025
amitabh94
amitabh94 previously approved these changes Feb 7, 2025
@codecov-commenter
Copy link

Codecov Report

Attention: Patch coverage is 80.00000% with 12 lines in your changes missing coverage. Please review.

Project coverage is 61.82%. Comparing base (1937f9a) to head (afec503).
Report is 8 commits behind head on main.

Files with missing lines Patch % Lines
app/selectors/featureFlagController/index.ts 66.66% 2 Missing and 2 partials ⚠️
...s/UI/Stake/Views/StakeInputView/StakeInputView.tsx 62.50% 2 Missing and 1 partial ⚠️
...ews/confirmations/components/Confirm/Info/Info.tsx 62.50% 1 Missing and 2 partials ⚠️
...firmations/hooks/useConfirmationRedesignEnabled.ts 86.66% 1 Missing and 1 partial ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main   #13361      +/-   ##
==========================================
+ Coverage   61.58%   61.82%   +0.24%     
==========================================
  Files        1953     1969      +16     
  Lines       43442    43796     +354     
  Branches     5835     5913      +78     
==========================================
+ Hits        26753    27077     +324     
- Misses      14905    14919      +14     
- Partials     1784     1800      +16     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Copy link
Contributor

@Matt561 Matt561 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Reviewed staking-related change 👍

@OGPoyraz OGPoyraz removed the request for review from amitabh94 February 7, 2025 16:44
@OGPoyraz
Copy link
Member Author

OGPoyraz commented Feb 7, 2025

@amitabh94 just removed you from reviewers because I got approval from Matthew, fyi

@OGPoyraz OGPoyraz added this pull request to the merge queue Feb 7, 2025
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Feb 7, 2025
@OGPoyraz OGPoyraz added this pull request to the merge queue Feb 7, 2025
Merged via the queue into main with commit bb4de90 Feb 7, 2025
39 checks passed
@OGPoyraz OGPoyraz deleted the ogp/4078 branch February 7, 2025 21:38
@github-actions github-actions bot locked and limited conversation to collaborators Feb 7, 2025
@metamaskbot metamaskbot added the release-7.41.0 Issue or pull request that will be included in release 7.41.0 label Feb 7, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
release-7.41.0 Issue or pull request that will be included in release 7.41.0 Run Smoke E2E Triggers smoke e2e on Bitrise team-confirmations Push issues to confirmations team
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

9 participants