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

An app's /__forge/ door offers "Make it yours" and links its "more pulls" line to the repository's open pulls #6652

shipped production is serving it opened this has it
opened this

The door is the way home when the pill is not shown; it should carry the Friend test's one action and never end in a dead sentence.

Done:

  • [ ] When the door knows the repository (where.repo is set, so the viewer may read it), its link list has "Make it yours" to <forge>/<owner>/<name>/make-it-yours, after "The repository"
  • [ ] "More pulls are open on the forge." becomes a link to <forge>/<owner>/<name>/pulls when the repository is known, and stays plain text when it is not
  • [ ] A guest of a public app (no where.repo) sees neither link
  • [ ] A new test renders doorPage for a reader and for a guest and asserts both links, escaped, and their absence

Files: src/apps/door.ts, test/door-home-links.test.ts

Risks: the door's CSP is default-src 'none'; links are plain anchors, so no header changes.

Before pushing: bun x tsc --noEmit and bun test test/door-home-links.test.ts test/apps-door.test.ts.

Sign in to join this conversation.

↑↓ navigate ↵ open ⌘↵ its app esc close

Keyboard shortcuts

Docs