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
Check · Review · Land · Live done — Landed and live in production.
scout/forge:scout/11838-a-new-app-s-page-after-the-crew-s-first → main 2 commits fork
2 files
changed +4
−3
src/web/studio/app.ts +2 −2
| @@ -434,9 +434,9 @@ export async function studioApp( | ||
| 434 | 434 | what is ready without being asked. |
| 435 | 435 | </p>` |
| 436 | 436 | : html`<dl> |
| 437 | <dt>Mode</dt> | |
| 437 | <dt>Works</dt> | |
| 438 | 438 | <dd> |
| 439 | ${repo.autonomy === "autonomous" ? "Autonomous" : "Assisted"} | |
| 439 | ${repo.autonomy === "autonomous" ? "By itself" : "With you"} | |
| 440 | 440 | </dd> |
| 441 | 441 | <dt>Today</dt> |
| 442 | 442 | <dd> |
test/studio-shipping.test.ts +2 −1
| @@ -347,7 +347,8 @@ describe("a stranger sees the app, not the owner's books", () => { | ||
| 347 | 347 | // An older app: a new one shows only its progress (#10299). |
| 348 | 348 | ageApp(app.db, lamp.id); |
| 349 | 349 | 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"); | |
| 351 | 352 | expect(empty).toContain("nobody on the crew"); |
| 352 | 353 | expect(empty).toContain('href="/alice/lamp/settings">Put someone on the crew'); |
| 353 | 354 | // The shelf's stuck word and this card share one phrase. |
new above
offline