Merge branch 'fix/door-no-colophon' into main
The sign-in door no longer links the Colophon Paul, 2026-11-19: "Why is the Colophon on this screen? That makes no sense at all." / "Remove now." The door stops passing chrome.SignIn.OpenSource; the open-source page keeps its route, stays public and stays under Help. The door test now forbids the link. Reviewed by Fable (claude-fable-5-2): APPROVE; its notes fixed on the branch. CI passed at 4ae6bf5. Discussion 45.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2 files changed,
+9
−6
internal/calls/auth.go+4 −5internal/callstest/chrome_test.go+5 −1
CI passed — run details
CI log
=== vet === go vet ./... === fmt === === test === go test ./... ok amadan.net/oficina/calls/callscore 7.452s ok amadan.net/oficina/calls/cmd/calls 13.279s ? amadan.net/oficina/calls/cmd/calls-contract [no test files] ok amadan.net/oficina/calls/cmd/quality-summary 0.020s ok amadan.net/oficina/calls/internal/calls 12.830s ok amadan.net/oficina/calls/internal/calls/apns 0.007s ok amadan.net/oficina/calls/internal/calls/hub 1.056s ? amadan.net/oficina/calls/internal/calls/icons [no test files] ? amadan.net/oficina/calls/internal/calls/keymailtest [no test files] ok amadan.net/oficina/calls/internal/calls/relay 0.003s ok amadan.net/oficina/calls/internal/calls/seal 0.002s ? amadan.net/oficina/calls/internal/calls/teamstate [no test files] ok amadan.net/oficina/calls/internal/callstest 12.387s ok amadan.net/oficina/calls/protocol 0.002s ? amadan.net/oficina/calls/scripts/writeestilo [no test files] === migration-check === go run amadan.net/rastrillo/rastrillo/cmd/rastrillo migration check rastrillo migration check: models and migrations agree === race === CGO_ENABLED=1 go test -race ./internal/... ok amadan.net/oficina/calls/internal/calls 89.883s ok amadan.net/oficina/calls/internal/calls/apns 1.026s ok amadan.net/oficina/calls/internal/calls/hub 4.622s ? amadan.net/oficina/calls/internal/calls/icons [no test files] ? amadan.net/oficina/calls/internal/calls/keymailtest [no test files] ok amadan.net/oficina/calls/internal/calls/relay 1.017s ok amadan.net/oficina/calls/internal/calls/seal 1.011s ? amadan.net/oficina/calls/internal/calls/teamstate [no test files] ok amadan.net/oficina/calls/internal/callstest 48.426s
diff --git a/internal/calls/auth.go b/internal/calls/auth.go| index 0fd103f..1f54c93 100644 |
| --- a/internal/calls/auth.go |
| +++ b/internal/calls/auth.go |
| @@ -370,11 +370,10 @@ func (a *app) localSignin(w http.ResponseWriter, r *http.Request) { |
| // set; Calls passes its name, mark, sky and destinations. |
| func (a *app) door(r *http.Request) chrome.SignIn { |
| return chrome.SignIn{ |
| - Icon: assets.Path("static/brand/icon.svg"), |
| - App: appName, |
| - Sky: sky.For(r.Host), |
| - Action: signinPath, |
| - OpenSource: &chrome.Link{Href: "/help/open-source", Label: "Open source"}, |
| + Icon: assets.Path("static/brand/icon.svg"), |
| + App: appName, |
| + Sky: sky.For(r.Host), |
| + Action: signinPath, |
| } |
| } |
diff --git a/internal/callstest/chrome_test.go b/internal/callstest/chrome_test.go| index cb4d93e..efeebfa 100644 |
| --- a/internal/callstest/chrome_test.go |
| +++ b/internal/callstest/chrome_test.go |
| @@ -234,11 +234,15 @@ func TestTheDoorSpeaksTheSuitesWords(t *testing.T) { |
| x := newHarness(t, "paul@example.com") |
| c := x.browser(t) |
| door := c.getNav("/signin").Body.String() |
| - for _, want := range []string{`type="submit">Sign in</button>`, "We’ll email you a link that signs you in. It works once and expires in 15 minutes.", `<a href="/help/open-source">Open source</a>`} { |
| + for _, want := range []string{`type="submit">Sign in</button>`, "We’ll email you a link that signs you in. It works once and expires in 15 minutes."} { |
| if !strings.Contains(door, want) { |
| t.Errorf("the door lacks %q", want) |
| } |
| } |
| + // Paul, 2026-11-19: no Colophon link on the sign-in door. |
| + if strings.Contains(door, `href="/help/open-source"`) { |
| + t.Error("the door links Open source") |
| + } |
| if strings.Contains(door, "Email me a link") { |
| t.Error("the door still says Email me a link") |
| } |