This repository has been archived by the owner on Jan 24, 2023. It is now read-only.
forked from yfii/dfi
-
Notifications
You must be signed in to change notification settings - Fork 261
Disable auto network switch/add user network switch #610
Merged
roman-monk
merged 7 commits into
beefyfinance:master
from
ReflectiveChimp:user-network-switch
Jul 6, 2021
Merged
Disable auto network switch/add user network switch #610
roman-monk
merged 7 commits into
beefyfinance:master
from
ReflectiveChimp:user-network-switch
Jul 6, 2021
Conversation
This file contains 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
+ui for switching network/app
# Conflicts: # src/features/home/App.js
Rename `Vault-ConnectWallet` string to `Network-ConnectWallet` Remove `Network-Error` string
If everyone is happy, this should be good to merge |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
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.
Changes
NetworkConnectNotice
) showing user which network they need to switch to, or linking them to the appropriate app if we support the network, resolving Indicate which network to connect to #548NetworkError
componentPoolAccordion
component: Only seemed to exist for anif (connected)
check, which happens in the rootApp
getNetworkAppUrl
- to return url of app (e.g. fantom.beefy.finance)getNetworkFriendlyName
,getNetworkBuyUrl
andgetNetworkAppUrl
can optionally be passed a network id; defaulting toprocess.env.REACT_APP_NETWORK_ID
Strings
Adds:
Removes:
Note: Renamed
Vault-ConnectWallet
toNetwork-ConnectWallet
where available.Screenshots
No wallet connected:
Connected to wrong, unsupported network (e.g. Ethereum):
Connected to wrong, supported network (e.g. Fantom while on app.beefy.finance):
Any errors returned from
networkSetup
are shown:Dark mode desktop:
Dark mode mobile: