Stage 17 #2: extend the offline soft-disable to all server-action buttons
CI / changes (pull_request) Successful in 1s
CI / unit (pull_request) Has been skipped
CI / integration (pull_request) Has been skipped
CI / ui (pull_request) Successful in 35s
CI / gate (pull_request) Successful in 0s
CI / deploy (pull_request) Successful in 1m6s
CI / changes (pull_request) Successful in 1s
CI / unit (pull_request) Has been skipped
CI / integration (pull_request) Has been skipped
CI / ui (pull_request) Successful in 35s
CI / gate (pull_request) Successful in 0s
CI / deploy (pull_request) Successful in 1m6s
Following the in-game bar, the Connecting indicator now also visually disables the
other proactive (server-sending) controls while offline: chat send + nudge, profile
save / link email|telegram / merge-confirm, friends (redeem, get-code, accept/decline,
unfriend, block, unblock), New Game (auto-match variant + send-invitation) and the
lobby hide ❌. Purely local controls (board/rack/reset, menus, navigation, settings,
copy-code) stay live. Each reads the global connection.online signal; full e2e + check
green.
This commit is contained in:
@@ -1457,8 +1457,10 @@ provided cert) at the contour caddy; prod VPN; rollback.
|
||||
still **opens with the spinner** and fills on reconnect (global indicator + read auto-retry),
|
||||
so navigation is never dead. Pure policy unit-tested (`retry.ts`); a mock-only `window.__conn`
|
||||
hook drives a Chromium+WebKit e2e (indicator appears offline, the action disables, both clear
|
||||
on reconnect). Other server-action buttons (chat send, profile save, …) are not yet visually
|
||||
disabled but degrade to a safe no-op (the suppressed toast + indicator) — easy to extend.
|
||||
on reconnect). The visual soft-disable spans the server-action buttons across the app: the
|
||||
game bar (commit/exchange/pass/hint/resign), chat send + nudge, profile save / link / merge,
|
||||
friends (request/respond/unfriend/block/code), New Game (auto-match + invite) and the lobby
|
||||
hide ❌; purely local controls (board/rack/reset, menu, navigation, settings) stay live.
|
||||
|
||||
## Deferred TODOs (cross-stage)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user