39eb29d54e
fix(brand): 修复品牌根选择器变量覆盖
...
将品牌类选择器调整为 :root.brand-*,确保品牌变量能够稳定覆盖默认 :root 变量。\n补充品牌选择器测试,校验品牌块中包含 surface elevated 颜色变量。
2026-06-15 09:26:30 +08:00
d0afbf1897
refactor(brand): 重构品牌系统,移除 SESSION_BRAND 并完善初始化逻辑
...
- 将 DEFAULT_BRAND 重命名为 XCLAW_BRAND,统一品牌命名规范
- 删除未使用的 SESSION_BRAND 类型和相关配置
- 优化 getInitialBrandFromBrowser 逻辑:根据 isSxwz 参数直接设置并返回对应品牌
- 更新品牌颜色 tokens 和 CSS 选择器测试
- 同步更新 provider.tsx 和相关测试用例
2026-06-13 11:30:23 +08:00
5d634e3ad1
test(brand): 覆盖新增品牌辅助函数和 CSS 选择器单测
...
新增 getBrandPrimaryColor / getBrandPrimaryColorWithAlpha / getInitialBrandFromBrowser / syncBrandClassName 的单元测试,以及 brand-default / brand-sxwz CSS 选择器存在性校验。
2026-06-12 11:39:05 +08:00
6958efb2ad
refactor(brand): 品牌颜色系统重构,使用 CSS 自定义属性驱动主题
...
将品牌主色从硬编码值迁移为 CSS 自定义属性(--brand-color-primary 等),新增 getBrandPrimaryColor / syncBrandClassName 等辅助函数统一管理品牌状态,清理 layout 中未使用的 rootClassName 引用。
2026-06-12 11:38:56 +08:00
mt
c45bc4d521
style(input): 调整发送按钮为圆形图标样式并更新主题色
...
- prompt-input.tsx: 发送按钮改为 36x36 圆形,使用 SVG 箭头/方块图标替代文字
- input-box.tsx: 占位区域尺寸同步调整为 36x36
- globals.css: 新增 brand-default/brand-sxwz 品牌 CSS class,新增 ws-interactive-hover token,主题色 #8e47f0 → #150033
2026-06-10 17:52:02 +08:00
6853ed71bc
refactor(workspace): 将颜色 token 重命名为语义化命名
2026-04-24 18:37:30 +08:00
fc27d179d4
feat(08-03): 将产物预览内联样式变量令牌化
...
- 将产物预览 srcdoc 内联样式中的十六进制颜色值替换为工作区主题令牌变量
- 在 globals 和工作区主题令牌注册表中注册缺失的工作区主题令牌,以支持亮色/暗色主题
2026-04-23 10:27:16 +08:00
730a06f391
feat(08-01): 添加工作区颜色主题令牌注册表及全局映射
...
- 添加 WORKSPACE_COLOR_TOKENS,包含显式的亮色/暗色值
- 在 globals.css 中关联 --ws-color-* 变量与 --color-ws-* 主题映射
2026-04-23 10:22:20 +08:00
08b74314c4
feat(ui): 漫游导航样式修改
2026-04-21 09:22:48 +08:00
53d383070d
fix:标题emoji表情溢出的问题
2026-04-20 14:54:09 +08:00
170b5484c9
style: lint prettier
2026-04-20 10:34:57 +08:00
c52b505354
fix: 引用附件菜单多层滚动容器的问题
2026-04-20 10:23:12 +08:00
830c8abcf1
feat(ZoomSelector): 使用Slider组件控制字体
2026-04-17 10:33:05 +08:00
c4fe34ed23
feat(ui): 宋对ui和输入框placeholder更改
2026-04-16 11:15:20 +08:00
ccfeabc95b
style:prettier
2026-04-14 09:49:17 +08:00
842cd22c00
feat: 完成显示docx, pptx, xlsx文件
2026-04-14 09:49:17 +08:00
d376d421fe
feat: 全局字体和代码块字体大小
2026-04-14 09:49:17 +08:00
7012693802
feat(03): align workspace visual layer with legacy baseline
2026-04-07 14:34:22 +08:00
greatmengqi
084dc7e748
ci: enforce code formatting checks for backend and frontend ( #1536 )
2026-03-29 15:34:38 +08:00
Simon Su
ceab7fac14
fix: improve MiniMax code plan integration ( #1169 )
...
This PR improves MiniMax Code Plan integration in DeerFlow by fixing three issues in the current flow: stream errors were not clearly surfaced in the UI, the frontend could not display the actual provider model ID, and MiniMax reasoning output could leak into final assistant content as inline <think>...</think>. The change adds a MiniMax-specific adapter, exposes real model IDs end-to-end, and adds a frontend fallback for historical messages.
Co-authored-by: Willem Jiang <willem.jiang@gmail.com>
2026-03-20 17:18:59 +08:00
Henry Li
25b60e732f
feat: set golden color for ultra
2026-02-09 00:30:20 +08:00
Henry Li
8a2351593c
feat: add special effect for Ultra mode
2026-02-08 23:22:51 +08:00
Henry Li
0355493a16
feat: rewording and add initial animation
2026-02-08 21:24:17 +08:00
Henry Li
de8ff9d336
feat: add ambilight
2026-02-07 18:42:08 +08:00
Henry Li
a122f76e36
feat: add animations
2026-02-07 10:30:35 +08:00
Henry Li
54277b9d9e
feat: add skeleton
2026-02-02 09:05:33 +08:00
hetao
75801d9817
fix: fix frontend bug
2026-01-29 13:55:30 +08:00
LofiSu
c14378a312
feat: refine citations format and improve content presentation
...
Backend:
- Simplify citations prompt format and rules
- Add clear distinction between chat responses and file content
- Enforce full URL usage in markdown links, prohibit [cite-1] format
- Require content-first approach: write full content, then add citations at end
Frontend:
- Hide <citations> block in both chat messages and markdown preview
- Remove top-level Citations/Sources list for cleaner UI
- Auto-remove <citations> block in code editor view for markdown files
- Keep inline citation hover cards for reference details
This ensures citations are presented like Claude: clean content with inline reference badges.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-01-29 12:29:13 +08:00
Henry Li
307972f93e
feat: implement the first section of landing page
2026-01-23 00:15:21 +08:00
Henry Li
5cda2b90fc
feat: refine theme
2026-01-17 21:24:49 +08:00
Henry Li
70cd664d3f
feat: adjust dark theme
2026-01-17 21:08:05 +08:00
Henry Li
32a77cce84
feat: the DeerFlow theme is back
2026-01-17 20:59:42 +08:00
Henry Li
094553ea42
feat: change light theme
2026-01-17 20:32:27 +08:00
Henry Li
384353d613
feat: remove ring
2026-01-17 17:21:05 +08:00
Henry Li
9f2b94ed52
feat: implement basic web app
2026-01-15 23:40:21 +08:00
Henry Li
c628c7f8db
chore: create frontend project from boilerplate
2026-01-14 09:50:26 +08:00