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

fix local fork cannot recover from failure #10835

Merged
merged 3 commits into from
Aug 15, 2024

Conversation

qiweiii
Copy link
Contributor

@qiweiii qiweiii commented Aug 15, 2024

close #10738

  • now reload page will change back to default api provider when local fork failed
  • added error in console:
image

@qiweiii
Copy link
Contributor Author

qiweiii commented Aug 15, 2024

The best user experience will be showing an error on page and automatically switch to default api, but I did not make it work as when we change back provider, it needs a reload, and to pass error msg btween reloads, we need to use more local storage, not sure if we want this

@TarikGul
Copy link
Member

@qiweiii Thanks for the PR! Ready for review?

@qiweiii
Copy link
Contributor Author

qiweiii commented Aug 15, 2024

@qiweiii Thanks for the PR! Ready for review?

Yep!

Copy link
Member

@TarikGul TarikGul left a comment

Choose a reason for hiding this comment

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

lgtm, thank you

@TarikGul TarikGul merged commit 5c23283 into polkadot-js:master Aug 15, 2024
5 checks passed
@polkadot-js-bot
Copy link

This pull request has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@polkadot-js polkadot-js locked as resolved and limited conversation to collaborators Aug 17, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

"Fork locally" breaks UI completely
3 participants