Promote development → master: banner tip set + banner/push language fix #114
Reference in New Issue
Block a user
Delete Branch "development"
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?
Promotes to production (→ tag v1.2.1):
00002replaces the single seed tip with the 47 language-agnostic tips (bilingualad_messagesrows). Data-only; backend image rollback stays DB-safe; verified up/down + on the contour (47 rows).preferred_languagewith the device's explicit language choice, so the banner and out-of-app push routing match the visible UI from the first open (no longer needs a Settings toggle).Deploy: prod-deploy flags the migration → runs under the maintenance-window + pg_dump path (brief, safe). The migration applies on the prod backend at boot.
New commits pushed, approval review dismissed automatically according to repository settings
The main bot answered /start with a single English line ("Tap to open Scrabble."). Localize it: Russian or English by the sender's reported Telegram language (Message.from.language_code, which the Bot API carries on the message itself — there is no separate user-update event — English fallback), with the longer welcome copy and a localized launch button ("Открыть «Эрудит»" / "Open “Erudite”"). The welcome links the game channel and the discussion chat by their public @username, resolved once at startup from the configured TELEGRAM_GAME_CHANNEL_ID / TELEGRAM_CHAT_ID via getChat and cached. A handle that is unset, private, or unreadable degrades to a generic noun ("the channel" / "our chat") rather than a dangling "@", so the paragraph always reads cleanly (the bot's info screen still lists the real links). Adds GameChannelID to bot.Config (wired from the existing config) for the channel handle. Tests: startText localization + handle embedding + per-slot generic fallback; handleStart language selection; resolveWelcomeHandles. README updated.