肖应宇
|
4afba86bcb
|
refactor(frontend): 在输入框内嵌 iframe skill 通信逻辑
|
2026-03-29 01:02:01 +08:00 |
肖应宇
|
43355677f9
|
feat(frontend): 对齐聊天页与消息流类型接口
|
2026-03-29 00:24:34 +08:00 |
肖应宇
|
09c3dce083
|
feat(frontend): 同步 ai-elements 与 ui 层
|
2026-03-28 23:19:47 +08:00 |
肖应宇
|
09c6a74ea3
|
revert(frontend): 回滚错误的 frontend 同步提交
|
2026-03-28 22:26:27 +08:00 |
肖应宇
|
42ad3f8336
|
merge(frontend): sync frontend files from github/main into feat/originui-frontend-integration
|
2026-03-28 22:23:00 +08:00 |
肖应宇
|
e800d80152
|
feat(localStorage): 隐藏模型选择器并调整输入框样式
- 注释掉 InputBox 中的 ModelSelector 组件
- 临时将 localStorage 设置置空
|
2026-03-25 17:43:55 +08:00 |
肖应宇
|
fc1f38a545
|
feat: 发送消息后,对话框自动收起
|
2026-03-23 11:31:31 +08:00 |
肖应宇
|
03e95aee91
|
feat(ui): 调整聊天页布局比例及 artifacts 滚动条遮挡处理
- 修改 artifactsOpen 时容器宽度从 70% 改为 50%
- 文件阅读区添加圆角样式
- 文件阅读区添加滚动条顶部遮挡层,优化视觉体验
- 代码编辑器增加 py-[20px] 内边距
- InputBox 已提交状态强制显示阴影效果
|
2026-03-20 16:31:28 +08:00 |
肖应宇
|
fb226f85a8
|
feat(ui): 重构聊天页布局并规范化 iframe 通信
- 移除 ResizablePanel 组件,改用自定义 flex 布局实现聊天区与 artifacts 面板
- 调整 artifacts 面板样式,支持全屏模式下的布局切换
- 新增 iframe-messages.ts 统一 postMessage 通信协议,定义 FULLSCREEN、SELECT_SKILL 等消息类型
- 优化 artifacts 工具栏图标为 SVG 内联实现,调整 zoom 默认值为 80%
- 重构 dropdown-selector 组件,支持展开/收起状态指示器
- 修改 layout.tsx 中 geist variable 的 className 拼接方式
- 新增 package.json prettier 格式化命令
|
2026-03-20 10:09:42 +08:00 |
肖应宇
|
4df604d491
|
style: prettier
|
2026-03-19 17:33:47 +08:00 |
肖应宇
|
3a7940654c
|
debug: 修复时序问题导致 的获取历史记录为[]
|
2026-03-19 11:39:50 +08:00 |
肖应宇
|
0ad91e1bab
|
build:lint
|
2026-03-18 23:52:40 +08:00 |
肖应宇
|
1c4a4525b3
|
feat: 旧版系统第一版
|
2026-03-18 23:29:50 +08:00 |
LofiSu
|
d265bdb245
|
feat(frontend): add mode hover guide and adjust mode i18n
## 中文
### 代码改动
- **新增** `frontend/src/components/workspace/mode-hover-guide.tsx`
- 新增 ModeHoverGuide 组件:接收 mode (flash/thinking/pro/ultra) 与 children,用 Tooltip 包裹
- hover 时展示该模式名称与简介,支持 showTitle 控制是否显示模式名
- 文案通过 useI18n 从 inputBox 的 *Mode / *ModeDescription 读取,中英文已支持
- **修改** `frontend/src/components/workspace/input-box.tsx`
- 在模式选择器触发按钮外包一层 ModeHoverGuide,悬停当前模式时显示说明
- **修改** `frontend/src/core/i18n/locales/zh-CN.ts`
- ultraModeDescription:改为完整描述「思考、计划并执行,可调用子代理分工协作,适合复杂多步骤任务,能力最强」(不再仅写「专业模式加子代理」)
- proMode / ultraMode:中文环境下保留英文原文 "Pro"、"Ultra",不再翻译为「专业」「超级」
- **修改** `frontend/src/core/i18n/locales/en-US.ts`
- ultraModeDescription:改为 "Reasoning, planning and execution with subagents to divide work; best for complex multi-step tasks"
### 说明
为 Flash / 思考 / Pro / Ultra 四种模式增加 hover 说明,并统一超级模式文案与 Pro/Ultra 在中文下的展示。
Co-authored-by: Cursor <cursoragent@cursor.com>
---
## English
### Code changes
- **Add** `frontend/src/components/workspace/mode-hover-guide.tsx`
- New ModeHoverGuide component: takes mode (flash/thinking/pro/ultra) and children, wraps in Tooltip
- On hover shows mode name and short description; showTitle toggles mode name in tooltip
- Copy from useI18n (inputBox *Mode / *ModeDescription), i18n in zh-CN and en-US
- **Update** `frontend/src/components/workspace/input-box.tsx`
- Wrap mode selector trigger with ModeHoverGuide so hovering shows current mode description
- **Update** `frontend/src/core/i18n/locales/zh-CN.ts`
- ultraModeDescription: full description (reasoning, planning, execution, subagents, complex tasks); no longer "Pro + subagents" only
- proMode / ultraMode: keep English "Pro" and "Ultra" in zh locale instead of "专业" / "超级"
- **Update** `frontend/src/core/i18n/locales/en-US.ts`
- ultraModeDescription: "Reasoning, planning and execution with subagents to divide work; best for complex multi-step tasks"
### Summary
Hover guide for all four modes (Flash / Reasoning / Pro / Ultra); clearer Ultra copy and Pro/Ultra labels in Chinese.
|
2026-02-09 12:33:16 +08:00 |
Henry Li
|
25b60e732f
|
feat: set golden color for ultra
|
2026-02-09 00:30:20 +08:00 |
Henry Li
|
260953fb81
|
feat: adjust position
|
2026-02-07 18:00:24 +08:00 |
Henry Li
|
b135449c07
|
fix: adjust suggestion positioning and height for improved UI layout
|
2026-02-07 17:56:06 +08:00 |
Henry Li
|
3e2883e2a3
|
feat: support subtasks
|
2026-02-07 16:14:48 +08:00 |
hetao
|
449ffbad75
|
feat: add ultra mode
|
2026-02-06 17:48:14 +08:00 |
Henry Li
|
b74cf65275
|
feat: update surprise-me functionality with localization support
|
2026-02-06 14:21:03 +08:00 |
Henry Li
|
22dea3fd43
|
feat: add surprise-me
|
2026-02-06 14:04:15 +08:00 |
Henry Li
|
f4f16bfa5c
|
feat: enhance welcome component and input box with skill mode handling and localization updates
|
2026-02-02 14:44:23 +08:00 |
Henry Li
|
3067f8dd03
|
feat: add suggestions
|
2026-02-02 11:21:30 +08:00 |
Henry Li
|
90104291ae
|
docs: add comments
|
2026-02-02 09:11:05 +08:00 |
Henry Li
|
bdd2e25e14
|
feat: implement create skill
|
2026-01-31 22:31:25 +08:00 |
Henry Li
|
4dffad89ca
|
feat: re-arrange icons
|
2026-01-29 16:17:41 +08:00 |
Henry Li
|
a135ddfa48
|
feat: display mode
|
2026-01-29 15:57:08 +08:00 |
Henry Li
|
62ac3b6b03
|
feat: use "mode" instead of "thinking_enabled" and "is_plan_mode"
|
2026-01-29 15:48:50 +08:00 |
Henry Li
|
3ce4968e95
|
feat: auto select the first model as default model
|
2026-01-26 17:13:34 +08:00 |
Henry Li
|
cd63f41b4c
|
feat: support static website
|
2026-01-24 18:01:27 +08:00 |
Henry Li
|
e9ab427326
|
feat: adjust styles
|
2026-01-22 14:28:10 +08:00 |
Henry Li
|
7d4d706738
|
feat: put all options into '+'
|
2026-01-22 13:43:45 +08:00 |
Henry Li
|
e8e522c2fe
|
feat: add animations
|
2026-01-22 09:41:01 +08:00 |
Henry Li
|
37e2c3d3c9
|
feat: update skill settings
|
2026-01-22 00:38:20 +08:00 |
Henry Li
|
1e4e51a80c
|
feat: add Todos
|
2026-01-22 00:26:11 +08:00 |
Henry Li
|
26587ee970
|
feat: bring back the deer
|
2026-01-21 10:31:54 +08:00 |
Henry Li
|
32a45eb043
|
feat: implement i18n
|
2026-01-20 14:06:47 +08:00 |
Henry Li
|
541586dc66
|
feat: support dynamic loading models
|
2026-01-19 18:54:04 +08:00 |
Henry Li
|
6bf187c1c2
|
fix: fix message grouping issues
|
2026-01-18 13:07:56 +08:00 |
Henry Li
|
92fc19a3aa
|
feat: remove model icon
|
2026-01-18 09:55:17 +08:00 |
Henry Li
|
5cda2b90fc
|
feat: refine theme
|
2026-01-17 21:24:49 +08:00 |
Henry Li
|
df65010e5f
|
fix: remove unused imports
|
2026-01-17 19:47:51 +08:00 |
Henry Li
|
2bc5f30c4d
|
feat: welcome, again
|
2026-01-17 19:46:02 +08:00 |
Henry Li
|
faf80bb429
|
feat: rename 'model' to 'model_name'
|
2026-01-16 14:03:34 +08:00 |
Henry Li
|
028f402ff5
|
feat: store the local settings
|
2026-01-16 09:55:02 +08:00 |
Henry Li
|
3f2bfded41
|
feat: enable edit context options
|
2026-01-16 09:37:04 +08:00 |
Henry Li
|
e9846c1dda
|
refactor: refine folder structure and rename
|
2026-01-16 09:13:02 +08:00 |
Henry Li
|
9f2b94ed52
|
feat: implement basic web app
|
2026-01-15 23:40:21 +08:00 |