fix: Settings never shows "Saved." for a URL the input no longer shows (closes #695) #696

Merged
clawbot merged 1 commits from issue-695-saved-after-redraw into next 2026-10-27 14:34:52 +01:00
1 Commits
Author SHA1 Message Date
sneak 0ad1b5cf89 fix: Settings never shows "Saved." for a URL the input 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 input no longer shows the URL that was checked. The input loses that URL when Settings is drawn again during the check. When another page changes the network, "Use Blockscout" or "Check recipients on Etherscan", this page draws Settings again. Before this change, the typed URL was stored and "Saved." appeared while the input showed the previous URL.

The save compares the input and sets the URL in `state` in one step. A save refused because the network changed shows "The URL was not saved because the network changed." A save refused because the input changed shows "The URL was not saved because it was changed during the check."

Model: opus-5-5
2026-10-27 13:26:43 +00:00