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

Plain words find Games and Infrastructure, and a player's home leads to their games #17704

opened this

Merged 9h 41m ago, live in production

The second step of the navigation (#17646), for #17627. Plain words find an area: "minecraft", "cost" or "deploy" leads to Games, Infrastructure or Apps, in the web palette, the terminal palette and search. Each person is offered only the areas they may use.

Notes

opened this

The second step of the navigation (#17646), for #17627.

  • Plain words find an area: "minecraft", "cost" or "deploy" leads to Games, Infrastructure or Apps, in the web palette, the terminal palette and search. Each person is offered only the areas they may use.
  • A person here for a game box (a grant, no repository, not an admin) reads Games first in the bar, and "Your games" when nothing needs them. Nobody else's home changes.
  • Infrastructure is in the settings sidebar and account menu for admins, and linked from Cloud accounts, Connect a cloud, Forges you sent and the crew's machines.
  • From an app, an admin opens "Run it on its own machine" with the app chosen. Nothing is built until Build.

Ceilings raised: five pages (board, map, system, /:owner/:name/next and /space) by 256 bytes of script each, and Settings by one word.

Tests: on this head, tsc, the gate and design-lint are clean, and 369 tests in 56 files pass (perf, size, areas, and what touches the home). The wide set ran on an earlier head: 2265 pass, 1 fail, pulls-merge-budget, which passes alone (#17698 and #17700). Not seen in a browser by eye yet.

Part of #17627.

[
 {
  "go": "/search?q=server",
  "look": "[data-places]",
  "expect": "An admin reads Go to Games or Infrastructure; a person who may see a game box reads only Games; anyone else has no such line."
 },
 {
  "go": "/",
  "look": "#lane-asked",
  "expect": "Signed in as a person with a game box and no repository: Nothing needs you. Your games. Everyone else's home is as it was."
 },
 {
  "go": "/settings",
  "look": "nav",
  "expect": "An admin's settings sidebar has Infrastructure under Connections, and the account menu has it after Forges."
 },
 {
  "go": "/explore",
  "look": ".areas",
  "expect": "Signed in as a person with a game grant and no repository: Games, Apps, Explore. Everyone else keeps Apps first."
 },
 {
  "go": "/infra/build?app=preview-admin/sample",
  "look": "#compose",
  "expect": "Opened from an app's Run it on its own machine: that app is chosen, for running the app itself, with no end. Nothing is built until Build."
 },
 {
  "go": "/preview-admin/sample/settings/machines",
  "look": "main",
  "expect": "The heading is The crew's machines, with a link to Machines on your cloud."
 }
]

🤖 Generated with Claude Code

commented

<!-- look-pages d18d7afeb9ef --> Look pages for d18d7af, from the gate:

  • look pages (named): this pull changes src/web/chrome.ts, src/web/client.ts, src/web/go_pages.ts; a commit names /explore
commented

sentinel's two doors, on 19114ba4c:

  1. Player to Games: the terminal's home says "Your games: g p" to a person with a game grant, no repository and no admin rights. Web and terminal share one rule (herePlaying).
  2. App to its own machine: M on an app's deploys screen opens Infrastructure's compose with that app; it asks where, then shows the plan and its cost. Nothing is built until Build. Only a forge admin has the key.

2,386 tests pass over 390 files, all tui*, keymap*, feature*, areas*, infra* and games* among them; tsc, the gate and design-lint are clean.

🤖 Generated with Claude Code

Sign in to join this conversation.

Search
↑↓ navigate ↵ open ⌘↵ its app esc close

Keyboard shortcuts

Docs