Skip to content

fix: mobile popup blocking and improve fund wallet ux#4880

Merged
0xmkh merged 5 commits intomainfrom
fix/fund-wallet-bugs
Aug 20, 2025
Merged

fix: mobile popup blocking and improve fund wallet ux#4880
0xmkh merged 5 commits intomainfrom
fix/fund-wallet-bugs

Conversation

@0xmkh
Copy link
Copy Markdown
Collaborator

@0xmkh 0xmkh commented Aug 20, 2025

Description

Fixed an issue where fund wallet popup was blocked on mobile, updated balance realtime and improved ux

Type of change

  • Chore (non-breaking change that addresses non-functional tasks, maintenance, or code quality improvements)
  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)

Associated Issues

For Linear issues: Closes APKT-3610,APKT-3613,APKT-3607,APKIT-3611

Checklist

  • Code in this PR is covered by automated tests (Unit tests, E2E tests)
  • My changes generate no new warnings
  • I have reviewed my own code
  • I have filled out all required sections
  • I have tested my changes on the preview link
  • Approver of this PR confirms that the changes are tested on the preview link

Copilot AI review requested due to automatic review settings August 20, 2025 10:41
@linear
Copy link
Copy Markdown

linear bot commented Aug 20, 2025

@changeset-bot
Copy link
Copy Markdown

changeset-bot bot commented Aug 20, 2025

⚠️ No Changeset found

Latest commit: 2b021ad

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@vercel
Copy link
Copy Markdown

vercel bot commented Aug 20, 2025

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Preview Comments Updated (UTC)
appkit-basic-html Ready Ready Preview Comment Aug 20, 2025 11:31am
appkit-gallery Ready Ready Preview Comment Aug 20, 2025 11:31am
appkit-laboratory Ready Ready Preview Comment Aug 20, 2025 11:31am
11 Skipped Deployments
Project Deployment Preview Comments Updated (UTC)
appkit-basic-example Ignored Ignored Aug 20, 2025 11:31am
appkit-basic-sign-client-example Ignored Ignored Aug 20, 2025 11:31am
appkit-basic-up-example Ignored Ignored Aug 20, 2025 11:31am
appkit-ethers5-bera Ignored Ignored Aug 20, 2025 11:31am
appkit-nansen-demo Ignored Ignored Aug 20, 2025 11:31am
appkit-vue-solana Ignored Ignored Aug 20, 2025 11:31am
appkit-wagmi-cdn-example Ignored Ignored Aug 20, 2025 11:31am
ethereum-provider-wagmi-example Ignored Ignored Aug 20, 2025 11:31am
next-wagmi-solana-bitcoin-example Ignored Ignored Aug 20, 2025 11:31am
vue-wagmi-example Ignored Ignored Aug 20, 2025 11:31am
appkit-demo Skipped Skipped Aug 20, 2025 11:31am

@0xmkh 0xmkh changed the title fix: resolve mobile popup blocking and improve fund wallet ux fix: mobile popup blocking and improve fund wallet ux Aug 20, 2025
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR fixes mobile popup blocking issues and improves the fund wallet user experience by updating the popup creation mechanism and adding real-time balance updates.

  • Replaced CoreHelperUtil.openHref with CoreHelperUtil.returnOpenHref to avoid mobile popup blocking
  • Added automatic balance updates after successful deposits
  • Updated API URL construction to include SDK metadata in query parameters

Reviewed Changes

Copilot reviewed 7 out of 7 changed files in this pull request and generated 2 comments.

Show a summary per file
File Description
packages/scaffold-ui/src/views/w3m-deposit-from-exchange-view/index.ts Added balance update after successful deposit completion
packages/controllers/src/controllers/ExchangeController.ts Updated popup creation to use returnOpenHref method to avoid blocking
packages/controllers/src/controllers/ConnectionController.ts Added updateBalance method to trigger balance refresh
packages/controllers/src/utils/ExchangeUtil.ts Refactored URL construction to use URL API and moved SDK parameters to query string
packages/controllers/tests/utils/ExchangeUtil.test.ts Updated tests to include SDK metadata in URL expectations
packages/controllers/tests/controllers/ExchangeController.test.ts Updated test to use new popup creation mechanism
.changeset/violet-rivers-pump.md Added changeset documentation for the fix

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

cursor[bot]

This comment was marked as outdated.

@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Aug 20, 2025

Coverage Report

Status Category Percentage Covered / Total
🔵 Lines 78.19% 34400 / 43993
🔵 Statements 78.19% 34400 / 43993
🔵 Functions 76.11% 3801 / 4994
🔵 Branches 86.74% 8142 / 9386
File Coverage
File Stmts Branches Functions Lines Uncovered Lines
Changed Files
packages/controllers/src/controllers/ConnectionController.ts 83.45% 81.18% 52.8% 83.45% 166, 224-228, 231-235, 264-268, 276-277, 284-303, 310, 318, 322, 326, 330, 334, 338, 342, 346, 350, 381-382, 385-386, 422, 426, 460-462, 473-474, 509-510, 520-521, 523-524, 532-533, 535-536, 555-556, 395
packages/controllers/src/controllers/ExchangeController.ts 86.5% 93.33% 73.07% 86.5% 97, 101, 114-115, 145, 231-239, 272, 327-346, 337
packages/controllers/src/utils/ExchangeUtil.ts 100% 95% 100% 100%
packages/scaffold-ui/src/views/w3m-deposit-from-exchange-view/index.ts 73.01% 77.27% 80% 73.01% 61-63, 66-67, 73-75, 183-210
Generated in workflow #14428 for commit 2b021ad by the Vitest Coverage Report Action

@vercel vercel bot temporarily deployed to Preview – appkit-demo August 20, 2025 10:50 Inactive
@0xmkh 0xmkh added this pull request to the merge queue Aug 20, 2025
Merged via the queue into main with commit 9bfcf86 Aug 20, 2025
58 of 60 checks passed
@0xmkh 0xmkh deleted the fix/fund-wallet-bugs branch August 20, 2025 13:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants