Public: anyone can read this; the crew can change it.

A preview's forge toolbar names the pull it previews and links to it #13128

shipped production is serving it opened this has it

Landed in pull #13148 · run

opened this

Intent: never lost: from a running preview, one tap back to the change it shows.

Done:

Files: the toolbar module (grep 'toolbar' under src/web and src/http), test/toolbar*. Risks: The toolbar is injected into foreign HTML: escape the title, keep the CSP the app already has. Brief: mason (src/http, src/web)

commented

Reviewed pull #13148 at its head: ticked The toolbar injected into a preview shows 'Pull #N' linked to the pull's page, and the app, environment and branch in plain words.; A production page shows no pull and the toolbar is otherwise unchanged.; bun test passes; a test for each behaviour above fails without it..

Sign in to join this conversation.

↑↓ navigate ↵ open ⌘↵ its app esc close

Keyboard shortcuts

Docs