Commit Graph

266 Commits

Author SHA1 Message Date
zdl
bcd67ed410 feat: 创建自定义 Hooks 2025-11-22 23:29:08 +08:00
zdl
c391c4c980 feat: 现在创建配置文件。首先让我检查现有的主题配置,以保持样式一致性: 2025-11-22 23:29:08 +08:00
zdl
7b2f5a18bc feat:StockChart 类型定义统一导出 2025-11-22 23:29:08 +08:00
zdl
06916cdde5 feat:股票相关类型定义 2025-11-22 23:29:08 +08:00
zdl
5bb8a17588 feat: 创建类型定义文件 2025-11-22 23:29:08 +08:00
f56df0e956 update pay function 2025-11-22 16:14:49 +08:00
e778742590 update pay function 2025-11-22 08:57:37 +08:00
990ca3663e update pay function 2025-11-22 07:24:55 +08:00
zdl
3cd34d93c8 Merge branch 'feature_2025/251117_pref' into feature_2025/251121_h5UI
* feature_2025/251117_pref:
  update pay function
  update pay function
  update pay function
  update pay function
  update pay function
  update pay function
  update pay function
2025-11-21 18:30:51 +08:00
zdl
34bae35858 fix: 修复的问题:H5 汉堡菜单位置调整(移到头像右侧)
平板端显示 MoreMenu 而非汉堡菜单
未登录时不显示汉堡菜单
2025-11-21 17:59:03 +08:00
zdl
bc50d9fe3e fix: 修复的问题: │ │
│ │ -  React 18 Portal insertBefore 错误                                                                                                                               │ │
│ │ -  Ant Design Modal defaultProps 废弃警告
2025-11-21 17:46:07 +08:00
b197d62c31 update pay function 2025-11-21 14:47:47 +08:00
zdl
834067f679 fix: 修改 GlobalComponents.js(缓存 config)登录时不会触发 BytedeskWidget 重新加载 2025-11-21 14:38:09 +08:00
e22e8339a6 update pay function 2025-11-21 14:07:18 +08:00
zdl
e8b3d13c0a feat: 桌面端导航判断调整 2025-11-21 14:07:04 +08:00
zdl
796c623197 fix:优化h5/菜单UI 2025-11-21 13:55:06 +08:00
zdl
e753437b86 feat: 调整客服配置 2025-11-20 15:07:45 +08:00
082e644534 update pay function 2025-11-20 08:33:26 +08:00
691c4f6eb1 update pay function 2025-11-20 08:09:34 +08:00
d5a55c4e02 update pay function 2025-11-20 08:02:34 +08:00
4a1157c0b6 update pay function 2025-11-20 07:46:50 +08:00
f515dc94f4 update pay function 2025-11-19 23:41:45 +08:00
683e261756 update pay function 2025-11-19 23:06:14 +08:00
8bdfd0389c update pay function 2025-11-19 22:56:28 +08:00
958cedefb8 update pay function 2025-11-19 21:45:55 +08:00
b48ff99658 update pay function 2025-11-19 20:44:35 +08:00
71742c0116 update pay function 2025-11-19 20:15:27 +08:00
9e8519bb94 Merge branch 'feature_2025/251117_pref' of https://git.valuefrontier.cn/vf/vf_react into feature_2025/251117_pref 2025-11-19 19:41:59 +08:00
a4d16e7686 update pay function 2025-11-19 19:41:26 +08:00
zdl
28643d7c4a feat: 前端修改:修改 AuthFormContent.js 兼容两种格式(is_new_user 和 isNewUser) 2025-11-19 16:07:15 +08:00
zdl
8fa273c8d4 feat: 添加Login Page Viewed 2025-11-19 15:42:42 +08:00
zdl
9b55610167 perf: 将 Moment.js 替换为 Day.js,优化打包体积
## 改动内容
  - 替换所有 Moment.js 引用为 Day.js (29 个文件)
  - 更新 Webpack 配置,调整 calendar-lib chunk
  - 添加 Day.js 插件支持 (isSameOrBefore, isSameOrAfter)
  - 移除 Moment.js 依赖

  ## 性能提升
  - JavaScript 打包体积减少: ~50 KB (未压缩)
  - gzip 后减少: ~15-18 KB
  - 预计首屏加载时间提升: 15-20%

  ## 影响范围
  - Dashboard 组件: 5 个文件
  - Community 组件: 19 个文件
  - 工具函数: tradingTimeUtils.js (添加插件)
  - 其他组件: 5 个文件

  ## 测试状态
  -  构建成功 (npm run build)
2025-11-17 19:27:45 +08:00
zdl
3fe2d2bdc9 pref: 删除NotificationTestTool 组件, notificationDebugger.js 调试工具删除完成 2025-11-17 14:59:39 +08:00
2013a0f868 Merge branch 'feature_bugfix/251113_ui' of https://git.valuefrontier.cn/vf/vf_react into feature_bugfix/251113_ui 2025-11-15 09:11:57 +08:00
05b497de29 add forum 2025-11-15 09:10:26 +08:00
zdl
9fd618c087 feat: 实现评论分页功能并迁移到 TypeScript
- 创建通用分页 Hook (usePagination.ts) 支持任意数据类型
- 将 EventCommentSection 迁移到 TypeScript (.tsx)
- 添加"加载更多"按钮,支持增量加载评论
- 创建分页和评论相关类型定义 (pagination.ts, comment.ts)
- 增加 Mock 评论数据从 5 条到 15 条,便于测试分页

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-14 17:27:12 +08:00
zdl
9761ef9016 Merge branch 'feature_bugfix/251113_ui' into feature_bugfix/251113_bugfix
* feature_bugfix/251113_ui:
  update ui
  update ui
  update ui
  update ui
  update ui
2025-11-14 16:16:10 +08:00
zdl
e23feb3c23 feat: 添加评论功能 2025-11-14 16:15:13 +08:00
e428caf578 update ui 2025-11-14 15:50:21 +08:00
zdl
643c3db03e feat: 通知调试能力 2025-11-10 20:05:53 +08:00
zdl
8e5623d723 feat(customer-service): 集成 Bytedesk 客服系统并优化 Dify 机器人显示
## 主要变更

### 1. Dify 机器人优化
**文件**: public/index.html
-  恢复 Dify 机器人代码
-  添加显示控制逻辑:只在 /home 页面显示
-  使用 JavaScript 监听路由变化,动态控制显示/隐藏
-  保留所有样式配置

### 2. Bytedesk 客服系统集成
**文件**: src/bytedesk-integration/config/bytedesk.config.js
-  配置开发环境使用代理路径(/bytedesk-api)
-  修复 X-Frame-Options 跨域问题
-  优化 shouldShowCustomerService 逻辑:默认所有页面显示,只在 /login 隐藏
-  保留白名单模式代码作为备用方案

**文件**: src/components/GlobalComponents.js
-  集成 BytedeskWidget 组件
-  使用 shouldShowCustomerService 控制显示

### 3. 客服显示规则

**Dify 机器人**:
-  /home 页面 → 显示
-  其他页面 → 隐藏

**Bytedesk 客服**:
-  所有页面 → 显示
-  /login 页面 → 隐藏

## 已知问题

- ⚠️ Bytedesk 服务器配置 enabled: false,需要后端修改为 true
- ⚠️ 配置接口: /config/bytedesk/properties

## 测试建议

1. 访问 /home 页面,检查 Dify 机器人是否显示
2. 访问其他页面,检查 Dify 是否隐藏
3. 等待后端修改 enabled 后,测试 Bytedesk 客服功能

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-10 19:58:36 +08:00
25163789ca 事件中心不提示通知修复,增加开启/关闭通知按钮。修复edge或者opera浏览器登录扫码无跳转的问题 2025-11-10 10:36:29 +08:00
800151771c agent功能开发增加MCP后端 2025-11-10 08:14:53 +08:00
a8edb8bde3 agent功能开发增加MCP后端 2025-11-07 23:03:22 +08:00
322b1dd845 agent功能开发增加MCP后端 2025-11-07 20:23:54 +08:00
315d606945 agent功能开发增加MCP后端 2025-11-07 19:11:58 +08:00
e7ba8c4c2d agent功能开发增加MCP后端 2025-11-07 18:11:29 +08:00
zdl
c10af30ad4 feat: 删除不需要的组件 2025-11-07 14:31:50 +08:00
7adb4ea8af Merge branch 'feature_bugfix/251104_event' of https://git.valuefrontier.cn/vf/vf_react into feature_bugfix/251104_event 2025-11-07 10:56:21 +08:00
3eff0554f9 事件中心UI优化 2025-11-07 10:56:08 +08:00