Stage 17 round 6 (#16-20): landing page, /app/ move, cache + stream fixes #21

Merged
developer merged 1 commits from feature/stage-17-round-6-landing into development 2026-06-08 14:07:50 +00:00
Owner

PR #2 of 2 closing out Stage 17 round 6.

  • Landing page at / — one Vite build, two entries (index.html = game SPA, landing.html = a lightweight landing reusing the theme/i18n/aboutContent leaf modules). Theme + language switchers, Play-in-browser CTA, per-language Play-in-Telegram link.
  • Web game SPA moved to /app/; the Telegram Mini App stays at /telegram/ (BotFather untouched). Gateway webui.Handler(stripPrefix, indexName): landing at /, SPA at /app/ + /telegram/. Per-language link via new VITE_TELEGRAM_LINK_EN/_RU build vars (button hides when unset).
  • Cache headers (folded in): hash-named /assets/* immutable, HTML shells no-cache — the go:embed zero modtime emitted no validators, so the client re-downloaded the whole bundle every launch.
  • Live-stream 15s abort fix (folded in): immediate heartbeat on open + 10s default interval (the first tick at 15s raced the edge idle timeout).

Docs: PLAN / ARCHITECTURE §13 / FUNCTIONAL(+ru) / gateway+ui+deploy READMEs; round 6 closed. Tests: gateway webui/connectsrv units, ui landing unit + e2e, full e2e (60) green locally.

Owner action: set the TEST_VITE_TELEGRAM_LINK_EN / _RU (and later PROD_) Gitea variables for the landing Telegram links (the button stays hidden until they are set).

PR #2 of 2 closing out Stage 17 round 6. - **Landing page at /** — one Vite build, two entries (index.html = game SPA, landing.html = a lightweight landing reusing the theme/i18n/aboutContent leaf modules). Theme + language switchers, Play-in-browser CTA, per-language Play-in-Telegram link. - **Web game SPA moved to /app/**; the Telegram **Mini App stays at /telegram/** (BotFather untouched). Gateway `webui.Handler(stripPrefix, indexName)`: landing at /, SPA at /app/ + /telegram/. Per-language link via new **VITE_TELEGRAM_LINK_EN/_RU** build vars (button hides when unset). - **Cache headers** (folded in): hash-named /assets/* `immutable`, HTML shells `no-cache` — the go:embed zero modtime emitted no validators, so the client re-downloaded the whole bundle every launch. - **Live-stream 15s abort fix** (folded in): immediate heartbeat on open + 10s default interval (the first tick at 15s raced the edge idle timeout). Docs: PLAN / ARCHITECTURE §13 / FUNCTIONAL(+ru) / gateway+ui+deploy READMEs; round 6 closed. Tests: gateway webui/connectsrv units, ui landing unit + e2e, full e2e (60) green locally. **Owner action:** set the `TEST_VITE_TELEGRAM_LINK_EN` / `_RU` (and later `PROD_`) Gitea variables for the landing Telegram links (the button stays hidden until they are set).
developer added 1 commit 2026-06-08 11:33:27 +00:00
Stage 17 round 6 (#16-20): landing page, /app/ move, cache + stream fixes
CI / changes (pull_request) Successful in 2s
CI / unit (pull_request) Successful in 9s
CI / integration (pull_request) Successful in 11s
CI / ui (pull_request) Successful in 31s
CI / gate (pull_request) Successful in 0s
CI / deploy (pull_request) Successful in 55s
e16076c89e
Close out Stage 17 round 6:

- Landing page at / — one Vite build with two entries (index.html = game
  SPA, landing.html = a lightweight landing reusing the theme/i18n/
  aboutContent leaf modules, not the app store).
- Move the web game SPA to /app/; the Telegram Mini App stays at /telegram/
  (gateway webui.Handler(stripPrefix, indexName): landing at /, SPA at /app/
  + /telegram/). Per-language "Play in Telegram" link via new
  VITE_TELEGRAM_LINK_EN/_RU build vars (button hides when unset).
- Cache headers: hash-named /assets/* immutable, HTML shells no-cache (the
  go:embed zero modtime emitted no validators, so the client re-downloaded
  the whole bundle every launch).
- Live-stream 15s abort fix: an immediate heartbeat on open + a 10s default
  interval (the first tick at 15s raced the edge idle timeout -> reconnect
  storm).

PLAN/ARCHITECTURE(§13)/FUNCTIONAL(+ru)/gateway+ui+deploy READMEs updated;
round 6 closed. Tests: gateway webui/connectsrv units, ui landing unit + e2e,
full e2e (60) green.
owner approved these changes 2026-06-08 14:01:50 +00:00
developer merged commit 5928be40b0 into development 2026-06-08 14:07:50 +00:00
developer deleted branch feature/stage-17-round-6-landing 2026-06-08 14:07:50 +00:00
Sign in to join this conversation.
No Reviewers
No Label
2 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: developer/scrabble-game#21