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

Game pages: the address a friend is given works from outside, and the last game words say what they mean #17670

shipped production is serving it opened this has it

Landed in pull #17672 · run

opened this

What is left of #17656 after #17664 (2d0f5f0e2) landed. Most of that page work is on main now. Two things are not: the address on a real box was never checked (the lab has no machine), and four words are still left unexplained.

Today joinAddress in src/games/gist.ts gives back the machine's host as it is stored. It adds no port, and it does not tell a public name from a private one.

Done:

commented

Reviewed pull #17672 at its head: ticked joinAddress (src/games/gist.ts) builds the address from the box's real records: the machine's public name, plus :port when the proxy does not listen on 25565. The box page (src/web/pages/games.ts) and the terminal Games screen (src/tui/screens/games.ts) both show that address.; When the only name is a private one (a tailnet or LAN name, or a private IP), the page says a friend outside cannot use it and what to set. It does not offer it for Copy.; Each of these words is either replaced by one a player knows or has its meaning beside it, with the same wording on the web page, in the terminal and in docs/features/games.md: "Plan it" (games.ts:102), "Commit" (the environment form, games.ts:642), "Keep it warm" (games.ts:1198), the proxy's "try list" (src/games/player_events.ts, src/games/presets.ts), and "sync" wherever a pending command names it.; Tests build real box and machine records: a public host on 25565, a public host with another port, and a private host. They also check that each changed word appears the same way on the web page and in the terminal.; bun scripts/design-lint.ts is clean, and the pull ends with a review block. The block tries the address at 390 px on a box that has a machine and on one that has none..

Sign in to join this conversation.

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

Keyboard shortcuts

Docs