Commit Graph

22 Commits

Author SHA1 Message Date
Arvin Xu 9349ce2d2f 🐛 fix: disable rich text in markdown editor (#9637)
* clean

* update

* add labs

* fix

* improve

* update

* fix

* hide lab

* improve workflow
2025-10-11 15:59:56 +08:00
CanisMinor 38d9d98b97 feat: ChatInput support rich text and support parallel send (#8964)
*  feat: Add LobeEditor

* fix tests

* fix mobile

---------

Co-authored-by: arvinxx <arvinx@foxmail.com>
2025-09-06 09:51:52 +08:00
Arvin Xu 9fb4b0dfc3 ♻️ refactor: add badge and improve document (#8528)
* update readme

* 📝 docs: Update readme

* 💄 style: Update PlanIcon

* improve tooltip placement

* improve tray

---------

Co-authored-by: canisminor1990 <i@canisminor.cc>
2025-07-22 13:43:57 +08:00
YuTengjing 095de57675 feat: support AI Image (#8312)
Co-authored-by: canisminor1990 <i@canisminor.cc>
2025-07-14 20:29:57 +08:00
CanisMinor 6913f70633 feat: upgrade to lobe ui v2 with better design style (#7238)
* ♻️ refactor: migrate to @lobehub/ui v2

* 🐛 fix: Fix form

* 💄 style: Update style

* 💄 style: Update form style

*  test: Fix test

* 💄 style: Update actionbar style

* upgrade

* 💄 style: Update discover style

* 💄 style: Update ui

* 💄 style: Update darkmod

* 💄 style: Update style

* 🐛 fix: Fix review problem

* 💄 style: Fix mobile style

* 💄 style: Update modal style

* 💄 style: Update form

* 🔧 chore: Update i18n

* 💄 style: Fix preview style problem

* 🔧 chore: Update pkg
2025-04-28 16:29:41 +08:00
Arvin Xu 0085e639b8 💄 style: support update tool calling params and trigger again (#7476)
* update client ipc

* test web prebuild

* update i18n

* support update tools calling params

* add local files tools

* fix docker build flow

* fix suspense
2025-04-19 14:13:09 +08:00
Arvin Xu b12b24018e 🔨 chore: add OAuth 2.0 and OIDC core implement (#7380)
* add oidc implement

* add oidc implement

* update

* update

* migration db

* improve

* improve scripts

* update

* 解决 auth 302 跳转的问题

* 完成 policy 实现调试

* improve middleware log

* 初步完成 auth 授权实现

* 初步完成 auth 授权实现

* fix adapter

* add adapter tests

* refactor with http adapter

* refactor for oidc service

* finish oauth 授权基础实现

* 区分 backend 入口与 client 页面入口

* add i18n

* update db schema

* fix lint

* improve

* fix tests and update i18n

* improve db adaptor

* fix tests

* fix tests

* fix tests
2025-04-13 00:49:31 +08:00
CanisMinor 9773e74233 feat: add Hotkey Settings (#7118)
* 💄 style: Replace Hotkey components

*  feat(wip): Add Hotkey Setting

* 💄 style: Update Hotkey Setting

*  feat: Add HotkeyProvider

*  test: Fix test

* ♻️ refactor: Update hotkey register

* 🔧 chore: Update i18n

*  test: Update test

* 🔧 chore: Update i18n

* 🐛 fix: Fix lobe ui

*  feat: Add Hotkey Helper Panel

* 🐛 fix: Fix build

* 🔧 chore: Update migrations

* 🐛 fix: Try to fix build

* 🐛 fix: Try to fix build

* 🐛 fix: Fix some error

* 🔧 chore: Try to update nuqs

* 🐛 fix: Try to fix build

* 🐛 fix: Fix build

* 💄 style: Replace OpenHotkeyHelper hotkey

* 🐛 fix: Fix review problem

* 🐛 fix: Fix review problem

* 💄 style: Change TogglePanel Hotkey

* update

---------

Co-authored-by: arvinxx <arvinx@foxmail.com>
2025-03-28 21:57:41 +08:00
CanisMinor df3ac87bb3 feat: Add changelog modal (#4800)
*  feat: Add changelog modal

* 💄 style: Update changelog style

*  test: Add test

* 🔧 chore: Add CDN workflow

*  test: Fix test

*  test: Fix test

* 📝 docs: Update changelog

* 📝 docs: Update cdn

* refactor version

* feat: 实现 changelog 初始化入口,新增后端应用层状态初始化入口

* 🐛 fix: Fix useCheckLatestChangelogId

* 🔧 chore: Update types

* 🐛 fix: Fix lint

* upgrade

*  feat: Update env

* 🔧 chore: Rename DOC_S3 env

*  test: Update test

* 👷 ci: Fix build lint error

* ♻️ refactor: Refactor models

* 💄 style: Add feature flag

*  test: Fix test

* 💄 style: Rm mobile modal

* 💄 style: Update canonical url

---------

Co-authored-by: arvinxx <arvinx@foxmail.com>
2024-12-26 11:02:47 +08:00
Arvin Xu 832f0ceb35 feat: Forkable Chat Mode (#4632)
*  feat: 初步完成 forkable 对话能力

 feat: 支持自动总结

portal thread 支持 plugin 调用

 test: fix tests

💄 style: improve topic thread style

💄 style: support action bar

💄 style: finish footer part

♻️ refactor: refactor the token

 feat: 初步完成 thread 新建与继续对话

 feat: 支持并完善 main thread 下的对话能力

 feat: 支持切换 thread 激活态

💄 style: fix style

🐛 fix: fix the thread open logic

💄 style: finish thread style

 feat: 初步实现分支话题选择和子话题切换

💄 style: finish thread in chat

💄 style: show thread item in chat

 feat: support portal thread id

 feat: 增加 thread 展示项

💄 style: 强提示用户子话题暂不支持上传文件/图片等

️ perf: refactor to improve chat performance

* 🐛 fix: fix thread history length

* 🐛 fix: fix plugin in portal thread

* 🐛 fix: disable delete on source message

* 发送 Thread 消息时只 loading Thread 的 send button

* fix lint

* 激活 Thread 的情况下暂不支持创建子 Thread

* fix lint

* 支持 portal 的移动端展示

* improve portal thread style

* 🌐 chore: update i18n

* 🌐 chore: update i18n

* 🐛 fix: fix tool display

* 🐛 fix: not fetch thread on client side

* ♻️ refactor: refactor the migration sql
2024-11-26 21:48:37 +08:00
Arvin Xu 6ff70895f9 feat: support group topics by time (#4603)
*  feat: support change topic display mode

* ♻️ refactor: 重构 locales 实现

* 🧪 test: fix tests

* 💄 style: use byTime mode by default

* 🌐 chore: update locale

* 🔥 chore: clean code

* 🔥 chore: clean code

*  test: add tests

* 💄 style: improve active state

* 💄 style: improve active state
2024-11-05 02:27:09 +08:00
CanisMinor f83cab6043 feat: Add Discover Page (#3848)
*  feat: Add Discover

* 💄 style: Update provider id

*  feat: Add provider mdx docs

* ♻️ refactor: Refactor service

*  test: Fix test

*  test: Fix Test

* 🔧 chore: Move docService to server

* 💄 style: Replace ProductLogo

* 🐛 fix: Fix const

*  feat: Update Discover provider and model

* 💄 style: Update ShareIcon

* 💄 style: Update share style

*  test: Update test

* fix

* fix

* 💄 style: Update style

* 💄 style: Update style

* 🐛 fix: Fix test

*  feat: Support alternate

*  feat: Add Disociver Intercepting Modal

* 🐛 fix: Fix link

* 🐛 fix: Fix Link

* ♻️ refactor: Use type query in search

* 🐛 fix: Fix review problem

* 📝 docs: Update i18n
2024-09-18 17:08:41 +08:00
Arvin Xu 4244c04223 🐛 fix: fix .PDF can not be chunked (#3720)
*  feat: support eval page

*  feat: 完善数据集页面

*  feat: 完善数据集页面

*  feat: 新增评测任务页面

*  feat: 新增评测任务页面

* 🚧 wip: 新增评测任务功能

*  feat: 完成评测执行流程

* 🐛 fix: 支持 evaluation 的删除和创建

* 支持任务状态展示和数据下载

* fix langchain 分块后缀识别

* fix i18n

* fix auth

* ♻️ refactor: 重构db

* 先添加默认模型
2024-09-03 21:28:23 +08:00
Arvin Xu 6574c01843 feat: files and knowledge base (#3487)
*  feat: add files and knowledge base

Update edge.ts

Update test.yml

🎨 chore: fix locale

Update index.tsx

测试 pgvector workflow

* 💄 style: improve upload detail

*  feat: support delete s3 file when delete files

* 💄 style: improve chunks in message

* ♻️ refactor: refactor the auth method

*  feat: support use user client api key

* 💄 style: fix image list in mobile

*  feat: support file upload on mobile

*  test: fix test

* fix vercel build

* docs: update docs

* 👷 build: improve docker

* update i18n
2024-08-21 21:28:29 +08:00
Arvin Xu e7c1ba8f74 ♻️ refactor: refactor to prepare for Chat Portal (#3093)
*  feat: add dock

* ♻️ refactor: add plugin render

*  test: add tests

*  test: add tests

*  test: add tests

* ♻️ refactor: refactor and add tests

*  test: fix tests

*  test: fix tests

* move files

* refactor

* 🌐 chore: add locale
2024-07-01 16:18:37 +08:00
CanisMinor 6e9c69a8f6 💄 style: add PWA install and metadata & ld generate (#2438)
*  feat: Add PWA install button

* 🐛 fix: Fix review problem

* 🐛 fix: Fix review problem

* 🔧 chore: Update i18n

* 🔧 chore: Update metadata

* 🐛 fix: Fix preview problem

* 🐛 fix: Fix title

* 🔧 chore: Update pwa i18n
2024-05-13 20:36:16 +08:00
Arvin Xu bf8ef1f862 feat: support clerk as auth provider (#2374)
*  feat: support clerk as auth provider

* ♻️ refactor: refactor the auth env config to `s3-oss/env`

*  test: add test for the theme mode and action

* 💄 style: fix style

* 🌐 chore: update locale

*  test: add more test

* 🎨 chore: clean code

* 📝 docs: update docs
2024-05-05 23:15:40 +08:00
arvinxx a069169de9 ♻️ refactor: refactor api key form locale 2024-04-11 00:36:05 +08:00
arvinxx 72fd873a76 feat: support user config model 2024-04-11 00:36:04 +08:00
arvinxx 8daf3acfec 🚸 style: improve topic scroll 2024-01-06 23:08:22 +08:00
Arvin Xu e39d199398 feat: support Dall·E 3 (#697)
*  feat: add dalle image generation api

*  feat: support to generate images with dalle3

*  test: update test for the tool

* 🌐 docs: update i18n

* 💄 style: improve style

* 🚸 style: improve image generate process
2023-12-22 22:23:30 +08:00
Arvin Xu 2e295b2e42 ️ perf: use dynamic locale to reduce bundle size (#752)
* ️ perf: refactor to use dynamic locale

* ️ perf: refactor to use dynamic locale

* ♻️ refactor: refactor the locale code
2023-12-22 14:59:19 +08:00