feat(bot): improve /setup UX and update checklist on /bind

- Enhance /setup message with a warmer greeting and binding instructions\n- Rename 'Setup' buttons to 'Create' for clarity\n- Track /setup message ID to enable automatic checklist updates when /bind is used\n- Refresh /setup checklist after successful topic binding\n- Update English and Russian translations
This commit is contained in:
2026-03-15 01:44:13 +04:00
parent d0475743f8
commit 531e52b238
4 changed files with 62 additions and 11 deletions

View File

@@ -51,12 +51,14 @@ export const enBotTranslations: BotTranslationCatalog = {
joinRequestSent: (householdName) =>
`Join request sent for ${householdName}. Wait for a household admin to confirm you.`,
setupSummary: ({ householdName, created }) =>
`${created ? '✨' : ''} Welcome! ${householdName} is ${created ? 'successfully registered' : 'already active'} and ready to help.`,
`🏡 ${created ? 'New household!' : 'Household active!'} **${householdName}** is ready.\n\n` +
`I've set up the basic configuration. Now, let's organize your communication by linking topics for specific roles.`,
setupTopicsHeading: (configured, total) =>
`Let's configure your household topics to get started (${configured}/${total}):`,
`Current setup progress: ${configured}/${total}\n\n` +
`Tap buttons below to create new topics automatically, or go to any existing topic and use /bind to link it manually.`,
setupTopicBound: (role) => `${role}`,
setupTopicMissing: (role) => `${role}`,
setupTopicCreateButton: (role) => `Setup ${role}`,
setupTopicCreateButton: (role) => `Create ${role}`,
setupTopicBindButton: (role) => `Bind ${role}`,
useBindInTopic: 'Run /bind inside a topic to link it to a role.',
topicAlreadyBound: (role) => `This topic is already linked to ${role}.`,