Phone UI and touch precision overhaul, proxy fixes, Orbital Uplink, four new maps

Phone panels (reviewed + QA'd, matrix of 22 layouts with real taps/bounding boxes):
- selected-tower action bar over the board (Upgrade/Sell/Target/close), info panel
  updated in place so taps are never lost, scrollable palette for 7+ towers,
  overlays with pinned footers (Help "Got it", Play solo, Join always visible),
  tappable room chip to invite, reduced-motion/contrast/forced-colors fixes,
  paused state, partner cursor labels, bigger level pips and owner flags
- touch input rewritten around "pointerdown commits nothing": pinch never builds,
  10px tap slop, palm-proof pinch, long-press pings with any tool armed, nudge
  arrows for precise placement, hotkey repeat guard, proportional wheel zoom
- new e2e: select/sell, info-panel stability, UI states, touch precision;
  camera unit tests

Proxy/server (reproduced against real nginx 1.26 with NPM v2.16 config):
- Origin check works when the proxy drops a non-default port, TRUSTED_PROXIES for
  proxies on global IPv6/CGNAT addresses, service worker no longer serves nginx's
  502 page, DEPLOY.md corrected (NPM default read timeout is 90 s, Advanced-tab
  limits, path-prefix, cookie size, per-IP cap behaviour)

Content:
- Orbital Uplink: 4-level endgame tower (450 + 500/800/1200 credits): piercing
  armour-ignoring beam, blast and lingering slow, ground+air, range 11-14;
  glyph, beam effect, sound, help text, unit tests
- Maps: The Canyon, Archipelago, Fortress, Pinwheel (7 maps total)

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Tb8pW2KAN4oFkh1aK1BfD8
This commit is contained in:
Claude 2026-10-10 18:03:24 +00:00
parent dad0382e10
commit a5bd09d505
22 changed files with 2423 additions and 405 deletions

View file

@ -27,8 +27,12 @@ Environment=PORT=8080
Environment=HOST=::
# auto: believe X-Forwarded-For / X-Forwarded-Host only from loopback / private-range peers (your proxy).
Environment=TRUST_PROXY=auto
# Only needed when the proxy rewrites the Host header (symptom: 403 on the WebSocket upgrade).
# Comma separated, e.g. https://game.example.com
# Only needed when your proxy reaches this server from an address that is NOT private: a global IPv6 address,
# Tailscale / CGNAT (100.64.0.0/10), ... (symptom: the log says "from <the proxy's address>" for every player, or
# "this connection is not from a trusted proxy"). Comma separated IPs / CIDRs, added to the private ranges.
#Environment=TRUSTED_PROXIES=100.64.0.0/10,2001:db8::6
# Only needed when the proxy rewrites the Host header or you serve several public names (symptom: 403 on the
# WebSocket upgrade). Comma separated; include the port when it is not 80/443, e.g. https://game.example.com:8443
#Environment=ALLOWED_ORIGINS=https://game.example.com
#Environment=MAX_CONN_PER_IP=40
#Environment=GRACE_MS=60000