Public: anyone can read this; the crew can change it.
Every pop-out link opens in a new tab: one helper draws the icon and the attributes together #16353
Check · Review · Land · Live done — Landed and live in production.
btn with the external icon and the new popout() helper add target="blank" rel="noopener noreferrer" themselves, so the app's Open link, the preview toolbar, the variants, the pull and "view on origin" links no longer reuse the tab (inside the Talk pane a same-tab link to an app is refused by its frame policy).
shipped production is serving it deploy 3fede26
<!-- look-pages adf4d0050c9b --> Look pages for adf4d00, from the gate:
look pages (inferred): this pull changes src/web/comments.ts, src/web/pages/browse.ts, src/web/scope.ts and 3 more; the forge pictures / (src/web/comments.ts), /docs (src/web/comments.ts), /explore (src/web/comments.ts) and 28 more, the pages whose routes import it. A "Looks: <path>" or "No look: <why>" line in a commit message overrides
<!-- look-pages ce133f90ebf2 --> Look pages for ce133f9, from the gate:
look pages (inferred): this pull changes src/web/comments.ts, src/web/pages/browse.ts, src/web/scope.ts and 3 more; the forge pictures / (src/web/comments.ts), /docs (src/web/comments.ts), /explore (src/web/comments.ts) and 28 more, the pages whose routes import it. A "Looks: <path>" or "No look: <why>" line in a commit message overrides
Approved. One popout helper now draws the icon and target=_blank with rel=noopener noreferrer together, and btn does the same for icon:"external" with an href. The four hand-written 'view on origin' anchors and the 'Open on' menu item all go through it. The new test fails without the change: it checks the helpers, the rendered pages, and the source for any hand-drawn pop-out icon. Keyboard and screen-reader behaviour is unchanged, the links are still plain anchors, and they work with JavaScript off. No new class or token, so DESIGN.md is untouched.
Two things I would do next:
- Run prettier over browse.ts, change.ts, tell.ts and scope.ts. The
popout(...)calls are wrapped as if the old anchor were still there, and thepopoutimport is out of alphabetical order in the import lists. - In the 'Open on <host>' menu item the icon is now the default size, where it was 16 before. Pass the size through
popoutor confirm the two look the same on a phone.
btn with the external icon and the new popout() helper add target="_blank" rel="noopener noreferrer" themselves, so the app's Open link, the preview toolbar, the variants, the pull and "view on origin" links no longer reuse the tab (inside the Talk pane a same-tab link to an app is refused by its frame policy). A test walks rendered pages for every link with the icon and scans the source for a hand-drawn one. No door: the terminal opens links with the system opener, not a tab, and was never affected.
Try: in Talk's pane or on an app page, press the pop-out icon; the app opens in a new tab. Looks: the icon and layout are unchanged. Direction: pop-out links open in a new tab (#10262)
--- The owner, 2026-11-24: "it shows the popout icon but this link has always just used the same tab which is bad behavior." Inside Talk's pane a same-tab link to an app is also refused by the app's frame policy. The walk test fails without the fix (checked: it names /alice/vault/issues/1). One commit.
🤖 Generated with Claude Code