feat(registry): pick a game on the fleet and live pages, one Edgegap app per game #10
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "feat/game-picker"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Lets the admin site pick a registered game (playground, dodginballs) and scopes the fleet and live pages to it.
EDGEGAP_APPS(game=apppairs) gives each game its own Edgegap app;EDGEGAP_APPstill works as the playground's when it is unset. A malformed entry stops the registry at boot./api/online*take?game=(defaultplayground, 400 for an unknown game). List, deploy, the stop check, the audit key andEDGEGAP_MAXall use that game's app; the sweep covers every app. An app Edgegap does not have yet (unity-dodginballstoday) lists no versions instead of failing./api/fleet?game=and/api/live?game=scope rows;/api/gameslists configured games plus every game a session registered as.?game=; it scopes rows, Start versions, Stop, history and the live server list. The overrides page is now "Playground catalog"; the live page's in-server picker is "Switch playing to".Verified:
go test ./...green (new: EDGEGAP_APPS parsing, per-game cap and stop check, unknown game 400s, sweep over every app, fleet/live/games scoping). Ran the registry locally against a fake Edgegap and drove fleet.html and live.html in a browser: picker switches rows, versions ("no version on Edgegap yet" for dodginballs) and the URL.https://claude.ai/code/session_013xzWCj43ynxb5TP8Lq5R1e