Skip to content

Commit 658cb0f

Browse files
authored
chore: some welcome info (#221)
1 parent ecb00ff commit 658cb0f

2 files changed

Lines changed: 10 additions & 9 deletions

File tree

apps/atrium-telegram/app/composables/useNavigation.ts

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -14,14 +14,7 @@ function _useNavigation() {
1414
title: t('app.flow'),
1515
icon: 'i-lucide-waves',
1616
exact: true,
17-
badge: flowStore.nowViewedItemsCount.toString(),
18-
},
19-
{
20-
path: '/ticket',
21-
names: ['ticket', 'ticket-ticketId'],
22-
title: t('app.tickets'),
23-
icon: 'i-lucide-mail-question-mark',
24-
badge: ticketStore.ticketsWithoutAnswer.length.toString(),
17+
badge: flowStore.nowViewedItemsCount > 10 ? '10+' : flowStore.nowViewedItemsCount.toString(),
2518
},
2619
{
2720
path: '/tasks',
@@ -30,6 +23,13 @@ function _useNavigation() {
3023
icon: 'i-lucide-layout-dashboard',
3124
badge: taskStore.myTodayTasks.length.toString(),
3225
},
26+
{
27+
path: '/ticket',
28+
names: ['ticket', 'ticket-ticketId'],
29+
title: t('app.tickets'),
30+
icon: 'i-lucide-mail-question-mark',
31+
badge: ticketStore.ticketsWithoutAnswer.length.toString(),
32+
},
3333
{
3434
path: '/navigation',
3535
names: ['navigation'],

apps/core-telegram/server/services/telegram/atrium-bot.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,11 +126,12 @@ async function handleContact(ctx: Context) {
126126
},
127127
})
128128

129-
await ctx.reply(`Успех! Теперь вы можете войти в Атриум. Ваш ключ доступа: ${accessKey}`, {
129+
await ctx.reply(`🎉 Успех! Через этого бота вы можете открыть Атриум. Это место, в котором участники команды выполняют задачи, общаются с партнерами.`, {
130130
reply_markup: {
131131
remove_keyboard: true,
132132
},
133133
})
134+
await ctx.reply(`🖥️ Для удобной работы с ПК используйте веб-версию Атриума: https://atrium.sushi-love.ru. При входе укажите свой номер телефона и Ключ доступа: ${accessKey}`)
134135
return
135136
}
136137

0 commit comments

Comments
 (0)