@lobehub/chat 1.43.0 → 1.43.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -2,6 +2,56 @@
2
2
 
3
3
  # Changelog
4
4
 
5
+ ### [Version 1.43.2](https://github.com/lobehub/lobe-chat/compare/v1.43.1...v1.43.2)
6
+
7
+ <sup>Released on **2025-01-04**</sup>
8
+
9
+ #### 🐛 Bug Fixes
10
+
11
+ - **misc**: Fix heatmap and manifest.
12
+
13
+ <br/>
14
+
15
+ <details>
16
+ <summary><kbd>Improvements and Fixes</kbd></summary>
17
+
18
+ #### What's fixed
19
+
20
+ - **misc**: Fix heatmap and manifest, closes [#5289](https://github.com/lobehub/lobe-chat/issues/5289) ([3973249](https://github.com/lobehub/lobe-chat/commit/3973249))
21
+
22
+ </details>
23
+
24
+ <div align="right">
25
+
26
+ [![](https://img.shields.io/badge/-BACK_TO_TOP-151515?style=flat-square)](#readme-top)
27
+
28
+ </div>
29
+
30
+ ### [Version 1.43.1](https://github.com/lobehub/lobe-chat/compare/v1.43.0...v1.43.1)
31
+
32
+ <sup>Released on **2025-01-03**</sup>
33
+
34
+ #### 🐛 Bug Fixes
35
+
36
+ - **misc**: Fix stats data query issue.
37
+
38
+ <br/>
39
+
40
+ <details>
41
+ <summary><kbd>Improvements and Fixes</kbd></summary>
42
+
43
+ #### What's fixed
44
+
45
+ - **misc**: Fix stats data query issue, closes [#5283](https://github.com/lobehub/lobe-chat/issues/5283) ([f3fdee7](https://github.com/lobehub/lobe-chat/commit/f3fdee7))
46
+
47
+ </details>
48
+
49
+ <div align="right">
50
+
51
+ [![](https://img.shields.io/badge/-BACK_TO_TOP-151515?style=flat-square)](#readme-top)
52
+
53
+ </div>
54
+
5
55
  ## [Version 1.43.0](https://github.com/lobehub/lobe-chat/compare/v1.42.6...v1.43.0)
6
56
 
7
57
  <sup>Released on **2025-01-03**</sup>
package/changelog/v1.json CHANGED
@@ -1,4 +1,22 @@
1
1
  [
2
+ {
3
+ "children": {
4
+ "fixes": [
5
+ "Fix heatmap and manifest."
6
+ ]
7
+ },
8
+ "date": "2025-01-04",
9
+ "version": "1.43.2"
10
+ },
11
+ {
12
+ "children": {
13
+ "fixes": [
14
+ "Fix stats data query issue."
15
+ ]
16
+ },
17
+ "date": "2025-01-03",
18
+ "version": "1.43.1"
19
+ },
2
20
  {
3
21
  "children": {
4
22
  "features": [
@@ -2,6 +2,12 @@
2
2
  "$schema": "https://github.com/lobehub/lobe-chat/blob/main/docs/changelog/schema.json",
3
3
  "cloud": [],
4
4
  "community": [
5
+ {
6
+ "image": "https://github.com/user-attachments/assets/3d80e0f5-d32a-4412-85b2-e709731460a0",
7
+ "id": "2025-01-03-user-profile",
8
+ "date": "2025-01-03",
9
+ "versionRange": ["1.43.0", "1.43.1"]
10
+ },
5
11
  {
6
12
  "image": "https://github.com/user-attachments/assets/2048b4c2-4a56-4029-acf9-71e35ff08652",
7
13
  "id": "2024-11-27-forkable-chat",
@@ -53,6 +53,13 @@
53
53
  "title": "لا توجد بيانات"
54
54
  },
55
55
  "lastYearActivity": "النشاط في العام الماضي",
56
+ "loginGuide": {
57
+ "f1": "احصل على استخدام مجاني",
58
+ "f2": "مزامنة الرسائل عبر الأجهزة المتعددة",
59
+ "f3": "تمتع بمساعدين متنوعين",
60
+ "f4": "استكشف الإضافات القوية",
61
+ "title": "بعد تسجيل الدخول يمكنك:"
62
+ },
56
63
  "messages": "رسائل",
57
64
  "modelsRank": {
58
65
  "left": "النموذج",
@@ -53,6 +53,13 @@
53
53
  "title": "Няма данни"
54
54
  },
55
55
  "lastYearActivity": "активност през последната година",
56
+ "loginGuide": {
57
+ "f1": "Получете безплатен лимит",
58
+ "f2": "Синхронизирайте съобщения на множество устройства",
59
+ "f3": "Разполагайте с богат асистент",
60
+ "f4": "Изследвайте мощни приставки",
61
+ "title": "След влизане можете да:"
62
+ },
56
63
  "messages": "Съобщения",
57
64
  "modelsRank": {
58
65
  "left": "Модел",
@@ -53,6 +53,13 @@
53
53
  "title": "Keine Daten"
54
54
  },
55
55
  "lastYearActivity": "Aktivität im letzten Jahr",
56
+ "loginGuide": {
57
+ "f1": "Kostenlose Nutzung erhalten",
58
+ "f2": "Nachrichten auf mehreren Geräten synchronisieren",
59
+ "f3": "Überreiche Assistenten nutzen",
60
+ "f4": "Mächtige Plugins erkunden",
61
+ "title": "Nach dem Login kannst du:"
62
+ },
56
63
  "messages": "Nachrichten",
57
64
  "modelsRank": {
58
65
  "left": "Modell",
@@ -53,6 +53,13 @@
53
53
  "title": "No Data"
54
54
  },
55
55
  "lastYearActivity": "Activity in the past year",
56
+ "loginGuide": {
57
+ "f1": "Get free usage",
58
+ "f2": "Sync messages across devices",
59
+ "f3": "Access a wealth of assistants",
60
+ "f4": "Explore powerful plugins",
61
+ "title": "After logging in, you can:"
62
+ },
56
63
  "messages": "Messages",
57
64
  "modelsRank": {
58
65
  "left": "Model",
@@ -53,6 +53,13 @@
53
53
  "title": "Sin datos"
54
54
  },
55
55
  "lastYearActivity": "actividad en el último año",
56
+ "loginGuide": {
57
+ "f1": "Obtener uso gratuito",
58
+ "f2": "Sincronizar mensajes en múltiples dispositivos",
59
+ "f3": "Tener un asistente completo",
60
+ "f4": "Explorar potentes complementos",
61
+ "title": "Después de iniciar sesión, puedes:"
62
+ },
56
63
  "messages": "Mensajes",
57
64
  "modelsRank": {
58
65
  "left": "Modelo",
@@ -53,6 +53,13 @@
53
53
  "title": "داده‌ای وجود ندارد"
54
54
  },
55
55
  "lastYearActivity": "فعالیت در سال گذشته",
56
+ "loginGuide": {
57
+ "f1": "دریافت حجم رایگان",
58
+ "f2": "همگام‌سازی پیام‌ها در چند دستگاه",
59
+ "f3": "داشتن دستیارهای متنوع",
60
+ "f4": "کشف افزونه‌های قدرتمند",
61
+ "title": "پس از ورود می‌توانید:"
62
+ },
56
63
  "messages": "پیام‌ها",
57
64
  "modelsRank": {
58
65
  "left": "مدل",
@@ -53,6 +53,13 @@
53
53
  "title": "Aucune donnée"
54
54
  },
55
55
  "lastYearActivity": "activité au cours de l'année dernière",
56
+ "loginGuide": {
57
+ "f1": "Obtenez un quota gratuit",
58
+ "f2": "Synchronisez les messages sur plusieurs appareils",
59
+ "f3": "Profitez d'un assistant riche",
60
+ "f4": "Explorez des plugins puissants",
61
+ "title": "Après vous être connecté, vous pouvez :"
62
+ },
56
63
  "messages": "Messages",
57
64
  "modelsRank": {
58
65
  "left": "Modèle",
@@ -53,6 +53,13 @@
53
53
  "title": "Nessun Dato"
54
54
  },
55
55
  "lastYearActivity": "attività nell'ultimo anno",
56
+ "loginGuide": {
57
+ "f1": "Ottieni un utilizzo gratuito",
58
+ "f2": "Sincronizza i messaggi su più dispositivi",
59
+ "f3": "Accedi a un ricco assistente",
60
+ "f4": "Esplora potenti plugin",
61
+ "title": "Dopo il login puoi:"
62
+ },
56
63
  "messages": "Messaggi",
57
64
  "modelsRank": {
58
65
  "left": "Modello",
@@ -53,6 +53,13 @@
53
53
  "title": "データなし"
54
54
  },
55
55
  "lastYearActivity": "過去1年間のアクティビティ",
56
+ "loginGuide": {
57
+ "f1": "無料の使用量を取得する",
58
+ "f2": "複数デバイスでメッセージを同期する",
59
+ "f3": "豊富なアシスタントを持つ",
60
+ "f4": "強力なプラグインを探索する",
61
+ "title": "ログイン後にできること:"
62
+ },
56
63
  "messages": "メッセージ",
57
64
  "modelsRank": {
58
65
  "left": "モデル",
@@ -53,6 +53,13 @@
53
53
  "title": "데이터 없음"
54
54
  },
55
55
  "lastYearActivity": "지난 1년간의 활동",
56
+ "loginGuide": {
57
+ "f1": "무료 사용량 받기",
58
+ "f2": "다양한 기기에서 메시지 동기화",
59
+ "f3": "풍부한 도우미 기능 제공",
60
+ "f4": "강력한 플러그인 탐색",
61
+ "title": "로그인 후 할 수 있는 것:"
62
+ },
56
63
  "messages": "메시지",
57
64
  "modelsRank": {
58
65
  "left": "모델",
@@ -53,6 +53,13 @@
53
53
  "title": "Geen gegevens"
54
54
  },
55
55
  "lastYearActivity": "activiteit in het afgelopen jaar",
56
+ "loginGuide": {
57
+ "f1": "Krijg gratis gebruik",
58
+ "f2": "Synchroniseer berichten op meerdere apparaten",
59
+ "f3": "Geniet van een rijke assistent",
60
+ "f4": "Ontdek krachtige plugins",
61
+ "title": "Na inloggen kun je:"
62
+ },
56
63
  "messages": "Berichten",
57
64
  "modelsRank": {
58
65
  "left": "Model",
@@ -53,6 +53,13 @@
53
53
  "title": "Brak danych"
54
54
  },
55
55
  "lastYearActivity": "aktywność w ciągu ostatniego roku",
56
+ "loginGuide": {
57
+ "f1": "Uzyskaj darmowy limit",
58
+ "f2": "Synchronizuj wiadomości na wielu urządzeniach",
59
+ "f3": "Skorzystaj z bogatego asystenta",
60
+ "f4": "Odkryj potężne wtyczki",
61
+ "title": "Po zalogowaniu możesz:"
62
+ },
56
63
  "messages": "Wiadomości",
57
64
  "modelsRank": {
58
65
  "left": "Model",
@@ -53,6 +53,13 @@
53
53
  "title": "Sem Dados"
54
54
  },
55
55
  "lastYearActivity": "atividade no último ano",
56
+ "loginGuide": {
57
+ "f1": "Obter uso gratuito",
58
+ "f2": "Sincronizar mensagens em vários dispositivos",
59
+ "f3": "Ter assistentes ricos",
60
+ "f4": "Explorar poderosos plugins",
61
+ "title": "Após o login, você pode:"
62
+ },
56
63
  "messages": "Mensagens",
57
64
  "modelsRank": {
58
65
  "left": "Modelo",
@@ -53,6 +53,13 @@
53
53
  "title": "Нет данных"
54
54
  },
55
55
  "lastYearActivity": "активность за последний год",
56
+ "loginGuide": {
57
+ "f1": "Получите бесплатный объем",
58
+ "f2": "Синхронизируйте сообщения на разных устройствах",
59
+ "f3": "Имеете доступ к богатым помощникам",
60
+ "f4": "Исследуйте мощные плагины",
61
+ "title": "После входа в систему вы можете:"
62
+ },
56
63
  "messages": "Сообщения",
57
64
  "modelsRank": {
58
65
  "left": "Модель",
@@ -53,6 +53,13 @@
53
53
  "title": "Veri Yok"
54
54
  },
55
55
  "lastYearActivity": "geçen yılki aktivite",
56
+ "loginGuide": {
57
+ "f1": "Ücretsiz kullanım al",
58
+ "f2": "Çoklu cihazda mesaj senkronizasyonu",
59
+ "f3": "Zengin asistanlara sahip ol",
60
+ "f4": "Güçlü eklentileri keşfet",
61
+ "title": "Giriş yaptıktan sonra şunları yapabilirsiniz:"
62
+ },
56
63
  "messages": "Mesajlar",
57
64
  "modelsRank": {
58
65
  "left": "Model",
@@ -69,7 +76,8 @@
69
76
  "title": "Konu İçerik Sıralaması"
70
77
  },
71
78
  "updatedAt": "Güncellenme tarihi",
72
- "welcome": "{{username}}, bu {{appName}} ile geçirdiğin <span>{{days}}</span> gün."
79
+ "welcome": "{{username}}, bu {{appName}} ile geçirdiğin <span>{{days}}</span> gün.",
80
+ "words": "Toplam kelime sayısı"
73
81
  },
74
82
  "tab": {
75
83
  "profile": "Profil",
@@ -53,6 +53,13 @@
53
53
  "title": "Không có dữ liệu"
54
54
  },
55
55
  "lastYearActivity": "hoạt động trong năm qua",
56
+ "loginGuide": {
57
+ "f1": "Nhận lượng sử dụng miễn phí",
58
+ "f2": "Đồng bộ tin nhắn trên nhiều thiết bị",
59
+ "f3": "Sở hữu trợ lý phong phú",
60
+ "f4": "Khám phá các plugin mạnh mẽ",
61
+ "title": "Sau khi đăng nhập, bạn có thể:"
62
+ },
56
63
  "messages": "Tin nhắn",
57
64
  "modelsRank": {
58
65
  "left": "Mô hình",
@@ -53,6 +53,13 @@
53
53
  "title": "暂无数据"
54
54
  },
55
55
  "lastYearActivity": "过去一年活跃度",
56
+ "loginGuide": {
57
+ "f1": "获取免费用量",
58
+ "f2": "多端同步消息",
59
+ "f3": "拥有丰富助手",
60
+ "f4": "探索强大插件",
61
+ "title": "登陆后你可以:"
62
+ },
56
63
  "messages": "消息数",
57
64
  "modelsRank": {
58
65
  "left": "模型名称",
@@ -53,6 +53,13 @@
53
53
  "title": "暫無數據"
54
54
  },
55
55
  "lastYearActivity": "過去一年活躍度",
56
+ "loginGuide": {
57
+ "f1": "獲取免費用量",
58
+ "f2": "多端同步消息",
59
+ "f3": "擁有豐富助手",
60
+ "f4": "探索強大插件",
61
+ "title": "登錄後你可以:"
62
+ },
56
63
  "messages": "消息數",
57
64
  "modelsRank": {
58
65
  "left": "模型名稱",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lobehub/chat",
3
- "version": "1.43.0",
3
+ "version": "1.43.2",
4
4
  "description": "Lobe Chat - an open-source, high-performance chatbot framework that supports speech synthesis, multimodal, and extensible Function Call plugin system. Supports one-click free deployment of your private ChatGPT/LLM web application.",
5
5
  "keywords": [
6
6
  "framework",
@@ -1,7 +1,15 @@
1
+ import { Suspense } from 'react';
2
+
3
+ import SkeletonLoading from '@/components/Loading/SkeletonLoading';
4
+
1
5
  import CategoryContent from './features/CategoryContent';
2
6
 
3
7
  const Category = () => {
4
- return <CategoryContent />;
8
+ return (
9
+ <Suspense fallback={<SkeletonLoading paragraph={{ rows: 7 }} title={false} />}>
10
+ <CategoryContent />
11
+ </Suspense>
12
+ );
5
13
  };
6
14
 
7
15
  Category.displayName = 'SettingCategory';
@@ -1,10 +1,12 @@
1
1
  'use client';
2
2
 
3
3
  import { createStyles } from 'antd-style';
4
+ import { Suspense } from 'react';
4
5
  import { useTranslation } from 'react-i18next';
5
6
  import { Flexbox, FlexboxProps } from 'react-layout-kit';
6
7
 
7
8
  import BrandWatermark from '@/components/BrandWatermark';
9
+ import CircleLoading from '@/components/Loading/CircleLoading';
8
10
  import PanelTitle from '@/components/PanelTitle';
9
11
 
10
12
  const useStyles = createStyles(({ token, css }) => ({
@@ -33,7 +35,7 @@ const SidebarLayout = ({ children, className, title, desc, ...rest }: SidebarLay
33
35
  {...rest}
34
36
  >
35
37
  <PanelTitle desc={desc || t('header.desc')} title={title || t('header.title')} />
36
- {children}
38
+ <Suspense fallback={<CircleLoading />}>{children}</Suspense>
37
39
  <BrandWatermark paddingInline={12} />
38
40
  </Flexbox>
39
41
  );
@@ -71,9 +71,9 @@ export const TopicsRank = memo(() => {
71
71
  <BarList
72
72
  data={data?.map((item) => mapData(item)) || []}
73
73
  height={340}
74
- leftLabel={t('stats.assistantsRank.left')}
74
+ leftLabel={t('stats.modelsRank.left')}
75
75
  loading={isLoading || !data}
76
- rightLabel={t('stats.assistantsRank.right')}
76
+ rightLabel={t('stats.modelsRank.right')}
77
77
  />
78
78
  </Modal>
79
79
  )}
@@ -10,6 +10,7 @@ import { useTranslation } from 'react-i18next';
10
10
  import { Flexbox } from 'react-layout-kit';
11
11
 
12
12
  import { FORM_STYLE } from '@/const/layoutTokens';
13
+ import { INBOX_SESSION_ID } from '@/const/session';
13
14
  import { useClientDataSWR } from '@/libs/swr';
14
15
  import { topicService } from '@/services/topic';
15
16
  import { TopicRankItem } from '@/types/topic';
@@ -28,7 +29,7 @@ export const TopicsRank = memo(() => {
28
29
  const mapData = (item: TopicRankItem) => {
29
30
  const link = qs.stringifyUrl({
30
31
  query: {
31
- session: item.sessionId,
32
+ session: item.sessionId || INBOX_SESSION_ID,
32
33
  topic: item.id,
33
34
  },
34
35
  url: '/chat',
@@ -89,10 +90,10 @@ export const TopicsRank = memo(() => {
89
90
  <BarList
90
91
  data={data?.map((item) => mapData(item)) || []}
91
92
  height={340}
92
- leftLabel={t('stats.assistantsRank.left')}
93
+ leftLabel={t('stats.topicsRank.left')}
93
94
  loading={isLoading || !data}
94
95
  onValueChange={(item) => router.push(item.link)}
95
- rightLabel={t('stats.assistantsRank.right')}
96
+ rightLabel={t('stats.topicsRank.right')}
96
97
  />
97
98
  </Modal>
98
99
  )}
@@ -49,7 +49,7 @@ const Welcome = memo<{ mobile?: boolean }>(({ mobile }) => {
49
49
  components={{
50
50
  span:
51
51
  isLoading || !data ? (
52
- <Skeleton.Button active style={{ height: 24 }} />
52
+ <Skeleton.Button active style={{ height: 24, minWidth: 40, width: 40 }} />
53
53
  ) : (
54
54
  <span style={{ fontWeight: 'bold' }} />
55
55
  ),
@@ -3,13 +3,10 @@ import type { MetadataRoute } from 'next';
3
3
 
4
4
  import { BRANDING_LOGO_URL, BRANDING_NAME } from '@/const/branding';
5
5
  import { manifestModule } from '@/server/manifest';
6
- import { translation } from '@/server/translation';
7
-
8
- const manifest = async (): Promise<MetadataRoute.Manifest | any> => {
9
- const { t } = await translation('metadata');
10
6
 
7
+ const manifest = (): MetadataRoute.Manifest | any => {
11
8
  return manifestModule.generate({
12
- description: t('chat.description', { appName: BRANDING_NAME }),
9
+ description: `${BRANDING_NAME} brings you the best UI experience for ChatGPT, Claude, Gemini, and OLLaMA.`,
13
10
  icons: [
14
11
  {
15
12
  purpose: 'any',
@@ -1278,14 +1278,14 @@ describe('MessageModel', () => {
1278
1278
  (item) => item.date === today.subtract(2, 'day').format('YYYY-MM-DD'),
1279
1279
  );
1280
1280
  expect(twoDaysAgo?.count).toBe(2);
1281
- expect(twoDaysAgo?.level).toBe(0);
1281
+ expect(twoDaysAgo?.level).toBe(1);
1282
1282
 
1283
1283
  // 检查一天前的数据
1284
1284
  const oneDayAgo = result.find(
1285
1285
  (item) => item.date === today.subtract(1, 'day').format('YYYY-MM-DD'),
1286
1286
  );
1287
1287
  expect(oneDayAgo?.count).toBe(1);
1288
- expect(oneDayAgo?.level).toBe(0);
1288
+ expect(oneDayAgo?.level).toBe(1);
1289
1289
 
1290
1290
  // 检查今天的数据
1291
1291
  const todayData = result.find((item) => item.date === today.format('YYYY-MM-DD'));
@@ -1356,25 +1356,25 @@ describe('MessageModel', () => {
1356
1356
  (item) => item.date === today.subtract(4, 'day').format('YYYY-MM-DD'),
1357
1357
  );
1358
1358
  expect(fourDaysAgo?.count).toBe(1);
1359
- expect(fourDaysAgo?.level).toBe(0);
1359
+ expect(fourDaysAgo?.level).toBe(1);
1360
1360
 
1361
1361
  const threeDaysAgo = result.find(
1362
1362
  (item) => item.date === today.subtract(3, 'day').format('YYYY-MM-DD'),
1363
1363
  );
1364
1364
  expect(threeDaysAgo?.count).toBe(6);
1365
- expect(threeDaysAgo?.level).toBe(1);
1365
+ expect(threeDaysAgo?.level).toBe(2);
1366
1366
 
1367
1367
  const twoDaysAgo = result.find(
1368
1368
  (item) => item.date === today.subtract(2, 'day').format('YYYY-MM-DD'),
1369
1369
  );
1370
1370
  expect(twoDaysAgo?.count).toBe(11);
1371
- expect(twoDaysAgo?.level).toBe(2);
1371
+ expect(twoDaysAgo?.level).toBe(3);
1372
1372
 
1373
1373
  const oneDayAgo = result.find(
1374
1374
  (item) => item.date === today.subtract(1, 'day').format('YYYY-MM-DD'),
1375
1375
  );
1376
1376
  expect(oneDayAgo?.count).toBe(16);
1377
- expect(oneDayAgo?.level).toBe(3);
1377
+ expect(oneDayAgo?.level).toBe(4);
1378
1378
 
1379
1379
  const todayData = result.find((item) => item.date === today.format('YYYY-MM-DD'));
1380
1380
  expect(todayData?.count).toBe(21);
@@ -378,7 +378,7 @@ export class MessageModel {
378
378
  );
379
379
 
380
380
  const count = matchingResult ? matchingResult.count : 0;
381
- const levelCount = count > 0 ? Math.floor(count / 5) : 0;
381
+ const levelCount = count > 0 ? Math.ceil(count / 5) : 0;
382
382
  const level = levelCount > 4 ? 4 : levelCount;
383
383
 
384
384
  heatmapData.push({
@@ -130,6 +130,7 @@ export class SessionModel {
130
130
  title: agents.title,
131
131
  })
132
132
  .from(sessions)
133
+ .where(and(eq(sessions.userId, this.userId)))
133
134
  .leftJoin(topics, eq(sessions.id, topics.sessionId))
134
135
  .leftJoin(agentsToSessions, eq(sessions.id, agentsToSessions.sessionId))
135
136
  .leftJoin(agents, eq(agentsToSessions.agentId, agents.id))
@@ -146,7 +147,7 @@ export class SessionModel {
146
147
  count: count(topics.id).as('count'),
147
148
  })
148
149
  .from(topics)
149
- .where(isNull(topics.sessionId));
150
+ .where(and(eq(topics.userId, this.userId), isNull(topics.sessionId)));
150
151
 
151
152
  const inboxCount = inboxResult[0].count;
152
153
 
@@ -136,6 +136,7 @@ export class TopicModel {
136
136
  title: topics.title,
137
137
  })
138
138
  .from(topics)
139
+ .where(and(eq(topics.userId, this.userId)))
139
140
  .leftJoin(messages, eq(topics.id, messages.topicId))
140
141
  .groupBy(topics.id)
141
142
  .orderBy(desc(sql`count`))
@@ -53,6 +53,13 @@ export default {
53
53
  title: '暂无数据',
54
54
  },
55
55
  lastYearActivity: '过去一年活跃度',
56
+ loginGuide: {
57
+ f1: '获取免费用量',
58
+ f2: '多端同步消息',
59
+ f3: '拥有丰富助手',
60
+ f4: '探索强大插件',
61
+ title: '登陆后你可以:',
62
+ },
56
63
  messages: '消息数',
57
64
  modelsRank: {
58
65
  left: '模型名称',