fix: a saved SuccessTx in another shape reopens as itself, and long amounts wrap (closes #740)
The popup refused a saved SuccessTx whose decoded record was in a shape it did not expect, and showed Home. SuccessTx already shows only the lines it can read, so the popup no longer checks the record first. A long amount or token symbol was cut off at the edge of the screen. These now wrap: - the Amount figure - each decoded amount - the token symbol - the name and description of SuccessTx's decoded action WaitTx and ErrorTx share the line that shows the symbol, so they gain this too. Model: opus-5-5
This commit was merged in pull request #742.
This commit is contained in:
@@ -459,7 +459,7 @@ describe("a swap that gives another spender an allowance", () => {
|
||||
expect(html).toContain("Permit2 allowance");
|
||||
expect(html).toContain("Unlimited");
|
||||
expect(html).toContain("Allowance token");
|
||||
expect(html).toContain('<div class="font-bold">USDC</div>');
|
||||
expect(html).toContain('<div class="font-bold break-words">USDC</div>');
|
||||
expect(html).toContain(`data-copy="${USDC}"`);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user