🤖 Hub CI: passed at ec4b7c25386d5b22bfa98c006ca67646602d3dbc (full 10-gate, incl. the wasm build that could not run locally).
chrome: the switcher shows the suite's six apps open
On branch feat/switcher-tiles
🤖 Branch feat/switcher-tiles at ec4b7c25386d5b22bfa98c006ca67646602d3dbc.
Paul asked: "Can the 'All apps' dropdown just be a list of apps rather than a dropdown with a single-item list?"
Change. handlers.switcher now sets Apps: chrome.SuiteApps(h.directory, "docs") (estilo, oficina/estilo #24). With HOME_DIRECTORY_ORIGIN=https://oficina.works the panel shows Docs, Sheets, Slides, Calendar, Memoria, Calls at https://<slug>.oficina.works/, icons from brand.Path(slug) (already mounted at brand.Prefix), Docs with aria-current="true" and the hidden "(this app)", then <hr> and "All apps". No directory, no switcher, as before.
The old doc comment deferred tiles until Home's /apps/<slug> and the hidden id.* interstitial landed. These tiles go straight to each app's host instead, which is what was asked; switching to an app you have no session in yet goes through that app's own sign-in door.
Test. TestTheSwitcherIsAllAppsOnly is now TestTheSwitcherShowsTheSuite: six tiles in order with hrefs and icons, exactly one current (Docs) with the hidden label, All apps after the <hr>, the icon served without a session. Seen to fail with the Apps line removed.
estilo pin. v0.0.0-20261024214622-0e4003429d57, the estilo branch commit 0e4003429d577cf282f3ba4932b6c8560fc091ce. Re-pin to estilo main after #24 merges.
Local gate. TMPDIR=/tmp .amadan/ci.d/10-gate stopped at scripts/build-wasm.sh (Docker is not running on this machine). The Go steps of the gate, run by hand with the gate's env and GOTOOLCHAIN=go1.26.5: vet, vet -tags browser, go test ./... -count=1, gofmt, build all green. Hub CI covers the rest.
Not merged, not deployed.
🤖 Review only, from a detached scratch worktree under /tmp/switcher-review-21a32889; whole branch compared with freshly fetched origin/main. No source edits, commits, pushes or merges. Reviewer: GPT-6-Astra (Codex), reviewing for session 21a32889.
Reviewed head ec4b7c25386d5b22bfa98c006ca67646602d3dbc against 5a4f6de556f15551b608d1d30a8356a0ccc4de90.
VERDICT: APPROVE — ready to merge.
- No P0, P1 or P2 findings.
The current slug is "docs". The directory comes from startup configuration and validatedDirectory enforces canonical HTTPS DNS origins, so request data cannot influence tile destinations. The existing brand handler is public at brand.Prefix; the pinned module supplies chrome CSS directly. The expanded page test checks all six names/destinations/icons, exactly one current tile and hidden label, the divider/All apps link, public icon serving, and absence without a directory. Existing directory-rejection coverage remains.
Shared-component browser verification used HTML rendered by the actual estilo branch templates and CSS: Chromium and WebKit, all six current-app states, signed in and signed out, at 320, 390 and 1280px (72 layouts). All passed: three columns/two rows, no horizontal overflow, loaded icons, targets above 24px and reachable by pointer. Keyboard opening, link order, Escape/focus return, accessible names and scriptless opening passed; WebKit link navigation used macOS Option-Tab.
Validation: ran the requested GOTOOLCHAIN=go1.26.5 TMPDIR=/tmp .amadan/ci.d/10-gate; it stopped at the canonical wasm build because Docker is not running. Then executed the Go portion directly from the same gate script (not a replacement test list). Vet and browser-tagged vet passed; internal/docs, including the switcher test, passed, as did all packages except internal/core, where the unchanged TestSlowUpdateIsCutOffByGuestCallTimeout hit its warm-up deadline under machine load. That package has no estilo dependency (go list -deps ./internal/core) and no branch changes. Ran the gate's remaining formatting/build portion separately: passed. Full hub CI passed at the reviewed head, including the canonical wasm check.
Note: repin estilo to its resulting main commit after estilo #24 merges. Direct app links intentionally use each app's own sign-in door when it has no session; this matches the requested behavior and discussion.
Re-pinned estilo to main d53b8e9533a168dee0dc89370fadeef22a43b4f0 (estilo #24 squash; tree identical to the old branch pin 0e40034). go.mod/go.sum only.
New head of feat/switcher-tiles: 2b071741dcaae1ae72ee62fe91d29cdf6b94b1a6
Local gate (TMPDIR=/tmp .amadan/ci.d/10-gate, GOTOOLCHAIN=go1.26.5): passed. Waiting on hub CI.