Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 8 additions & 8 deletions apps/atrium-telegram/app/composables/useNavigation.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand All @@ -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'],
Expand Down
3 changes: 2 additions & 1 deletion apps/core-telegram/server/services/telegram/atrium-bot.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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
}

Expand Down