Commit Graph

1861 Commits

Author SHA1 Message Date
zdl
3a63702a8c feat(Company): 优化主题系统,添加颜色工具函数和 ESLint 规则
- 新增 colorUtils.ts:提供 alpha()、hex()、fui.* 语义化颜色 API
- 新增 chartTheme:统一图表主题配置(坐标轴、tooltip、渐变等)
- 扩展 FUI_COLORS.line:完整的透明度级别(0.03-0.8)
- 新增 ESLint 规则:检测硬编码金色值(rgba/hex),warning 级别
- 迁移 chartOptions.ts:~15 处硬编码值改用工具函数
- 迁移 shared/styles.ts:~8 处硬编码值改用工具函数

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-12-25 13:00:40 +08:00
zdl
6be2689b2e chore: 清理未使用的样式文件
- 删除 FontAwesome v4 兼容文件 (v4-shims, v4-font-face)
- 删除 soft-ui-dashboard CSS 文件
- 删除 soft-design-system-pro CSS 和 SCSS 目录
- 删除 _shims.scss

这些文件在业务代码中没有任何引用,属于历史遗留文件

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-12-25 13:00:40 +08:00
ec407f8d50 事件标记线bug修复 2025-12-25 11:52:05 +08:00
c48b254ff7 事件标记线bug修复 2025-12-25 11:46:09 +08:00
7be7e13e69 事件标记线bug修复 2025-12-25 11:44:01 +08:00
569cffea0f 事件标记线bug修复 2025-12-25 11:39:56 +08:00
e5ea5c3aa5 事件标记线bug修复 2025-12-25 10:04:26 +08:00
3a6be48332 Merge branch 'feature_bugfix/251217_stock' of https://git.valuefrontier.cn/vf/vf_react into feature_bugfix/251217_stock 2025-12-24 18:39:54 +08:00
8462897027 滚动条样式更新 2025-12-24 18:39:48 +08:00
zdl
c7a2581939 feat(LimitAnalyse): 优化数据可视化组件
- 改进板块分布饼图展示
- 优化涨停时段统计图表

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-12-24 18:34:42 +08:00
zdl
bb03b58dbe feat(mock): 完善涨停分析 Mock 数据结构
- 新增午盘、尾盘涨停数量统计
- 添加 chart_data 字段支持板块分布饼图

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-12-24 18:34:42 +08:00
zdl
d10a8c3321 refactor(layout): 统一页面边距管理,移除 Container 限制
- layoutConfig.js: 新增 LAYOUT_PADDING 常量 { base: 4, md: 6, lg: '80px' }
- MainLayout.js: 在 Outlet 容器上统一应用 px={LAYOUT_PADDING.x}
- HomeNavbar.js: 边距从 lg:8 改为 lg:'80px',与内容区对齐
- AppFooter.js: 移除 Container,边距改为 lg:'80px'

页面组件清理(移除冗余的 px/Container):
- Company, Community, Center, Profile, Settings
- ValueForum, DataBrowser, LimitAnalyse, StockOverview, Concept

特殊处理:
- CompanyHeader: 使用负边距实现全宽背景
- Concept Hero: 使用负边距实现全宽背景

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-12-24 18:34:42 +08:00
zdl
f2bd430c8c chore: 清理未使用的依赖
移除以下未使用的 npm 依赖:
 - fullcalendar(仅 CSS 引用,已删除相关 SCSS)
 - @splidejs/react-splide
 - @tanstack/react-virtual
 - @tippyjs/react
 - react-custom-scrollbars-2
 - react-force-graph-3d
 - react-just-parallax
 - react-responsive
 - react-scroll-into-view
 - recharts
 - styled-components

 同时清理:
 - craco.config.js 中的 @fullcalendar 分包配置
 - SCSS 中的 fullcalendar 样式文件和 import
2025-12-24 18:34:42 +08:00
zdl
e7be0da293 chore: 移除 visx 图表库依赖
- 删除 src/components/VisxPieChart/ 组件(无引用)
- 清理 DataVisualizationComponents.js 中的 visx 词云实现
- 词云功能统一使用 ECharts 实现
- 卸载 @visx/visx、@visx/responsive 等相关包(共 72 个)

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-12-24 18:34:42 +08:00
zdl
06cab824e3 chore: 删除未使用的 K 线图组件文件
- 删除 StockChartKLineModal.tsx(未被任何组件引用)
- 删除 StockChartModal.js.backup(备份文件)

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-12-24 18:34:42 +08:00
zdl
1aa5a59788 fix: 会员过期时跳过事件相关 API 请求
- fetchEventStocks: 新增 skipIfNoAccess 参数
  - fetchHistoricalEvents: 新增 skipIfNoAccess 参数
  - fetchChainAnalysis: 新增 skipIfNoAccess 参数
  - 通过检查 subscription 状态判断是否跳过请求
2025-12-24 18:34:41 +08:00
zdl
7b22acd4a8 fix: 会员过期时跳过 API 请求 & 限制 STOMP WebSocket 重连次数
- DynamicNewsDetailPanel: 添加会员过期判断,过期时显示续费提示
  - RelatedConceptsSection: 会员过期时跳过概念 API 请求
  - TransmissionChainAnalysis: 会员过期时跳过传导链 API 请求
  - BytedeskWidget: 限制 STOMP WebSocket 最多重连 3 次,屏蔽相关日志
2025-12-24 18:34:41 +08:00
0ddbcbcc78 滚动条样式更新 2025-12-24 17:04:12 +08:00
1d8bc0bbe4 滚动条样式更新 2025-12-24 17:03:33 +08:00
f37065ff45 Merge branch 'feature_bugfix/251217_stock' of https://git.valuefrontier.cn/vf/vf_react into feature_bugfix/251217_stock 2025-12-24 14:18:57 +08:00
4d9ad46fec 滚动条样式更新 2025-12-24 14:18:49 +08:00
zdl
02e3c9d924 refactor(Center): 重构 FeatureEntryPanel 组件
- 将 FeatureEntryPanel 重构为目录结构,提取 FeatureCardItem 子组件
- 使用 GlassCard 容器,标题栏样式与投资仪表盘保持一致
- 调整组件顺序:核心功能入口移至价值论坛下方
- 功能卡片采用水平布局,圆形渐变图标 + 标题描述

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-12-24 13:50:06 +08:00
zdl
c83785d44a style: 优化资产配置模块高度,使布局更紧凑
- 图表高度从 280px 降低到 200px
- 调整圆环大小和位置使其在较小空间内显示更协调
- 减少 CardBody 和详细配置信息的间距

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-12-24 13:50:06 +08:00
97411e1baa 滚动条样式更新 2025-12-24 13:48:38 +08:00
9b65874a79 滚动条样式更新 2025-12-24 13:44:02 +08:00
abb00ea27f 滚动条样式更新 2025-12-24 13:32:52 +08:00
7fa84d0411 更新Company页面的UI为FUI风格 2025-12-24 13:26:12 +08:00
629a9b6aa7 更新Company页面的UI为FUI风格 2025-12-24 13:21:06 +08:00
e31e3e8c0e 更新Company页面的UI为FUI风格 2025-12-24 13:13:20 +08:00
0a37a07025 更新Company页面的UI为FUI风格 2025-12-24 12:55:47 +08:00
bfe4d1b7f9 更新Company页面的UI为FUI风格 2025-12-24 12:52:04 +08:00
099a81b15f 更新Company页面的UI为FUI风格 2025-12-24 12:47:34 +08:00
zdl
8454c43c53 chore: 移除 ApexCharts 依赖
- 删除 apexcharts 和 react-apexcharts 包
- 所有图表已迁移到 ECharts,不再需要 ApexCharts

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-12-24 12:07:38 +08:00
zdl
bd787b1d8b refactor(TradingSimulation): 迁移 ApexCharts 图表到 ECharts
图表组件迁移:
  - AssetTrendChart: 资产走势折线图 → ECharts 面积图
  - AssetAllocationChart: 资产配置环形图 → ECharts 饼图
  - PositionDistributionChart: 持仓分布饼图 → ECharts 饼图
  - ProfitAnalysisChart: 盈亏分析柱状图 → ECharts 柱状图

  删除的 ApexCharts 组件:
  - src/components/Charts/LineChart.js
  - src/components/Charts/BarChart.js
  - src/components/Charts/PieChart.js
  - src/components/Charts/DonutChart.js

  技术改进:
  - 统一使用 ECharts 作为通用图表库
  - 新组件使用 TypeScript,类型安全
  - 为后续移除 apexcharts 依赖做准备
2025-12-24 12:06:26 +08:00
zdl
f88c4ed5ac feat: 删除旧文件 2025-12-24 11:49:24 +08:00
zdl
fd637e6c4b chore: 删除未使用的 ApexCharts 模板组件和演示页面
删除的组件:
- src/components/Charts/BubbleChart.js
- src/components/Charts/LineBarChart.js
- src/components/Charts/PolarChart.js
- src/components/Charts/RadarChart.js

删除的模板演示页面:
- src/views/Pages/Charts.js
- src/views/Pages/Projects/General.js
- src/views/Pages/RTLPage.js

这些文件来自 Argon Dashboard Chakra PRO 模板,从未被路由引用或使用

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-12-24 11:28:11 +08:00
zdl
70509a02c9 feat(HomePage): 已登录用户访问首页展示个人中心内容
- HomePage: 添加条件渲染,已登录时展示 Center 组件
- 重构 Center 目录结构,合并 Center.tsx 到 index.tsx
- 重命名 CenterDashboard 为 Center(lazy-components, homeRoutes)

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-12-24 11:06:30 +08:00
zdl
6461ea2ac7 feat(WatchSidebar): 面板 UI 优化,添加日均周涨展示
- WatchlistPanel: 添加 hideTitle 支持,新增日均/周涨 Badge 展示
- FollowingEventsPanel: 添加 hideTitle 支持,兼容 related_avg_chg 字段
- FollowingEventsMenu: 使用 FavoriteButton 替代文字按钮
- 统一卡片样式,与关注事件面板保持一致

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-12-23 20:17:57 +08:00
zdl
53db569930 fix(GlobalSidebar): Popover 弹窗隐藏面板内部标题
- WatchlistPanel 和 FollowingEventsPanel 传入 hideTitle={true}
- 避免与 PopoverHeader 标题重复显示

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-12-23 20:17:57 +08:00
zdl
c66c47ca89 refactor(events): 关注事件数据源统一到 Redux
- useFollowingEvents: 改用 Redux selector 获取关注事件
- GlobalSidebarContext: 移除本地 followingEvents 状态,使用 Redux
- 侧边栏和导航栏共享同一数据源,保持状态同步

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-12-23 20:17:57 +08:00
zdl
87e666df64 refactor(watchlist): 自选股数据源统一到 Redux
- stockSlice: 新增 loadWatchlistQuotes thunk 加载自选股行情
- useWatchlist: 改用 Redux selector 获取自选股数据
- WatchlistMenu: 使用 Redux 数据源,移除本地状态管理

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-12-23 20:17:57 +08:00
zdl
649aefa97a style(EventDetailModal): 优化弹窗 Tab 和关闭按钮样式
- Tab 颜色方案调整:全部=紫罗兰色,计划=金色,复盘=绿色,系统=蓝色
- 未选中态统一使用银白色主题
- 选中态增强高亮效果(boxShadow、更明显的边框)
- 标题颜色调整为 rgba(255,255,255,0.85)
- 关闭按钮增强可见性:添加背景色、固定尺寸、圆角
- 弹窗背景色与 /home/center 页面保持一致

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-12-23 20:17:57 +08:00
zdl
2809048e6e docs: 精简 CLAUDE.md 优化 Claude Code 性能
- 将文件从 61KB 精简到 5.5KB(减少 91%)
- 删除冗长的目录结构详解,改为表格速查
- 删除大量代码示例,保留核心概念
- 引用独立文档(TYPESCRIPT_MIGRATION.md)替代详细内容
- 保留技术栈、命令、目录结构、开发工作流等核心信息

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-12-23 20:17:57 +08:00
5e150ea6d5 更新Company页面的UI为FUI风格 2025-12-23 17:53:21 +08:00
zdl
12fa0d277c Merge branch 'feature_bugfix/251217_stock' of https://git.valuefrontier.cn/vf/vf_react into feature_bugfix/251217_stock
* 'feature_bugfix/251217_stock' of https://git.valuefrontier.cn/vf/vf_react:
  更新Company页面的UI为FUI风格
  更新Company页面的UI为FUI风格
2025-12-23 17:46:45 +08:00
zdl
8f0b0aff4d fix(Layout): 全局布局优化与 Mock 数据增强 2025-12-23 17:45:19 +08:00
zdl
7b98ecff16 style(Profile): 用户中心 UI 紧凑化与布局优化 2025-12-23 17:45:03 +08:00
zdl
aa59078f06 refactor(Concept): ConceptTimelineModal 迁移到 BaseCalendar 2025-12-23 17:44:48 +08:00
zdl
cdf8dbf019 refactor(Center): 重构投资规划中心日历与事件管理 2025-12-23 17:44:35 +08:00
zdl
804d0957a1 feat(Calendar): 新增公共日历组件 BaseCalendar 2025-12-23 17:44:20 +08:00