Skip to content

fix: Improve redesigned staking deposit confirmation navigation #13743

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

Merged
merged 3 commits into from
Feb 28, 2025
Merged

Conversation

OGPoyraz
Copy link
Member

Description

This PR aims to improve staking deposit confirmation navigation.

  • Fixes to not prevent GasImpactModal flow if redesign enabled.
  • Fixes to navigate redesigned staking deposit confirmation in GasImpactModal
  • Fixes to navigate Transactions view on confirm of redesigned staking deposit confirmation.
  • Adds tooltip to GasFeeDetails
  • Fixes to remove approval when going back from redesigned staking deposit confirmation in navigation bar.

Also adds detailed test given cases above.

Related issues

Fixes:

Manual testing steps

Redesigned staking deposit flow works as expected.

Screenshots/Recordings

Before

After

Smart transactions enabled: (Note that styling might be broken in STX modal - it's not related with this PR)

StakingDeposit.with.STX.mp4

Without smart transactions:

Staking.Deposit.without.STX.mp4

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.

@metamaskbot metamaskbot added the team-confirmations Push issues to confirmations team label Feb 27, 2025
@OGPoyraz OGPoyraz added the Run Smoke E2E Requires smoke E2E testing label Feb 27, 2025
@OGPoyraz OGPoyraz marked this pull request as ready for review February 27, 2025 08:18
@OGPoyraz OGPoyraz requested review from a team as code owners February 27, 2025 08:18
Copy link
Contributor

github-actions bot commented Feb 27, 2025

https://bitrise.io/ Bitrise

✅✅✅ pr_smoke_e2e_pipeline passed on Bitrise! ✅✅✅

Commit hash: 1e086ac
Build link: https://app.bitrise.io/app/be69d4368ee7e86d/pipelines/75431533-c5bc-44c1-99d6-2b60357c6dbe

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

jpuri
jpuri previously approved these changes Feb 27, 2025
Copy link
Contributor

@jpuri jpuri left a comment

Choose a reason for hiding this comment

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

Changes look good, I left some small feedbacks.

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.

Reviewing earn-related changed. Overall this looks good! I just have a minor change request before approving.

Copy link

@OGPoyraz OGPoyraz added Run Smoke E2E Requires smoke E2E testing and removed Run Smoke E2E Requires smoke E2E testing labels Feb 28, 2025
Copy link
Contributor

github-actions bot commented Feb 28, 2025

https://bitrise.io/ Bitrise

❌❌❌ pr_smoke_e2e_pipeline failed on Bitrise! ❌❌❌

Commit hash: ed0c8e9
Build link: https://app.bitrise.io/app/be69d4368ee7e86d/pipelines/9e93d717-d4c5-4047-877d-79886ff71df4

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

@OGPoyraz OGPoyraz added Run Smoke E2E Requires smoke E2E testing and removed Run Smoke E2E Requires smoke E2E testing labels Feb 28, 2025
@github-project-automation github-project-automation bot moved this from Needs dev review to Review finalised - Ready to be merged in PR review queue Feb 28, 2025
@OGPoyraz OGPoyraz added this pull request to the merge queue Feb 28, 2025
Merged via the queue into main with commit d912c8e Feb 28, 2025
58 of 59 checks passed
@OGPoyraz OGPoyraz deleted the ogp/4285 branch February 28, 2025 14:49
@github-project-automation github-project-automation bot moved this from Review finalised - Ready to be merged to Merged, Closed or Archived in PR review queue Feb 28, 2025
@github-actions github-actions bot locked and limited conversation to collaborators Feb 28, 2025
@metamaskbot metamaskbot added the release-7.43.0 Issue or pull request that will be included in release 7.43.0 label Feb 28, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
release-7.43.0 Issue or pull request that will be included in release 7.43.0 Run Smoke E2E Requires smoke E2E testing team-confirmations Push issues to confirmations team
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

5 participants