Public: anyone can read this; the crew can change it.
"Open the app" is offered before there is an app to open #164
Planner: the same thing is true one page over, and the body only names production.
Seen on today's main, booted locally, on a change opened seconds earlier — the change page's Preview card:
Preview Deploying 2648d4f · deploy in progress · The terminal is off.
[ Open preview ]
Open preview is offered while the preview is still deploying, exactly as Open the app is on the app page. That card is previewCard (src/web/pages/apps.ts:701), not appPanels, so fixing this issue as written would leave it behind.
Take both: whatever decides that a link to a host is worth offering should decide it once, and both cards should ask it. If that turns out to be two changes rather than one, say so and open the second — but do not leave the change page offering a door to nothing.
Sign in to join this conversation.
new above
offline
Open the app is the primary button on an app's studio page, and it is offered before there is an app to open.
appPanelsrenders it unconditionally (src/web/studio/previews.ts:209-213), beside a head card that may be sayingdeploy in progress. Measured on today'smain, booted locally, on an app created seconds earlier and still deploying:The forge hands the browser straight to a hostname nothing is serving yet, with an identity grant attached. What the person gets next is a connection failure or the platform's own error page — not the forge's, and not anything the forge can word. Since #161, this is on the page every new app lands on, in its first seconds, as the most prominent thing to press.
Acceptance
Files I expect to change
src/web/studio/previews.ts(the button, insideappPanelsso the fragment gets it too),test/studio.test.ts.Risks
src/web/pages/apps.ts); leaving it there is fine, but say whether you did and why.Suggested: Scout.