Network connection issue popup shows when you tab away for too long.
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 5.5k
- Forks
- 5.4k
- PR merge metrics
- No merged PRs in 30d
Description
Bug Description
A clear and concise description of the bug.
Steps to Reproduce
- Go to app.uniswap.org
- connect to a network
- tab away for a while
- tab back after some number of minutes/blocks
- get "connection issue" popup
- wait a few seconds
- it disappears when it gets new blocks
Expected Behavior
The client should be aware that the user isn't actually on the page for a while and it needs to resync blocks
Additional Context
https://developer.mozilla.org/en-US/docs/Web/API/Page_Visibility_API#policies_in_place_to_aid_background_page_performance
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
The issue names app.uniswap.org and links to the Page Visibility API, but does not identify a repository file or test. Start by tracing the connection-issue popup and block synchronization when the tab becomes visible again. Done means returning after inactivity does not show a false connection warning while the client resynchronizes promptly.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- blockchain, frontend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100