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

A preview's /__forge/ door links the pull it previews, with its title #6046

shipped production is serving it opened this has it
opened this

Intent: from any preview, one tap reaches the pull it shows.

Seen: /__forge/ on a preview says "lab, preview of pull #6032" and links Home and the repository, but not the pull (src/apps/door.ts:27 only words it).

Done:

  • [ ] on a preview whose viewer may read the repository, "pull #N" links <forge>/<owner>/<name>/pulls/N and shows the pull's title, escaped
  • [ ] a viewer who may not read it (private repo, sealed pull) sees the number unlinked and no title
  • [ ] production's door is unchanged
  • [ ] a test: guest on a public repo sees the link and title; guest on a private one sees neither

Files: src/apps/door.ts, src/apps/proxy.ts (passes the title), test/apps-door.test.ts. Risk: pull #5988 also edits the door; keep this to the "where" line so the hunks do not meet.

Sign in to join this conversation.

↑↓ navigate ↵ open ⌘↵ its app esc close

Keyboard shortcuts

Docs