-
Notifications
You must be signed in to change notification settings - Fork 1.6k
chore: remove connect success event from UI #5313
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
Conversation
|
|
The latest updates on your projects. Learn more about Vercel for GitHub.
10 Skipped Deployments
|
Visual Regression Test Results ✅ Passed✨ No visual changes detected Chromatic Build: https://www.chromatic.com/build?appId=6493191bf4b10fed8ca7353f&number=298 |
📦 Bundle Size Check✅ All bundles are within size limits 📊 View detailed bundle sizes> @reown/[email protected] size /home/runner/work/appkit/appkit > size-limit |
|
@enesozturk Why don't we use |
Description
Removes EventController calls from UI to AppKit class. Previous approach is problematic that the event trigers are tied to UI. For cases like Headless, we cannot trigger CONNECT_SUCCESS if we don't use modal.
Updating the logics as the
CONNECT_SUCCESSevent will be fired on theconnectExternalmethod which will have the same trigger logics work as is; Auth connections, WC connections, and extension connections.Type of change
Associated Issues
For Linear issues: Closes APKT-xxx
For GH issues: closes #...
Showcase (Optional)
If there is a UI change include the screenshots with before and after state.
If new feature is being introduced, include the link to demo recording.
Checklist
Note
Moves CONNECT_SUCCESS event emission from UI to controllers, enriches connectors with explorer wallet metadata (walletRank), and updates logic/tests accordingly.
connectExternalnow emitsCONNECT_SUCCESS(method:emailforAUTH, elsebrowser) includingwalletRankfromconnector.explorerWallet.order;finalizeWcConnectionusesqrcodewhen no deeplink and skips event when no address.syncAdapterConnectionreconnect flow now includeswalletRankinCONNECT_SUCCESSevent.prefetchWalletRankscallsConnectorController.extendConnectorsWithExplorerWalletsto attach explorer metadata to connectors.extendConnectorsWithExplorerWallets(match byid/rdns) and re-merges enabled connectors.CONNECT_SUCCESSevent dispatches fromw3m-connecting-wc-browser,w3m-connecting-external-view, andw3m-email-verify-otp-view; fix typo "ChainController".w3m-connector-liststops local mapping to explorer wallets; relies on controller-provided data.walletRank, unknown connector), WalletConnect QR vs mobile methods, no-address case, and explorer wallet enrichment mapping; minor refactors/cleanup.Written by Cursor Bugbot for commit 130589f. This will update automatically on new commits. Configure here.