You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
What is the issue you are encountering with the docs?
The error message displayed when connecting to the wrong network while tracking progress with Base Camp is not clear and informative enough. The current error message does not provide sufficient guidance to the user on how to resolve the issue.
To improve the user experience, I suggest updating the error message to clearly communicate the following:
The user is connected to an unsupported network.
The specific chain ID of the unsupported network.
The need to switch to the Base Sepolia network to proceed.
Proposed error message:
"Invalid network detected (Chain ID: <chain_id>). Connect using the Base Sepolia network."
The updated error message should be concise and actionable, guiding the user to take the necessary steps to resolve the issue.
Additional context
Currently working on a future fix that utilizes the useSwitchNetwork hook from the wagmi library. This fix aims to handle the network switching process more seamlessly and improve the overall user experience.
The useSwitchNetwork hook allows us to programmatically switch the user's network to Base Sepolia when an unsupported network is detected. This will streamline the process and reduce friction for the user.
For the current release, I recommend focusing on improving the error message to provide clear guidance to the user on how to manually switch to the Base Sepolia network. Will continue to work on the useSwitchNetwork implementation and include it in a future update to further enhance the user experience.
The text was updated successfully, but these errors were encountered:
What is the issue you are encountering with the docs?
The error message displayed when connecting to the wrong network while tracking progress with Base Camp is not clear and informative enough. The current error message does not provide sufficient guidance to the user on how to resolve the issue.
Links to Impacted Docs
https://github.com/base-org/web/blob/master/apps/base-docs/src/utils/nft-exercise-data.js
Describe the solution you'd like to see.
To improve the user experience, I suggest updating the error message to clearly communicate the following:
Proposed error message:
"Invalid network detected (Chain ID: <chain_id>). Connect using the Base Sepolia network."
The updated error message should be concise and actionable, guiding the user to take the necessary steps to resolve the issue.
Additional context
useSwitchNetwork
hook from the wagmi library. This fix aims to handle the network switching process more seamlessly and improve the overall user experience.useSwitchNetwork
hook allows us to programmatically switch the user's network to Base Sepolia when an unsupported network is detected. This will streamline the process and reduce friction for the user.The text was updated successfully, but these errors were encountered: