Commit Graph

65 Commits

Author SHA1 Message Date
zhaoweijie
635e792e22 refactor(layout): 重构布局组件并添加视频播放功能
-重写 Header 组件,使用新的 OptionLayoutContext 替代 HistoryContext
- 新增 VideoPlayer 组件,用于播放视频
- 更新 Playground 组件,集成新的侧边栏和视频播放功能
- 重构 Layout 组件,支持新的选项布局
- 更新相关路由和导出导入逻辑,以支持上述更改
2025-08-25 19:40:02 +08:00
zhaoweijie
2b4885ae2d refactor(iod): 重构数联网相关组件和逻辑
-优化了 Data、Scene 和 Team组件的逻辑,使用 currentIodMessage 替代复杂的条件判断- 改进了 IodRelevant 组件的动画和数据处理方式
- 调整了 Message 组件以支持数联网搜索功能
- 重构了 PlaygroundIodProvider,简化了上下文类型和数据处理
- 更新了数据库相关操作,使用新的 HistoryMessage 类型
- 新增了 IodDb 类来管理数联网连接配置
2025-08-24 19:00:49 +08:00
zhaoweijie
f9763778fa refactor(components): 重构碘搜索相关组件
- 优化 IodRelevant 组件中的加载状态和计数器动画
- 重构 PlaygroundIod 组件,使用新的 PlaygroundIodProvider 组件
- 改进 Context 提供的数据结构,使用更准确的命名
2025-08-24 13:04:43 +08:00
zhaoweijie
cb6c3c225b refactor(web): 优化 IOD 相关组件和 hooks
- 修改 IodRelevant 组件,根据搜索状态动态显示文本
- 更新 useMessage hook,添加调试断点
- 重构 iod.ts 中的 IoDSources 处理逻辑
2025-08-24 12:44:02 +08:00
CaiHQ
ecb90d9035 update search hint 2025-08-23 23:20:08 +08:00
CaiHQ
e21c52cb22 update data and team 2025-08-23 20:47:04 +08:00
zhaoweijie
a9d1f1a94f feat(i18n): 优化国际化文案并调整 UI 样式
- 修改系统重置文案为清除最近对话
- 优化历史记录列表样式,增加截断显示
- 调整卡片阴影样式
- 在头部增加收藏、分享和消息的 Tooltip 提示
2025-08-23 20:39:40 +08:00
zhaoweijie
50af75d347 refactor(components): 重构 Playground组件中的数据展示逻辑
-移除了 useEffect 钩用,改用函数式组件的按需渲染
- 优化了 Header组件的点击事件处理,提高代码复用性
- 统一了数据加载和展示的逻辑,提升组件可维护性
2025-08-23 20:22:01 +08:00
zhaoweijie
e0e41d7e21 feat(components): 新增图标组件并优化历史记录功能
- 新增 Bell、Collect 和 NotCollect 图标组件
- 优化 History 组件,添加隐藏 logo 功能
- 调整 Message 组件样式,移除不必要的代码
- 更新 Scene 组件 Header 颜色
- 注释掉 tailwind.css 中的 arimo 字体权重
2025-08-23 20:11:11 +08:00
zhaoweijie
e640b1254d refactor(components): 重构 playground组件
- 移除 Data、Scene 和 IodRelevant 组件中的 Drawer
- 优化 Data、Scene 和 IodRelevant 组件的结构
- 添加 Header 组件用于展示标题和关闭按钮
- 使用 Main 组件替代原来的 ShowCard 组件
- 调整样式和布局,提高组件的可复用性和可维护性
2025-08-23 17:03:14 +08:00
zhaoweijie
6fb71b01f0 feat(components): 新增 Drawer 组件并优化 Playground 页面
- 新增 Drawer 组件用于创建可滑动的抽屉式界面
-优化 Playground 页面布局和样式,增加 logo 和 frosted glass 效果
- 添加统计卡片组件和动画效果,提升用户体验
- 新增数据项目图标组件
2025-08-22 21:28:40 +08:00
zhaoweijie
17020e8755 feat(iod): 重构数联网搜索功能
- 新增数联网设置页面
- 优化数联网搜索结果展示
- 添加数据集、科创场景和科技企业等不同类型的搜索结果
- 重构搜索结果卡片组件,支持加载状态和不同展示模式
- 更新数联网搜索相关的国际化文案
2025-08-22 17:15:19 +08:00
zhaoweijie
efbf2a3eff feat/playground: 重构 playground组件
- 更新 Data 和 History组件的样式和布局
- 添加新的功能和交互,如热门搜索和智能体选择
- 优化组件性能和可维护性
2025-08-21 14:12:29 +08:00
zhaoweijie
df0bf51bdf refactor(layout): 优化团队页面布局和滚动
- 在 Team组件中添加 overflow-y-auto 以启用垂直滚动
- 在 Playground组件中调整网格布局,移除不必要的导入
- 优化消息列表布局,确保内容可以滚动
2025-08-21 14:08:40 +08:00
zhaoweijie
48404fb316 refactor(components): 重构历史记录组件和 playground 布局- 更新 History 组件样式和动画效果
- 调整 Playground 布局结构
-优化 Sidebar 聊天记录样式
2025-08-21 14:08:40 +08:00
zhaoweijie
1104fb2733 refactor(layout): 重构布局组件并添加新功能
- 更新 Header 组件,增加项目标题和历史记录切换按钮
- 新增 DataNavigation 组件用于数据导航
- 添加 Playground 相关新组件,包括数据、场景、团队等信息展示
- 重构 Layout 组件,使用 Context 管理历史记录状态
- 更新 zh/option.json 文件,添加新的项目标题和对话相关翻译
2025-08-19 16:20:37 +08:00
CaiHQ
2866bcc7af feat: mock 4 button 2025-02-24 10:02:12 +08:00
Nex Zhu
e8471f1802 feat: add IoD search 2025-02-14 18:17:12 +08:00
n4ze3m
084b859e3e feat: add option to remove reasoning tag from TTS output 2025-02-09 13:00:04 +05:30
n4ze3m
40698e02d7 feat: update version to 1.4.6 and enhance code block component with download and copy sticky support 2025-02-08 12:48:49 +05:30
n4ze3m
a46156847d feat: add bottom fade mask utility and enhance Playground layout 2025-02-07 23:49:40 +05:30
yz778
1b6d4a344a fix: fix some typos 2025-02-02 22:03:01 -08:00
n4ze3m
7264f30d81 fix: Remove reasoning tag from tts utterance 2025-02-02 14:51:52 +05:30
n4ze3m
80f5812355 fix: Adjust visibility styles for PlaygroundMessage component in preparation for v1.4.5 release 2025-02-01 12:30:05 +05:30
n4ze3m
342d544e30 feat: Add Baidu search engine 2025-02-01 11:22:12 +05:30
yz778
509a73238e Whitespace fix 2025-01-31 20:04:28 -08:00
yz778
be6b539787 fix: Fix layout shift cause by hovering over icons + misc items 2025-01-31 20:00:16 -08:00
n4ze3m
97daaf9dc2 feat: Add reasoning UI 2025-01-24 22:29:18 +05:30
n4ze3m
84e123bf38 feat: Add aria-labels for accessibility in PlaygroundMessage component 2025-01-11 23:44:43 +05:30
n4ze3m
f8bd740cfa feat: Adjust UI styles in PlaygroundForm and PlaygroundMessage components 2024-12-21 20:40:57 +05:30
n4ze3m
64e88bd493 feat: Add support for chat mode in MessageSource component
This commit extends the `MessageSource` component to support the `chat` mode in addition to the existing `rag` mode. This allows the component to handle and display messages from both chat and RAG (Rapid Automated Generation) sources.
2024-11-16 19:33:20 +05:30
n4ze3m
9f383a81b6 feat: Add generation info to messages
This commit introduces a new feature that displays generation information for each message in the chat.

The generation info is displayed in a popover and includes details about the model used, the prompt, and other relevant information. This helps users understand how their messages were generated and troubleshoot any issues that may arise.

The generation info is retrieved from the LLM response and is stored in the database alongside other message details.

This commit also includes translations for the generation info label in all supported languages.
2024-11-09 15:17:59 +05:30
n4ze3m
65ba2ff898 feat: add save and send functionality for user message
Adds a "Save" button to the edit message form in Playground, allowing users to save changes without immediately submitting them. This also introduces a new `isSend` flag to the `onEditFormSubmit` prop, enabling developers to control whether a message should be sent immediately or saved for later submission. This enhances flexibility and user control during the message editing process.
2024-11-03 23:38:41 +05:30
n4ze3m
a2f9002b81 feat: enhance playground UI
Refine the Playground's UI to improve user experience:

- Streamline chat window layout for better message readability
- Introduce a knowledge selection dropdown for easier context setting
- Improve image upload integration for a smoother workflow
- Optimize spacing and styling for a more polished visual appearance
2024-10-20 17:45:56 +05:30
n4ze3m
d83ba79035 refactor add modal 2024-10-13 16:10:52 +05:30
n4ze3m
ff371d6eef feat: Add OpenAI Provider Selection
Add a provider selection dropdown to the OpenAI settings, enabling users to choose from pre-configured options like "Azure" or "Custom." This streamlines setup and allows for more flexibility in configuring OpenAI API endpoints. The dropdown pre-populates base URLs and names based on the selected provider.

The dropdown also automatically populates base URLs and names based on the selected provider, further simplifying the configuration process.
2024-10-12 16:53:42 +05:30
n4ze3m
3f61c6afc2 feat: Add citations display to playground message
Adds a collapsible section to the playground message that displays citations for the response. This is intended to help users better understand the sources used by the model.
2024-08-31 21:06:32 +05:30
n4ze3m
1bb6d3a89a feat: Add tag colors for custom and copilot prompts in PromptBody component 2024-08-04 11:23:29 +05:30
n4ze3m
58304d9ca7 feat: Update translations for copilot context menu options 2024-08-03 23:51:17 +05:30
n4ze3m
ac9c9ca887 feat: copilot context menu for tool 2024-08-03 23:00:57 +05:30
n4ze3m
d41ec2a89c feat: Add Chrome AI support 2024-06-30 20:45:06 +05:30
n4ze3m
68bd3e651b refactor: Update version to 1.1.12, fix selectedModel spacing, and update meta viewport tags 2024-06-08 23:58:40 +05:30
n4ze3m
f5b0cc24ac chore: Update save button styling in EditMessageForm 2024-05-29 00:21:56 +05:30
n4ze3m
cbea863cdb Fix whitespace formatting in Markdown.tsx, Message.tsx, useMessage.tsx, and useMessageOption.tsx 2024-04-20 23:50:48 +05:30
n4ze3m
a3810cd534 Update import statement in local-duckduckgo.ts, prompt.tsx, wxt.config.ts, webui.tsx, PlaygroundChat.tsx, other.tsx, Markdown.tsx, and useMessageOption.tsx 2024-04-11 00:08:20 +05:30
n4ze3m
8e429e2379 Update KnowledgeIcon size in MessageSource.tsx 2024-04-06 20:27:17 +05:30
n4ze3m
d6d2eae5ef knownledge preview 2024-04-06 20:18:46 +05:30
n4ze3m
d9ce1e2d2c Add new translations and update existing ones 2024-03-24 14:38:37 +05:30
n4ze3m
b33ee0366c Migrated to WXT 2024-03-23 14:44:05 +05:30
n4ze3m
4aff7f991a Update package version and add hideEditAndRegenerate prop 2024-03-16 14:28:32 +05:30