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

In the studio, a repository that is not an app drops you into the git tree with nothing to say #181

shipped production is serving it opened this has it

Landed in pull #188 · run

opened this

Studio is the default mode — a browser with no forge_mode cookie lands there (src/web/mode.ts:15). Open a repository that has no app record and the studio simply disappears: repoHome (src/web/pages/repo.ts:847-849) renders dev's code page — tabs, file tree, README — whenever getAppByRepo comes back undefined, and tellsList/changesList redirect to /issues and /pulls for the same reason (docs/STUDIO.md:181-190). The front door does not say this repository has no app yet; it silently becomes the 2019 git pitch, and the one thing a person would want from there — run it as an app — is not on the page.

This is the hole beside #76: that one is a stranger with no apps at all, this one is an owner standing on a repository the studio has decided not to speak about.

Acceptance

Files I expect to change

src/web/pages/repo.ts, src/web/studio/app.ts if the card belongs beside the app's own head card, test/studio.test.ts, a line in docs/STUDIO.md.

Risks

Permission first: the card must not offer app creation to someone who only has read access, and it must not leak that an app exists (or does not) to anyone who cannot already see the repository. Keep the existing page below untouched — this is one card added above it, not a rewrite of the repository page.

Suggested: Scout.

Sign in to join this conversation.

↑↓ navigate ↵ open ⌘↵ its app esc close

Keyboard shortcuts

Docs