Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Display app even for unknown networks #325

Merged
merged 2 commits into from
Dec 20, 2021
Merged

Conversation

bh2smith
Copy link
Owner

@bh2smith bh2smith commented Dec 20, 2021

If this works, this PR closes #324

By removing the "unsupported network" page for unknown networks.

This version is deployed at IPFS hash: QmTef26dDY2XABj84ioRBpFk7vZPRmSkNJ2eYJeKMnTMk9

and can be tested by loading this app into the safe interface

https://bafybeiepy5xhantx776xnp5pb3442de3kp4owmoc36e5ni23optcauam44.ipfs.infura-ipfs.io/

Please try it out @sirpy and let us know if this is what you were hoping for.

@bh2smith bh2smith requested a review from schmanu December 20, 2021 13:10
@sirpy
Copy link

sirpy commented Dec 20, 2021

@bh2smith
need to remove unused vars
is this going to be deployed to ipfs once it passes build?

@bh2smith
Copy link
Owner Author

bh2smith commented Dec 20, 2021

This is already deployed to IPFS (available in PR description). The failing build here are just warnings that I will fix nonetheless and redeploy ASAP.

New deployment hash (without warnings) is
QmTef26dDY2XABj84ioRBpFk7vZPRmSkNJ2eYJeKMnTMk9

https://bafybeiepy5xhantx776xnp5pb3442de3kp4owmoc36e5ni23optcauam44.ipfs.infura-ipfs.io/

will also update the PR description.

@schmanu
Copy link
Collaborator

schmanu commented Dec 20, 2021

Hey @bh2smith ,

I think we should at least put a warning that the app has not officially been released / tested for the chosen network.

Otherwise this looks good.

Copy link
Collaborator

@schmanu schmanu left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍 this should work and I feel like the all in general should work on arbitrary networks.

@@ -51,7 +50,7 @@ const App: React.FC = () => {
return (
<Container>
<Header />
{networkMap.has(safe.chainId) ? (
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Here we should add a warning or a small warning banner on top of the app.
We could also separate this into an issue and I add it in January.

Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I would prefer to keep that separate (not even sure what the warning should say) and let you do it in January if you don't mind.

Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Issue created here #326

@sirpy
Copy link

sirpy commented Dec 20, 2021

@bh2smith perfect... it worked. thanks!

@bh2smith
Copy link
Owner Author

Cool then we will merge this but I won't plan to publish a new release until a few more fixes come in. Alright for you to use the deployed version linked here?

@bh2smith bh2smith merged commit ec2ecb7 into master Dec 20, 2021
@bh2smith bh2smith deleted the support-all-networks branch December 20, 2021 22:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

why are you limiting the app to specific networks?
3 participants