Files
a14e94fbde Sign in to a website from Make (R2.9) (#2182)
* Claim R2.9 sign-in button on Make

* Sign in to a website from Make (R2.9)

A website address typed on Make now offers "Sign in to this site", which
runs web_site_sign_in for that address, so a site behind a login can be
signed in to from the app, not only from the CLI, MCP or the agent.
One window at a time; while it's open the row says so and offers "Stop
waiting", and Start (and every other way a start is reached) waits.
The result is said in a message: kept, still asking to sign in, check
failed, timed out or stopped.

* Let the i18n check see the sign-in messages

The sign-in toasts and the button's hover text were looked up through a
variable or inside format!, so i18n-coverage counted their awaiting.txt
entries as unused and the gate failed. Look each one up with tr() on the
literal.

* Name the site in sign-in messages and wait for project creation

The sign-in button stays disabled while a new project is being made, so its build
can't study the site before the sign-in ends. Each sign-in message starts with the
address the sign-in was started for, which may no longer be the one on Make. A closed
window without a password field is reported as closed, not as signed in. The tool is
matched by its constant.

* Keep credentials out of sign-in toasts and show the i18n check every sign-in string

The site named in a sign-in toast drops userinfo, query and fragment, as the engine does for URLs it shows. "Stopped the sign-in." is looked up outside format! and the i18n check now reads Button::new labels, so neither awaiting entry is reported as unshown.

* Hold an update's install while a sign-in window is open

Installing closes the app, and the sign-in's job is invisible, so jobs.busy() didn't see it: closing then could lose the sign-in before the browser profile is saved. The install gate is now safe_to_install(), which also waits for signing_in.

---------

Co-authored-by: Mansur Akhmadi <[email protected]>
Co-authored-by: Tanish Manku <[email protected]>
2026-11-19 19:37:15 -07:00
..