[READY][i18n][P18] Angular host+player i18n binding med simpel telefon-UX og nul client-audio #211
Reference in New Issue
Block a user
Delete Branch "dev/issue-206-angular-i18n-phone-ux-no-audio"
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?
Implements #206.
Scope
client_has_no_audio_output=truein shared capabilitiesChecks
cd frontend/angular && npm test✅cd frontend/angular && npm run build❌ (pre-existing API type mismatch infrontend/src/api/client.ts:mapNextRoundResponse/NextRoundResponse)Closes #206
Official review: REQUEST_CHANGES ⛔\n\nBlocking gate on current head SHA
dd3b48067a8d44481afa92ddff3cb9bdfba6f629:\n- Required CI checks are stillpending(CI / test-and-qualityfor push + pull_request).\n\nCode review notes: implementation direction looks good (locale picker, centralized Angular i18n helper, shared catalog usage, and no-audio capability wiring), but merge cannot proceed until required checks complete successfully.\n\nWhen CI is green on this SHA (or a newer SHA), re-request review and I will re-evaluate official state.Requesting changes on head SHA
dd3b48067a.Finding (Medium): locale switch does not propagate to active host/player views
AppComponentupdates its ownlocaleviasetLocale, butHostShellComponentandPlayerShellComponenteach initialize a separatelocale = resolvePreferredLocale()once and never react to subsequent picker changes.Suggested fix:
No other blocking findings in the touched i18n wiring.
Implemented reactive locale propagation for mounted host/player shells. Locale updates from header selector now flow through a shared lobby-i18n subscription so active UI copy updates immediately without remount. Added unit test coverage in lobby-i18n.spec.ts.
Re-review for head
f3bd071322801a79d2926c765e44a9179a84ed6d: locale propagation issue is resolved.Validation:
HostShellComponentnow subscribes tosubscribeToLocaleChanges(...)on init and unsubscribes on destroy.PlayerShellComponentnow subscribes similarly and cleans up on destroy.lobby-i18nnow maintains active locale state + subscriber notifications insetPreferredLocale.lobby-i18n.spec.tscovering immediate + reactive subscriber updates and unsubscribe behavior.vitest run: 23/23 tests).Submitting final review state for this head SHA.