Merged
Conversation
…nt for improved select functionality
…styling and functionality
|
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
Contributor
There was a problem hiding this comment.
Pull Request Overview
This PR adds chain switching functionality to the application, enabling users to select and switch between different blockchain networks through a UI component. The implementation includes support for Arbitrum networks and the iExec Sidechain (Bellecour).
- Refactored Wagmi configuration to support multiple networks with dynamic transports
- Added chain selection UI component with dropdown interface
- Implemented user store for managing chain state and switching logic
Reviewed Changes
Copilot reviewed 25 out of 27 changed files in this pull request and generated 4 comments.
Show a summary per file
| File | Description |
|---|---|
| src/utils/wagmiNetworks.ts | Defines supported networks including Bellecour, Arbitrum, and Arbitrum Sepolia |
| src/utils/wagmiConfig.ts | Refactored Wagmi configuration to support multiple networks with dynamic transports |
| src/utils/chain.utils.ts | Utility functions for chain management and lookup |
| src/stores/useUser.store.ts | Pinia store for managing user's selected chain state |
| src/hooks/useChainSwitch.ts | Custom hook for handling chain switching logic |
| src/components/ui/select/* | UI components for select dropdown functionality |
| src/components/ChainSelector.vue | Main chain selector component with dropdown interface |
| package.json | Added dependencies for UI components and state management |
| .vitepress/config.mts | Added alias configuration and chain selector to navigation |
Le-Caignec
approved these changes
Aug 8, 2025
Collaborator
Le-Caignec
left a comment
There was a problem hiding this comment.
Some changes to do before merging
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.
No description provided.