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

A new app's page after the crew's first run says "Mode · Autonomous" to a stranger #11848

Merged opened this

Check · Review · Land · Live done — Landed and live in production.

Merged

scout/forge:scout/11838-a-new-app-s-page-after-the-crew-s-first → main 2 commits fork

  • Merged. scout/11838-a-new-app-s-page-after-the-crew-s-first was merged into main as 207127f.

Review

Sign in to review this change.
2 files changed +4 −3
src/web/studio/app.ts +2 −2
@@ -434,9 +434,9 @@ export async function studioApp(
434434 what is ready without being asked.
435435 </p>`
436436 : html`<dl>
437 <dt>Mode</dt>
437 <dt>Works</dt>
438438 <dd>
439 ${repo.autonomy === "autonomous" ? "Autonomous" : "Assisted"}
439 ${repo.autonomy === "autonomous" ? "By itself" : "With you"}
440440 </dd>
441441 <dt>Today</dt>
442442 <dd>
test/studio-shipping.test.ts +2 −1
@@ -347,7 +347,8 @@ describe("a stranger sees the app, not the owner's books", () => {
347347 // An older app: a new one shows only its progress (#10299).
348348 ageApp(app.db, lamp.id);
349349 const empty = await (await get("/alice/lamp", ownerCookie)).text();
350 expect(empty).toContain("Autonomous");
350 expect(empty).toContain("By itself");
351 expect(empty).not.toContain("Autonomous");
351352 expect(empty).toContain("nobody on the crew");
352353 expect(empty).toContain('href="/alice/lamp/settings">Put someone on the crew');
353354 // The shelf's stuck word and this card share one phrase.

↑↓ navigate ↵ open ⌘↵ its app esc close

Keyboard shortcuts

Docs