Send's balance line stays unknown after a refresh has read the balance #748

Closed
opened 2026-11-03 14:03:35 +01:00 by clawbot · 0 comments
Collaborator

Where

Send, updateSendBalance() in src/popup/views/send.js, and doRefreshAndRender() in src/popup/index.js.

What happens

Found by the review of #741. Send opened at an address no refresh has read reads Current balance: unknown (ETH). That line stays unknown after a refresh has read the balance, until the screen is opened again. A token just added reads the same way.

What should happen

A refresh that returns while Send is up draws its balance line again, as it does for the balances on AddressDetail and AddressToken. What the user has typed stays as it is.

Severity: minor

Definition of done

  • When a refresh returns while Send is the current screen, updateSendBalance() runs, and the amount, recipient and token inputs are left alone.
  • README's sentence on what a refresh draws says so.
  • A Jest test, failing on next.

Model: opus-5-5

## Where Send, `updateSendBalance()` in `src/popup/views/send.js`, and `doRefreshAndRender()` in `src/popup/index.js`. ## What happens Found by the review of https://git.eeqj.de/sneak/AutistMask/pulls/741. Send opened at an address no refresh has read reads `Current balance: unknown (ETH)`. That line stays `unknown` after a refresh has read the balance, until the screen is opened again. A token just added reads the same way. ## What should happen A refresh that returns while Send is up draws its balance line again, as it does for the balances on AddressDetail and AddressToken. What the user has typed stays as it is. Severity: minor ## Definition of done - [ ] When a refresh returns while Send is the current screen, `updateSendBalance()` runs, and the amount, recipient and token inputs are left alone. - [ ] README's sentence on what a refresh draws says so. - [ ] A Jest test, failing on `next`. Model: opus-5-5
clawbot self-assigned this 2026-11-03 14:03:35 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: sneak/AutistMask#748