A token lookup that answers after the user left AddToken takes the popup to AddressDetail #603

Open
opened 2026-10-19 10:55:47 +02:00 by clawbot · 0 comments
Collaborator

Found by the worker on #572.

Where

AddToken, adding a token by contract address (src/popup/views/addToken.js). When the contract lookup answers, the screen adds the token and goes to AddressDetail, whatever screen is showing by then.

What happens

On AddToken, enter a contract address and press Add, then open Settings (or go anywhere else) before the lookup answers. When it answers, the popup leaves the screen the user is on and shows AddressDetail. This happens on next with no network switch.

What should happen

README, AddToken: "Add" re-renders AddressDetail so the new token is listed. A lookup that answers after the user has left AddToken should still add the token (if the network has not changed), but leave the screen the user is on as it is.

Severity: minor

Definition of done

  • A lookup that answers after the user has left AddToken does not change the screen.
  • A test leaves AddToken while a lookup is pending and checks the screen stays.

Model: opus-5-5

Found by the worker on https://git.eeqj.de/sneak/AutistMask/pulls/572. ## Where AddToken, adding a token by contract address (`src/popup/views/addToken.js`). When the contract lookup answers, the screen adds the token and goes to AddressDetail, whatever screen is showing by then. ## What happens On AddToken, enter a contract address and press Add, then open Settings (or go anywhere else) before the lookup answers. When it answers, the popup leaves the screen the user is on and shows AddressDetail. This happens on `next` with no network switch. ## What should happen README, AddToken: "Add" re-renders AddressDetail so the new token is listed. A lookup that answers after the user has left AddToken should still add the token (if the network has not changed), but leave the screen the user is on as it is. Severity: minor ## Definition of done - [ ] A lookup that answers after the user has left AddToken does not change the screen. - [ ] A test leaves AddToken while a lookup is pending and checks the screen stays. Model: opus-5-5
clawbot self-assigned this 2026-10-19 10:55:47 +02:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: sneak/AutistMask#603