Uniswap / Uniswap/interface

Network lost indicator appears when switching back to tab

Open
#2,902 3 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

bug
Dominant language
TypeScript
Stars
5.5k
Forks
5.4k
PR merge metrics
No merged PRs in 30d

Description

Bug Description
Network lost indicator appears when returning to an idle tab.

Expected Behavior
Although true, this gives the impression that the app is a bit buggy since a user is seeing this lost connection warning fairly often. We should instead only color the dot yellow. And then only show the banner if and when a request to catch up to the current block fails.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by locating the network-lost indicator and the logic that runs when returning to an idle tab. Reproduce the tab-switching behavior, then verify that the dot turns yellow without showing the banner until a catch-up request fails.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.