-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Conversation
app/components/Views/confirmations/hooks/useConfirmationRedesignEnabled.ts
Outdated
Show resolved
Hide resolved
app/components/Views/confirmations/hooks/useConfirmationRedesignEnabled.ts
Outdated
Show resolved
Hide resolved
app/components/Views/confirmations/hooks/useTransactionMetadata.ts
Outdated
Show resolved
Hide resolved
app/components/Views/confirmations/components/Confirm/Info/Info.tsx
Outdated
Show resolved
Hide resolved
app/components/Views/confirmations/hooks/useConfirmationRedesignEnabled.test.ts
Outdated
Show resolved
Hide resolved
<!-- 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.
Bitrise✅✅✅ Commit hash: f6f8e71 Note
|
Codecov ReportAttention: Patch coverage is
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. |
Quality Gate passedIssues Measures |
There was a problem hiding this 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 👍
@amitabh94 just removed you from reviewers because I got approval from Matthew, fyi |
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