Skip to content

Commit

Permalink
Merge branch 'main' of https://github.com/lobehub/lobe-chat
Browse files Browse the repository at this point in the history
  • Loading branch information
actions-user committed Jan 3, 2025
2 parents 763eb41 + 0280c1d commit 255bab2
Show file tree
Hide file tree
Showing 141 changed files with 5,301 additions and 721 deletions.
83 changes: 83 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,89 @@

# Changelog

### [Version 1.43.1](https://github.com/lobehub/lobe-chat/compare/v1.43.0...v1.43.1)

<sup>Released on **2025-01-03**</sup>

#### 🐛 Bug Fixes

- **misc**: Fix stats data query issue.

<br/>

<details>
<summary><kbd>Improvements and Fixes</kbd></summary>

#### What's fixed

- **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))

</details>

<div align="right">

[![](https://img.shields.io/badge/-BACK_TO_TOP-151515?style=flat-square)](#readme-top)

</div>

## [Version 1.43.0](https://github.com/lobehub/lobe-chat/compare/v1.42.6...v1.43.0)

<sup>Released on **2025-01-03**</sup>

#### ✨ Features

- **misc**: Add User Stats and Refactor Profile.

#### 🐛 Bug Fixes

- **misc**: Fix chat page error.

<br/>

<details>
<summary><kbd>Improvements and Fixes</kbd></summary>

#### What's improved

- **misc**: Add User Stats and Refactor Profile, closes [#5149](https://github.com/lobehub/lobe-chat/issues/5149) ([cbc219c](https://github.com/lobehub/lobe-chat/commit/cbc219c))

#### What's fixed

- **misc**: Fix chat page error, closes [#5280](https://github.com/lobehub/lobe-chat/issues/5280) ([315e626](https://github.com/lobehub/lobe-chat/commit/315e626))

</details>

<div align="right">

[![](https://img.shields.io/badge/-BACK_TO_TOP-151515?style=flat-square)](#readme-top)

</div>

### [Version 1.42.6](https://github.com/lobehub/lobe-chat/compare/v1.42.5...v1.42.6)

<sup>Released on **2025-01-03**</sup>

#### ♻ Code Refactoring

- **misc**: Fix zero-sized element in topic list.

<br/>

<details>
<summary><kbd>Improvements and Fixes</kbd></summary>

#### Code refactoring

- **misc**: Fix zero-sized element in topic list, closes [#5272](https://github.com/lobehub/lobe-chat/issues/5272) ([3e300c4](https://github.com/lobehub/lobe-chat/commit/3e300c4))

</details>

<div align="right">

[![](https://img.shields.io/badge/-BACK_TO_TOP-151515?style=flat-square)](#readme-top)

</div>

### [Version 1.42.5](https://github.com/lobehub/lobe-chat/compare/v1.42.4...v1.42.5)

<sup>Released on **2025-01-02**</sup>
Expand Down
22 changes: 22 additions & 0 deletions changelog/v1.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,26 @@
[
{
"children": {
"fixes": ["Fix stats data query issue."]
},
"date": "2025-01-03",
"version": "1.43.1"
},
{
"children": {
"features": ["Add User Stats and Refactor Profile."],
"fixes": ["Fix chat page error."]
},
"date": "2025-01-03",
"version": "1.43.0"
},
{
"children": {
"improvements": ["Fix zero-sized element in topic list."]
},
"date": "2025-01-03",
"version": "1.42.6"
},
{
"children": {
"fixes": ["Fix topic mobile view ui error."]
Expand Down
1 change: 1 addition & 0 deletions docs/.cdn.cache.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
"https://github.com/user-attachments/assets/29508dda-2382-430f-bc81-fb23f02149f8": "/blog/assets/29b13dc042e3b839ad8865354afe2fac.webp",
"https://github.com/user-attachments/assets/2a4116a7-15ad-43e5-b801-cc62d8da2012": "/blog/assets/37d85fdfccff9ed56e9c6827faee01c7.webp",
"https://github.com/user-attachments/assets/385eaca6-daea-484a-9bea-ba7270b4753d": "/blog/assets/d6129350de510a62fe87b2d2f0fb9477.webp",
"https://github.com/user-attachments/assets/3d80e0f5-d32a-4412-85b2-e709731460a0": "/blog/assets2d409f43b58953ad5396c6beab8a0719.webp",
"https://github.com/user-attachments/assets/484f28f4-017c-4ed7-948b-4a8d51f0b63a": "/blog/assets/5bbb4b421d6df63780b3c7a05f5a102d.webp",
"https://github.com/user-attachments/assets/533f7a5e-8a93-4a57-a62f-8233897d72b5": "/blog/assets/9498087e85f27e692716a63cb3b58d79.webp",
"https://github.com/user-attachments/assets/6069332b-8e15-4d3c-8a77-479e8bc09c23": "/blog/assets/603fefbb944bc6761ebdab5956fc0084.webp",
Expand Down
27 changes: 27 additions & 0 deletions docs/changelog/2025-01-03-user-profile.mdx
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
---
title: LobeChat Supports User Data Statistics and Activity Sharing
description: >-
LobeChat now supports multi-dimensional user data statistics and activity
sharing
---

# User Data Statistics and Activity Sharing 💯

Want to know about your activity performance on LobeChat?

Now, you can comprehensively understand your AI data through the statistics feature, and even generate personal activity sharing images to share your LobeChat activity with friends.

## 📊 Data Statistics

- **Statistics**: Number of Assistants / Topics / Messages / Total Word Count
- **Rankings**:
- Model Usage Rate `Top 10`
- Assistant Usage Rate `Top 10`
- Topic Content Volume `Top 10`
- **Heat Map**: Activity distribution over the past year
- **User Activity Sharing**: Generate personal activity sharing images

## 👉 How to Use

1. Requires `PgLite` or `Database` mode
2. Click on your profile picture to enter "Account" - "Data Statistics" page
26 changes: 26 additions & 0 deletions docs/changelog/2025-01-03-user-profile.zh-CN.mdx
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
---
title: LobeChat 支持用户数据统计与活跃度分享
description: LobeChat 现已支持多维度用户数据统计与活跃度分享
---

# 用户数据统计与活跃度分享 💯

想要了解自己在 LobeChat 上的活跃度表现吗?

现在,您可以通过数据统计功能,全方位了解自己的 AI 数据,还可以生成个人活跃度分享图片,与好友分享您在 LobeChat 上的活跃度。

## 📊 数据统计

- **数据统计**: 助手数 / 话题数 / 消息数 / 累计字数
- **排行版**:
- 模型使用率 `Top 10`
- 助手使用率 `Top 10`
- 话题内容量 `Top 10`
- **热力图**: 过去一年内的活跃度分布
- **用户活跃度分享**: 生成个人活跃度分享图片

## 👉 使用方式

1. 需要使用 `PgLite``数据库` 模式
2. 点击个人头像进入「账户管理」-「数据统计」页面

4 changes: 3 additions & 1 deletion docs/self-hosting/advanced/auth/next-auth/wechat.mdx
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
---
title: Configure Wechat Authentication Service in LobeChat
description: Learn how to configure Wechat authentication service in LobeChat, including creating a new Wechat App, setting permissions, and environment variables.
description: >-
Learn how to configure Wechat authentication service in LobeChat, including
creating a new Wechat App, setting permissions, and environment variables.
tags:
- Wechat Authentication
- Wechat App
Expand Down
4 changes: 2 additions & 2 deletions docs/self-hosting/advanced/auth/next-auth/wechat.zh-CN.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
title: 在 LobeChat 中配置微信身份验证服务
description: 学习如何在 LobeChat 中配置微信身份验证服务,包括创建新的微信网站应用、设置权限和环境变量。
tags:
-微信身份验证
-微信网站应用
- 微信身份验证
- 微信网站应用
- 环境变量配置
- 单点登录
- LobeChat
Expand Down
87 changes: 83 additions & 4 deletions locales/ar/auth.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,87 @@
{
"date": {
"prevMonth": "الشهر الماضي",
"recent30Days": "آخر 30 يومًا"
},
"header": {
"desc": "إدارة معلومات حسابك.",
"title": "الحساب"
},
"heatmaps": {
"legend": {
"less": "غير نشط",
"more": "نشط"
},
"months": {
"apr": "أبريل",
"aug": "أغسطس",
"dec": "ديسمبر",
"feb": "فبراير",
"jan": "يناير",
"jul": "يوليو",
"jun": "يونيو",
"mar": "مارس",
"may": "مايو",
"nov": "نوفمبر",
"oct": "أكتوبر",
"sep": "سبتمبر"
},
"tooltip": "{{date}} أرسل {{count}} رسائل في ذلك اليوم",
"totalCount": "إجمالي {{count}} رسائل أرسلت في العام الماضي"
},
"login": "تسجيل الدخول",
"loginOrSignup": "تسجيل الدخول / التسجيل",
"profile": "الملف الشخصي",
"security": "الأمان",
"loginOrSignup": "تسجيل الدخول / الاشتراك",
"profile": {
"avatar": "الصورة الشخصية",
"email": "عنوان البريد الإلكتروني",
"username": "اسم المستخدم"
},
"signout": "تسجيل الخروج",
"signup": "التسجيل"
"signup": "الاشتراك",
"stats": {
"aiheatmaps": "مؤشر النشاط",
"assistants": "المساعدون",
"assistantsRank": {
"left": "المساعد",
"right": "المواضيع",
"title": "ترتيب استخدام المساعد"
},
"createdAt": "تاريخ التسجيل",
"days": "أيام",
"empty": {
"desc": "يرجى تجميع المزيد من بيانات الدردشة للعرض",
"title": "لا توجد بيانات"
},
"lastYearActivity": "النشاط في العام الماضي",
"loginGuide": {
"f1": "احصل على استخدام مجاني",
"f2": "مزامنة الرسائل عبر الأجهزة المتعددة",
"f3": "تمتع بمساعدين متنوعين",
"f4": "استكشف الإضافات القوية",
"title": "بعد تسجيل الدخول يمكنك:"
},
"messages": "رسائل",
"modelsRank": {
"left": "النموذج",
"right": "الرسائل",
"title": "ترتيب استخدام النموذج"
},
"share": {
"title": "مؤشر نشاط الذكاء الاصطناعي الخاص بي"
},
"topics": "المواضيع",
"topicsRank": {
"left": "الموضوع",
"right": "الرسائل",
"title": "ترتيب محتوى الموضوع"
},
"updatedAt": "تاريخ التحديث",
"welcome": "{{username}}، هذا هو يومك <span>{{days}}</span> مع {{appName}}",
"words": "كلمات"
},
"tab": {
"profile": "الملف الشخصي",
"security": "الأمان",
"stats": "الإحصائيات"
}
}
85 changes: 82 additions & 3 deletions locales/bg-BG/auth.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,87 @@
{
"date": {
"prevMonth": "Миналия месец",
"recent30Days": "Последните 30 дни"
},
"header": {
"desc": "Управлявайте информацията за вашия акаунт.",
"title": "Акаунт"
},
"heatmaps": {
"legend": {
"less": "Неактивен",
"more": "Активен"
},
"months": {
"apr": "Апр",
"aug": "Авг",
"dec": "Дек",
"feb": "Фев",
"jan": "Ян",
"jul": "Юл",
"jun": "Юн",
"mar": "Мар",
"may": "Май",
"nov": "Ное",
"oct": "Окт",
"sep": "Сеп"
},
"tooltip": "{{date}} изпратил(а) {{count}} съобщения този ден",
"totalCount": "Общо {{count}} съобщения изпратени през последната година"
},
"login": "Вход",
"loginOrSignup": "Вход / Регистрация",
"profile": "Профил",
"security": "Сигурност",
"profile": {
"avatar": "Аватар",
"email": "Имейл адрес",
"username": "Потребителско име"
},
"signout": "Изход",
"signup": "Регистрация"
"signup": "Регистрация",
"stats": {
"aiheatmaps": "Индекс на активност",
"assistants": "Асистенти",
"assistantsRank": {
"left": "Асистент",
"right": "Тематики",
"title": "Ранг на използване на асистенти"
},
"createdAt": "Регистриран на",
"days": "дни",
"empty": {
"desc": "Моля, натрупайте повече данни от чат, за да видите",
"title": "Няма данни"
},
"lastYearActivity": "активност през последната година",
"loginGuide": {
"f1": "Получете безплатен лимит",
"f2": "Синхронизирайте съобщения на множество устройства",
"f3": "Разполагайте с богат асистент",
"f4": "Изследвайте мощни приставки",
"title": "След влизане можете да:"
},
"messages": "Съобщения",
"modelsRank": {
"left": "Модел",
"right": "Съобщения",
"title": "Ранг на използване на модели"
},
"share": {
"title": "Моят индекс на активност с ИИ"
},
"topics": "Тематики",
"topicsRank": {
"left": "Тематика",
"right": "Съобщения",
"title": "Ранг на съдържание на тематики"
},
"updatedAt": "Актуализиран на",
"welcome": "{{username}}, това е вашият <span>{{days}}</span> ден с {{appName}}",
"words": "Думи"
},
"tab": {
"profile": "Профил",
"security": "Сигурност",
"stats": "Статистика"
}
}
Loading

0 comments on commit 255bab2

Please sign in to comment.