feat(web): prioritize walletconnect on mobile - #20
Conversation
|
@NeduTheDev1 Great news! 🎉 Based on an automated assessment of this PR, the linked Wave issue(s) no longer count against your application limits. You can now already apply to more issues while waiting for a review of this PR. Keep up the great work! 🚀 |
|
Thanks — this is close, and the shape is right: a pure helper with its own tests,
So the gates are green. What blocks the merge is that the tested helper isn't the thing that decides behaviour in production. Blocking1.
|
…against real config Review follow-ups on #20 (issue #9): - walletDevice.ts owns a desktopOnlyWalletIds set built from the kit's own ID constants; classifyWalletForDevice/sortWalletsForDevice consume it, and walletKit.ts now builds its module list THROUGH sortWalletsForDevice - the tested helper is the code path production runs, not a parallel one. - walletDevice.test.ts asserts against the real set and the kit's real IDs; no hand-built literals that can drift from walletKit. - Albedo stays available on mobile (web-based, not an extension). - With no WalletConnect project id the mobile list still offers Albedo - never an empty modal. - The mobile pairing hint goes through the app's toast system from WalletChip (skipped on the landing nav, which renders outside ToastProvider), replacing the hand-built DOM banner. - showsExtensionWallets moved out of funnel.ts - walletDevice's classification replaces it on the only path that used it. - vitest: the kit resolves through vite's pipeline (deps.inline) with a stub for CJS @stellar/freighter-api, whose named exports break node-ESM interop. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
…, extension wallets hidden Closes #9
|
Merged to
Gates on the merged result: |
Closes #9