feat: optimize wallet connection flow and add network switching#153
Merged
Smartdevs17 merged 28 commits intoSmartdevs17:mainfrom Mar 29, 2026
Merged
feat: optimize wallet connection flow and add network switching#153Smartdevs17 merged 28 commits intoSmartdevs17:mainfrom
Smartdevs17 merged 28 commits intoSmartdevs17:mainfrom
Conversation
|
@Ghadaffijr is attempting to deploy a commit to the smartdevs17's projects Team on Vercel. A member of the Team first needs to authorize it. |
|
@Ghadaffijr 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! 🚀 |
Owner
|
merge conflict |
adacbb5 to
f5152a7
Compare
9174271 to
ce44036
Compare
e0fe940 to
30a1dd2
Compare
72898a8 to
2c8cf31
Compare
b3cdbdf to
a27af29
Compare
e858f84 to
a27af29
Compare
9f4179a to
aaa6306
Compare
Added missing `QrCode` icon import from `lucide-react` to fix the `react/jsx-no-undef` ESLint error failing the CI pipeline. Cleaned up duplicated `useRouter` import from `next/navigation` created during conflict resolution.
Removed unused import for PageBreadcrumb component.
Added missing import for useRouter from next/navigation.
Removed TypeScript error suppression for action.id.
Contributor
Author
|
All merge conflicts have been resolved, unused imports/comments have been cleaned up, and the CI pipeline is completely green. This is ready for a final review and merge! |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR significantly improves the Web3 wallet connection UX by introducing graceful loading states, error handling, and native network switching, fulfilling all requirements for issue #27.
Closes #27
Key Changes
ssr: trueinwagmi.tsto support auto-reconnection on page refresh, and added the Sepolia chain for testing.WalletConnect.tsxto include inline loading spinners during connection attempts (isPending).useSwitchChainto allow users to toggle between available networks natively from the UI.maininHeader.tsx.How to Test
git checkout feat/wallet-uxnpm run devand navigate to the auth page.Connecting...state.