feat(demo): list the demo's sign-ins on /beta and link into it per game
Some checks failed
PR checks / checks (pull_request) Failing after 2m16s
Some checks failed
PR checks / checks (pull_request) Failing after 2m16s
The public demo (demo.runicgateway.com) is live, so the site's demo slot can be switched on. Two decisions of record, PLAN.md §15: - D82: /beta reads the demo's GET /api/v1/public/settings demo.logins on the server, caches it for a minute, and lists the published sign-ins with the next wipe. If the demo does not answer, /beta links to its sign-in page instead. Gate two reads as in place. - D83: a deep link into a game module's pages carries data-demo-game, and applyBrand.mjs fills it only for games in the new mounted demoGames list. The Rust features gain links into /rust and /rust/servers/demo. UO's stay hidden on a Rust demo. The public-demo not-built entry is removed, because its resolvedBy was met. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01E14m6SuuY6i1vASFeGDBeY
This commit is contained in:
@@ -23,13 +23,22 @@
|
||||
"giteaOrg": "https://gitea.whitlocktech.com/RunicGateway",
|
||||
|
||||
"$comment_demo": [
|
||||
"§15 / D12. A public demo instance is planned and out of scope today. The homepage's",
|
||||
"'See it running' slot and /features/'s per-capability affordance render only when this",
|
||||
"is a non-empty URL, so the site gains a working demo by way of one line in a mounted",
|
||||
"file — no rebuild, consistent with §7."
|
||||
"§15 / D12. The public demo's address, e.g. https://demo.runicgateway.com. The",
|
||||
"homepage's 'See it running' slot and /features/'s per-capability affordance render only",
|
||||
"when this is a non-empty URL, so the site gains a working demo by way of one line in a",
|
||||
"mounted file — no rebuild, consistent with §7. /beta also reads the demo's published",
|
||||
"sign-ins from it, on the next request (D82)."
|
||||
],
|
||||
"demoUrl": "",
|
||||
|
||||
"$comment_demoGames": [
|
||||
"D83. The game modules the demo at demoUrl runs, by module id (\"rust\", \"uo\"). A",
|
||||
"'See it running' link into a game's own pages shows only for a game listed here, so",
|
||||
"a Rust demo never links to a /uo/ page it does not have. Core's links (the wiki, the",
|
||||
"event calendar, news) follow demoUrl alone. Read at the next restart, like demoUrl."
|
||||
],
|
||||
"demoGames": [],
|
||||
|
||||
"$comment_beta": [
|
||||
"PLAN.md §8 / D27. The Google Play closed-test opt-in URL. Empty until the track",
|
||||
"exists, and /beta renders a waiting state rather than a broken link while it is.",
|
||||
|
||||
Reference in New Issue
Block a user