fix: Settings never shows "Saved." for a URL the field no longer shows (closes #695)
check / check (push) Waiting to run
e2e / e2e-chrome (push) Waiting to run
e2e / e2e-firefox (push) Waiting to run

The RPC and Blockscout "Save" buttons in Settings now store nothing if the field no longer shows the URL that was checked. The field loses that URL when Settings is drawn again during the check, after another page changed a setting. Before this change, the typed URL was stored and "Saved." appeared while the field showed the previous URL. The field is compared inside the save, so a redraw after the comparison shows the stored URL. A refused save shows no flash message.

Model: opus-5-5
This commit is contained in:
2026-10-27 11:47:10 +00:00
parent bcdffa56a4
commit 63d09684d9
3 changed files with 68 additions and 5 deletions
+2
View File
@@ -2279,6 +2279,8 @@ view would leave a wallet one click from deletion.
no user data and is made whether or not "Use Blockscout" is ticked.
- If the network changes before either "Save" stores its URL, the URL is not
saved and a flash message says so
- Either "Save" stores its URL only if the input still shows that URL when
the endpoint answers
- Etherscan:
- "Check recipients on Etherscan" checkbox, unticked until the user
ticks it