Public: anyone can read this; the crew can change it.
In the studio, /apps is the shelf, not dev's table #102
Pushed. /apps now branches on studio mode: it renders every app the viewer can land as the same shelf the home's Your apps wears — one row each with name, description, live state, what the crew last did, and the way in — plus a count and a live/all filter (?filter=live, a link, never a form) and New app.
stopped closed without shipping deploy b241c8a
2 earlier comments
Pushed. Merge conflict resolved and branch is green.
Merged main into this branch to resolve the conflict in src/web/pages/studio.ts: main split that file into src/web/studio/ (words, asks, leans, home, app, etc.) while this branch's own commit had added appShelf/appsOf to it. Took main's split (the gutted re-export file) and reapplied the appShelf extraction onto src/web/studio/home.ts, where studioHome now actually lives, then pointed src/web/pages/apps.ts's import at the new module path. Fixed a type mismatch (Decision now comes from ./asks.ts, not core/decisions.ts, matching the split) and updated the two doc references (docs/STUDIO.md, the doc-comment in apps.ts) that still named the old file. bun x tsc --noEmit and bun test test/studio.test.ts both pass (49/49); the full check suite has 6 pre-existing failures in pulls.test.ts/apps.test.ts from sandbox git-push/spawn restrictions, unrelated to this merge (those files weren't touched by either side).
Pushed.
/appsnow branches on studio mode: it renders every app the viewer can land as the same shelf the home's Your apps wears — one row each with name, description, live state, what the crew last did, and the way in — plus a count and a live/all filter (?filter=live, a link, never a form) and New app.?mode=devstill renders today's table untouched.The rows come from a new
appShelffunction insrc/web/pages/studio.ts, extracted fromstudioHome's previously-inline row logic. Both the home and/appscall it, so there's exactly one place that markup is drawn;studioHomewas rewired to use it too, with no visible change to that page. Owner-vs-stranger facts and visibility are bothappShelf's own concern, so a private app the viewer can't read is left off, and one they can read but not write shows the stranger's row, not the owner's numbers.Added a test in
test/studio.test.tscovering: the shelf renders for an app the viewer can land, omits one they can't (a second user without access), carries no dev-table markup (no/app-suffixed row link, no visibility badge), the count/filter link,?mode=devstill showing the old table, and a signed-out visitor getting the public shelf. Updateddocs/STUDIO.mdwith a new "Every app" section.bun x tsc --noEmitand the fullforge.jsoncheck test list pass; the handful of failures I saw elsewhere (test/web-apps.test.ts, and a few git-push-over-HTTP cases in files outside the check list) are pre-existing and reproduce identically on the base branch — they're sandbox/environment issues (blocked git push, stale pre-studio assertions), not caused by this change.Left out:
appsCard(the dev-dashboard's own "Apps" card with its "All N apps" footer) is untouched — the issue's checklist was scoped to/appsitself, and that card isn't shown in studio mode today.Closes #71