oasisprotocol / oasisprotocol/explorer

[Bug]: When I wake up laptop from sleep after a while all explorer tabs show error state

Open
#1,598 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug
Dominant language
TypeScript
Stars
13
Forks
13
Avg merge
58m
Merged PRs (30d)
2

Description

Is there an existing issue for this?
  • I have searched the existing issues
SUMMARY

No response

STEPS TO REPRODUCE
  • Keep some explorer page open
  • Put to sleep
  • Lose wifi connection?
  • Wake up, reconnects
  • Explorer shows disconnected error

Probably related to https://github.com/oasisprotocol/explorer/blob/aa6e67326c19a64742c76b8b17836c5f96195317/src/index.tsx#L12-L16

EXPECTED BEHAVIOR

No response

Contributor guide

No contributing guide indexed for this repository

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 with src/index.tsx around lines 12-16, then reproduce the issue by keeping an explorer page open, sleeping the laptop, losing Wi-Fi, and reconnecting. Trace why tabs remain in an error state after wake-up. Done means the reported explorer tabs recover correctly after reconnection instead of staying disconnected.

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
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.