Commit Graph

1081 Commits

Author SHA1 Message Date
zdl
0017302e5c feat(StockQuoteCard): 实现分享功能和优化时间显示
- index.tsx: 实现 handleShare,点击复制链接并显示 Toast 提示
- StockHeader: 移除 updateTime prop,改为显示页面打开时间
- StockHeader: 时间格式改为「年-月-日 时:分」完整格式

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-12-26 13:32:49 +08:00
zdl
8cf9465412 fix(StockQuoteCard): 优化对比股票输入框样式和功能
- theme.ts: 新增 textPlaceholder 颜色配置,降低透明度避免过亮
- CompareStockInput: placeholder 改为「请输入股票代码」
- CompareStockInput: 使用主题配置的 placeholder 颜色
- CompareStockInput: 添加 loadAllStocks 确保模糊搜索数据加载

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-12-26 13:32:41 +08:00
zdl
0f72cc633d chore(Company): 删除未使用的占位符组件和废弃 hooks
删除的文件:
- ForecastReport.js: 旧版占位符,功能已在 components/ForecastReport/index.tsx 实现
- MarketDataView.js: 旧版占位符,功能已在 components/MarketDataView/index.tsx 实现
- hooks/useCompanyStock.js: 功能已被 useCompanyData.ts 替代
- hooks/useCompanyWatchlist.js: 功能已被 useCompanyData.ts 替代

同步更新 STRUCTURE.md 文档

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-12-26 13:24:15 +08:00
zdl
9d6c1e0396 chore: 删除未使用的模板遗留页面
删除以下未在路由中配置且从未被引用的组件:

- src/views/Authentication/ (9个文件)
  - Lock: LockBasic, LockCover, LockIllustration
  - Reset: ResetBasic, ResetCover, ResetIllustration
  - Verification: VerificationBasic, VerificationCover, VerificationIllustration

- src/views/Landing/ (1个文件)
  - index.js - 通过 iframe 嵌入静态页面

- src/views/Pricing/ (2个文件)
  - index.tsx, content.tsx - 与 Subscription 功能重复

这些组件是 Argon Dashboard 模板遗留物,从未在项目中实际使用。
删除后减少 12 个冗余文件,降低维护负担。

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-12-26 13:19:14 +08:00
zdl
dfc59926a3 docs(Company): 更新 STRUCTURE.md 目录结构文档
- 更新日期至 2025-12-26
- 反映 index.js 迁移为 index.tsx
- 新增 theme/ 目录(FUI 主题系统)
- 新增 config.ts、types.ts 页面级文件
- hooks/ 新增 useCompanyData.ts 和 useStockSearch.ts
- 更新各模块的 TypeScript 迁移状态
- 精简重构记录,保留关键信息

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-12-26 13:07:02 +08:00
zdl
3072a9a0b7 chore: 删除未使用的 Argon 模板示例页面
- 删除 Pages/Profile/Overview.js
- 删除 Pages/Profile/Teams.js
- 删除 Pages/Profile/Projects.js

这些是 Argon Dashboard 模板自带的示例页面,项目中未被引用

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-12-26 11:37:45 +08:00
zdl
2fc1cdf57e refactor(Center): 迁移毛玻璃效果到统一配置
- FUIEventCard.tsx: 使用 GLASS_BLUR.sm 替代 blur(8px)
- EventFormModal.tsx: 使用 GLASS_BLUR.xs 替代 blur(4px)

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-12-26 11:33:11 +08:00
zdl
011ddaf96d refactor(Profile): 迁移毛玻璃效果到统一配置
- PredictionCard.js: 使用 GLASS_BLUR.sm 替代 blur(8px)
- CommunityFeedCard.js: 使用 GLASS_BLUR.sm 替代 blur(8px)
- StatCard.js: 使用 GLASS_BLUR.sm 替代 blur(8px)
- RiseFallChart.js: 使用 GLASS_BLUR.sm 替代 blur(8px)
- IndexCard.js: 使用 GLASS_BLUR.sm 替代 blur(8px)
- ConceptItem.js: 使用 GLASS_BLUR.sm 替代 blur(8px)

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-12-26 11:32:11 +08:00
zdl
632b8794fe refactor(Company): 迁移毛玻璃效果到统一配置
- theme.ts: 使用 GLASS_BLUR.lg/md 替代硬编码的 blur 值
- DarkGoldCard.tsx: 使用 GLASS_BLUR.md 替代 blur(12px)

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-12-26 11:31:33 +08:00
zdl
1754ec7440 refactor(Home): 迁移毛玻璃效果到统一配置
- FeatureCard.tsx: 使用 GLASS_BLUR.sm 替代 blur(10px)

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-12-26 11:30:40 +08:00
zdl
5eeb4f9e15 refactor(Community): 迁移毛玻璃效果到统一配置
- HeroPanel.js: 使用 GLASS_BLUR.sm 替代 blur(8px) 和 blur(10px)
- DynamicNewsEventCard.js: 使用 GLASS_BLUR.sm 替代 blur(10px)
- HorizontalDynamicNewsEventCard.js: 使用 GLASS_BLUR.sm 替代 blur(10px)

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-12-26 11:30:07 +08:00
zdl
50031d5961 refactor(LimitAnalyse): 迁移毛玻璃效果到统一配置
- index.js: 使用 GLASS_BLUR.sm 替代 blur(10px)
- SearchComponents.js: 使用 GLASS_BLUR.xs 替代 blur(5px)
- DataVisualizationComponents.js: 使用 GLASS_BLUR.sm 替代 blur(10px)

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-12-26 11:29:09 +08:00
zdl
d6d5885c10 feat(ValueForum): 优化页面布局和加载状态
- 添加响应式左右 padding
- 使用 PageLoader 统一加载样式
- 修复预测市场数据格式处理

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-12-25 18:48:38 +08:00
zdl
e1c974c4af refactor(ValueForum): 迁移毛玻璃效果到统一配置 - 批次6
- TradeModal.js: Modal overlay 使用 GLASS_BLUR.xs
- CommentInvestModal.js: Modal overlay 使用 GLASS_BLUR.xs
- PredictionGuideModal.js: Modal overlay 使用 GLASS_BLUR.xs
- CreatePredictionModal.js: Modal overlay 使用 GLASS_BLUR.xs

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-12-25 16:42:17 +08:00
zdl
3911095022 refactor(Concept): 迁移毛玻璃效果到统一配置 - 批次5
- index.js: 10+ 处使用 GLASS_BLUR.lg/sm
- ConceptTimelineModal.js: Modal overlay 使用 GLASS_BLUR.sm/lg
- BreadcrumbNav.js: 深色主题样式使用 GLASS_BLUR.lg
- ConceptStatsPanel.js: 玻璃态卡片使用 GLASS_BLUR.lg
- HierarchyView.js: 4处使用 GLASS_BLUR.lg/sm
- ForceGraphView.js: 4处使用 GLASS_BLUR.lg

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-12-25 16:39:48 +08:00
zdl
b0e1a4f474 refactor(StockOverview): 迁移毛玻璃效果到统一配置 - 批次4
- index.js: 使用 GLASS_BLUR.lg 替代 blur(20px)
- glassTheme.js: 从全局 glassConfig 导入配置
- FlexScreen/index.tsx: 使用 GLASS_BLUR.lg
- QuoteTile.tsx: 使用 GLASS_BLUR.sm
- AlertDetailDrawer.js: 使用 GLASS_BLUR.xs/lg

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-12-25 16:33:45 +08:00
zdl
c29e9e9cc7 refactor(glass): 批次3 - 迁移 AgentChat 页面使用统一毛玻璃配置
迁移以下 10 个 AgentChat 模块文件:
- index.js: GLASS_BLUR.lg 替换 blur(20px)
- LeftSidebar/index.js: GLASS_BLUR.lg/sm 替换 blur(20px)/blur(10px)
- LeftSidebar/SessionCard.js: GLASS_BLUR.md 替换 blur(12px)
- RightSidebar/index.js: GLASS_BLUR.lg/sm/md 替换多处硬编码
- RightSidebar/ToolSelector.tsx: GLASS_BLUR.md 替换 blur(12px)
- ChatArea/index.js: GLASS_BLUR.lg/sm 替换多处硬编码
- ChatArea/MessageRenderer.js: GLASS_BLUR.md 替换 blur(16px)
- ChatArea/WelcomeScreen.js: GLASS_BLUR.md 替换 blur(12px)
- ChatArea/ExecutionStepsDisplay.js: GLASS_BLUR.sm 替换 blur(10px)
- MeetingRoom/index.js: GLASS_BLUR.lg 替换 blur(20px)

保留 saturate(180%) 组合效果

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-12-25 16:28:35 +08:00
zdl
5c4bcce125 refactor(glass): 批次2 - 迁移 Company 页面使用统一毛玻璃配置
迁移以下 5 个 Company 模块文件:
- fui.ts: FUI_GLASS 改用全局 GLASS_BLUR/BG/BORDER 常量
- index.ts: GLASS 常量改用全局配置
- AnalysisModal.tsx: GLASS_BLUR.sm 替换 blur(8px)
- DynamicTrackingNavSkeleton.tsx: GLASS_BLUR.lg 替换 blur(20px)
- CompanyOverviewNavSkeleton.tsx: GLASS_BLUR.lg 替换 blur(20px)

保持 FUI_GLASS 导出不变,确保向后兼容

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-12-25 16:22:19 +08:00
0afd05301c 添加用户的看多/看空逻辑 2025-12-25 14:58:04 +08:00
zdl
2841cec6f3 fix(Concept): 修复未导入的 react-icons 图标引用
将 ConceptCenter 中遗留的 react-icons 图标替换为 lucide-react:
- FaCube → BoxIcon
- FaSitemap → Network
- FaList → List
- FaArrowUp/FaArrowDown → ArrowUp/ArrowDown
- FaLock → Lock
- FaHistory → History
- FaChartLine → LineChart

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-12-25 14:03:38 +08:00
08850249e7 添加用户的看多/看空逻辑 2025-12-25 13:59:35 +08:00
e92c4eb724 添加用户的看多/看空逻辑 2025-12-25 13:54:56 +08:00
ed75f1789e 添加用户的看多/看空逻辑 2025-12-25 13:40:11 +08:00
448fe52431 添加用户的看多/看空逻辑 2025-12-25 13:25:52 +08:00
b0ae9c9f81 Merge branch 'feature_bugfix/251217_stock' of https://git.valuefrontier.cn/vf/vf_react into feature_bugfix/251217_stock 2025-12-25 13:16:01 +08:00
bcafafe34c 事件标记线bug修复 2025-12-25 13:15:57 +08:00
zdl
c820cfa804 refactor(icons): 迁移其他 views 目录图标到 lucide-react
- views/Center, views/Community, views/DataBrowser 等
- views/EventDetail, views/LimitAnalyse, views/StockOverview
- views/TradingSimulation, views/Pages, views/Authentication
- views/Profile, views/Settings
- 处理 Tag/TagIcon 命名冲突
- 涉及 52 个组件文件

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-12-25 13:00:41 +08:00
zdl
d4e671428d refactor(icons): 迁移 views/Concept 目录图标到 lucide-react
- @chakra-ui/icons → lucide-react
- react-icons → lucide-react
- 处理 Box/BoxIcon 命名冲突
- 涉及 6 个组件文件

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-12-25 13:00:41 +08:00
zdl
29f6701de3 refactor(icons): 迁移 views/Company 目录图标到 lucide-react
- @chakra-ui/icons → lucide-react
- react-icons → lucide-react
- IconType → LucideIcon 类型替换
- 涉及 50 个组件文件

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-12-25 13:00:41 +08:00
zdl
7f4f9e4032 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
506008a7ae 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
c98928f703 滚动条样式更新 2025-12-24 18:39:48 +08:00
zdl
4572fcac30 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
f5dbdfa84c 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
ef7f266e72 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
c529626ce2 fix: 会员过期时跳过 API 请求 & 限制 STOMP WebSocket 重连次数
- DynamicNewsDetailPanel: 添加会员过期判断,过期时显示续费提示
  - RelatedConceptsSection: 会员过期时跳过概念 API 请求
  - TransmissionChainAnalysis: 会员过期时跳过传导链 API 请求
  - BytedeskWidget: 限制 STOMP WebSocket 最多重连 3 次,屏蔽相关日志
2025-12-24 18:34:41 +08:00
bf58e97e84 滚动条样式更新 2025-12-24 17:03:33 +08:00
a4462ba3e6 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
38b510c681 滚动条样式更新 2025-12-24 14:18:49 +08:00
zdl
48c9210cf8 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
adc802da94 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
901ac53453 滚动条样式更新 2025-12-24 13:48:38 +08:00
fbb0eebbbf 滚动条样式更新 2025-12-24 13:44:02 +08:00
75dd3ad994 滚动条样式更新 2025-12-24 13:32:52 +08:00
badc5865f4 更新Company页面的UI为FUI风格 2025-12-24 13:26:12 +08:00
7b418700c8 更新Company页面的UI为FUI风格 2025-12-24 13:21:06 +08:00
1ed8c3e1ac 更新Company页面的UI为FUI风格 2025-12-24 13:13:20 +08:00
272a6002bb 更新Company页面的UI为FUI风格 2025-12-24 12:55:47 +08:00
9b969eb97e 更新Company页面的UI为FUI风格 2025-12-24 12:52:04 +08:00
f7732c6465 更新Company页面的UI为FUI风格 2025-12-24 12:47:34 +08:00