MetaMask / MetaMask/metamask-extension
Reject connection request if I close the tab
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 13.2k
- Forks
- 5.6k
- Avg merge
- 2d 5h
- Merged PRs (30d)
- 451
Description
What problem are you trying to solve?
EIP 1102 account connection requests remain as notifications even if I close the tab. It takes a long time to load metamask to dismiss the notification, even if I have left the page.
Describe the solution you'd like
Metamask opens a channel with each page so if the channel closes you can auto-reject the connection request.
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
Start by tracing the EIP 1102 connection-request handling and the channel opened between MetaMask and each page. The work is complete when closing the tab causes the pending connection request to be auto-rejected and its notification no longer remains.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- authorization
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 30/100