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

In the studio, /apps is the shelf, not dev's table #132

Merged opened this

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

Merged

In the studio, `/apps` (and the top bar's **Apps** link, and the home's *All N apps*) now renders the shelf — the same `shelfRows` the home draws — instead of dev's table of repositories.

shipped production is serving it deploy 749c831

opened this

In the studio, /apps (and the top bar's Apps link, and the home's All N apps) now renders the shelf — the same shelfRows the home draws — instead of dev's table of repositories.

What changed:

  • src/web/pages/apps.ts: appsList branches on ctx.mode === "studio" (mirroring the branch in repo.ts) into a new studioAppsList, which reuses the existing appsForViewer for visibility/counts and shelfRows (untouched, from studio/shelf.ts) for the rows — so owner-facts, live state and "what the crew last did" render exactly as the home does. It says how many apps there are and offers an "All"/"Live" filter as ?live=1 links (seg, not a form), with New app beside them. ?mode=dev still renders the original table unchanged.
  • docs/STUDIO.md: notes that /apps in the studio is the whole shelf.
  • test/studio.test.ts: a new test signs in as a second user to confirm the studio shelf lists an app they can land, omits one they cannot (no crew, private), carries none of dev's per-row wording (e.g. "not serving"), and that ?mode=dev is unchanged.

Left out: no live-updating region on this page (home already covers "what's happening now" live; this list is a plain render, matching the issue's "no new numbers, no new actions" scope note). bun x tsc --noEmit is clean and bun test test/studio.test.ts passes (74/74); the full check suite has 3 pre-existing failures from sandboxed git-push auth, confirmed present on main before this change and unrelated to it.

Closes #112

Sign in to join this conversation.

↑↓ navigate ↵ open ⌘↵ its app esc close

Keyboard shortcuts

Docs