From 7527e9390ccf78f4058cd531dee02b4ee7bb2578 Mon Sep 17 00:00:00 2001 From: Nick Kosarev Date: Tue, 14 Oct 2025 12:37:54 +0200 Subject: [PATCH] chore: some welcome info --- .../app/composables/useNavigation.ts | 16 ++++++++-------- .../server/services/telegram/atrium-bot.ts | 3 ++- 2 files changed, 10 insertions(+), 9 deletions(-) diff --git a/apps/atrium-telegram/app/composables/useNavigation.ts b/apps/atrium-telegram/app/composables/useNavigation.ts index 2ddedd39..dc8d690b 100644 --- a/apps/atrium-telegram/app/composables/useNavigation.ts +++ b/apps/atrium-telegram/app/composables/useNavigation.ts @@ -14,14 +14,7 @@ function _useNavigation() { title: t('app.flow'), icon: 'i-lucide-waves', exact: true, - badge: flowStore.nowViewedItemsCount.toString(), - }, - { - path: '/ticket', - names: ['ticket', 'ticket-ticketId'], - title: t('app.tickets'), - icon: 'i-lucide-mail-question-mark', - badge: ticketStore.ticketsWithoutAnswer.length.toString(), + badge: flowStore.nowViewedItemsCount > 10 ? '10+' : flowStore.nowViewedItemsCount.toString(), }, { path: '/tasks', @@ -30,6 +23,13 @@ function _useNavigation() { icon: 'i-lucide-layout-dashboard', badge: taskStore.myTodayTasks.length.toString(), }, + { + path: '/ticket', + names: ['ticket', 'ticket-ticketId'], + title: t('app.tickets'), + icon: 'i-lucide-mail-question-mark', + badge: ticketStore.ticketsWithoutAnswer.length.toString(), + }, { path: '/navigation', names: ['navigation'], diff --git a/apps/core-telegram/server/services/telegram/atrium-bot.ts b/apps/core-telegram/server/services/telegram/atrium-bot.ts index 98490b35..20f08774 100644 --- a/apps/core-telegram/server/services/telegram/atrium-bot.ts +++ b/apps/core-telegram/server/services/telegram/atrium-bot.ts @@ -126,11 +126,12 @@ async function handleContact(ctx: Context) { }, }) - await ctx.reply(`Успех! Теперь вы можете войти в Атриум. Ваш ключ доступа: ${accessKey}`, { + await ctx.reply(`🎉 Успех! Через этого бота вы можете открыть Атриум. Это место, в котором участники команды выполняют задачи, общаются с партнерами.`, { reply_markup: { remove_keyboard: true, }, }) + await ctx.reply(`🖥️ Для удобной работы с ПК используйте веб-версию Атриума: https://atrium.sushi-love.ru. При входе укажите свой номер телефона и Ключ доступа: ${accessKey}`) return }