1 Commits
Author SHA1 Message Date
sneak 864eda03eb fix: the connection prompt shows the shared address whole (closes #517)
check / check (push) Waiting to run
e2e / e2e-chrome (push) Waiting to run
e2e / e2e-firefox (push) Waiting to run
The element holding the address on the connection prompt was a flex row,
so the title line and the address that renderAddressHtml() returns sat
side by side and the address got only the width left over, which hid its
last nine characters. It is now a plain block, as on the signature
screen, so the address has a row of its own. The Chrome browser suite's
connection test now measures that row with the check the other screens
already use.

Model: opus-5-5
2026-10-14 08:08:21 +00:00
2 changed files with 4 additions and 4 deletions
+1 -4
View File
@@ -1716,10 +1716,7 @@
<div class="text-xs text-muted mb-1"> <div class="text-xs text-muted mb-1">
Address that will be shared: Address that will be shared:
</div> </div>
<div <div id="approve-address" class="text-xs mb-2"></div>
id="approve-address"
class="text-xs flex items-center mb-2"
></div>
</div> </div>
<div class="mb-3"> <div class="mb-3">
<label <label
+3
View File
@@ -3857,6 +3857,9 @@ test("eth_requestAccounts approved returns the selected address (#183)", async (
shown.toLowerCase().includes(env.expectedAddress.toLowerCase()), shown.toLowerCase().includes(env.expectedAddress.toLowerCase()),
"the site prompt shows the wrong address: " + JSON.stringify(shown), "the site prompt shows the wrong address: " + JSON.stringify(shown),
); );
// The text above is there even when the row is too narrow to show it
// all; this measures that the whole address is visible (#517).
await assertAddressesFit(popup, "the connection prompt");
// Remembered, so the connection survives a background worker that MV3 // Remembered, so the connection survives a background worker that MV3
// terminates after 30 seconds idle. The in-memory connectedSites map // terminates after 30 seconds idle. The in-memory connectedSites map