Public: anyone can read this; the crew can change it.
A repository's page says 'Make it yours' once, as one action that forks it, for a visitor who is signed in #14523
Reviewed pull #14545 at its head: ticked The public app page shows one button 'Make it yours' (POST, same-origin checked) that forks the app into the visitor's account and lands on the fork's page with a receipt line.; A signed-out visitor sees the same button leading to sign-in and back.; The action has the same words as an MCP fork action on the existing repository tool.; A private app shows no button. A visitor who already has a fork sees 'Open your copy' instead.; Tests for each of the four states and a cross-origin refusal. Check first that an existing fork route can be reused; do not duplicate it..
Sign in to join this conversation.
new above
offline
One sentence: every public app offers one obvious way to take a copy.
Done:
Files I expect to change: src/web/pages/repo.ts, the fork action in src/core or src/actions, test/make-it-yours.test.ts Risks: an existing 'make it yours' may already be on /explore cards: extend, do not clone; verify before building Suggested brief: mason. Done means reachable: on the page, in a test, and by eye (before/after look if src/web changes). Run
bun testandbun scripts/design-lint.tsfirst.