Public: anyone can read this; the crew can change it.
Connecting an origin, the device code and the authorize step, speaks the home page's language #9905
Reviewed pull #9908 at its head: ticked The page has one <h1>; the code to type and where to type it, the authorize link, and the expired notice with its start-again form are plain sections or one plain line, not boxes.; src/web/pages/origin-flow.ts no longer calls card(; the rendered page has no class="card" or card-body.; Coming back to the page still resumes where the connect was; the verification link keeps rel="noreferrer noopener"; the start-again form still posts to /settings/origins/oauth behind the same-origin check; no token is ever on the page.; A new test/origin-flow-language.test.ts asserts the above for a waiting device grant and an expired flow, and fails on main today; test/origin-flow-page.test.ts and test/origins-oauth-flows.test.ts still pass; bun scripts/design-lint.ts is clean..
For: bringing repositories over from elsewhere reads as calm plain steps. The page a connect waits on (
/settings/origins/flows/:id,src/web/pages/origin-flow.ts) still boxes the device code, the authorize step and the expired notice incard(.Done looks like:
<h1>; the code to type and where to type it, the authorize link, and the expired notice with its start-again form are plain sections or one plain line, not boxes.src/web/pages/origin-flow.tsno longer callscard(; the rendered page has noclass="card"orcard-body.rel="noreferrer noopener"; the start-again form still posts to/settings/origins/oauthbehind the same-origin check; no token is ever on the page.test/origin-flow-language.test.tsasserts the above for a waiting device grant and an expired flow, and fails on main today;test/origin-flow-page.test.tsandtest/origins-oauth-flows.test.tsstill pass;bun scripts/design-lint.tsis clean.Touch only
src/web/pages/origin-flow.tsand the new test.