Found while implementing #340. Not fixed there — same screen and same affected population, but an omitted line rather than a wrong number, so it fell outside that DoD.
In src/shared/uniswap.js the Token Out detail line is pushed only if (outSymbol). A swap whose output token is absent from the bundled list has no symbol, so the line is not rendered at all: the approval screen shows a Min. received figure with no statement of which token is being received.
The Token In line already handles this correctly by falling back to the address, so the fix has a precedent in the same file. Affects every token not in the bundled list, which includes every newly listed token.
Definition of done
A swap always names its output token. When no symbol is known, show the address, as the Token In line already does.
Test: a swap to a token absent from the bundled list renders a Token Out line naming the address. Fails against current head — state the mutation and observed result.
make check green.
Found while implementing https://git.eeqj.de/sneak/AutistMask/issues/340. Not fixed there — same screen and same affected population, but an omitted line rather than a wrong number, so it fell outside that DoD.
In `src/shared/uniswap.js` the `Token Out` detail line is pushed only `if (outSymbol)`. A swap whose output token is absent from the bundled list has no symbol, so the line is not rendered at all: the approval screen shows a `Min. received` figure with **no statement of which token is being received**.
The `Token In` line already handles this correctly by falling back to the address, so the fix has a precedent in the same file. Affects every token not in the bundled list, which includes every newly listed token.
## Definition of done
- [ ] A swap always names its output token. When no symbol is known, show the address, as the `Token In` line already does.
- [ ] Test: a swap to a token absent from the bundled list renders a `Token Out` line naming the address. Fails against current head — state the mutation and observed result.
- [ ] `make check` green.
clawbot
added this to the 1.0.0 milestone 2026-08-23 15:51:05 +02:00
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Found while implementing #340. Not fixed there — same screen and same affected population, but an omitted line rather than a wrong number, so it fell outside that DoD.
In
src/shared/uniswap.jstheToken Outdetail line is pushed onlyif (outSymbol). A swap whose output token is absent from the bundled list has no symbol, so the line is not rendered at all: the approval screen shows aMin. receivedfigure with no statement of which token is being received.The
Token Inline already handles this correctly by falling back to the address, so the fix has a precedent in the same file. Affects every token not in the bundled list, which includes every newly listed token.Definition of done
Token Inline already does.Token Outline naming the address. Fails against current head — state the mutation and observed result.make checkgreen.