Fundamental_Analysis/docs
Lv, Qi b41eaf8b99 Refactor frontend to Vite+React SPA and update docs
Major architectural shift from Next.js to a lightweight Vite + React SPA model ("Puppet Architecture") to better support real-time workflow visualization and strict type safety.

Key Changes:
1. **Architecture & Build**:
   - Initialized Vite + React + TypeScript project.
   - Configured Tailwind CSS v4 and Shadcn UI.
   - Archived legacy Next.js frontend to 'frontend/archive/v2_nextjs'.

2. **Core Features**:
   - **Dashboard**: Implemented startup page with Symbol, Market, and Template selection.
   - **Report Page**:
     - **Workflow Visualization**: Integrated ReactFlow to show dynamic DAG of analysis tasks.
     - **Real-time Status**: Implemented Mock SSE logic to simulate task progress, logs, and status changes.
     - **Multi-Tab Interface**: Dynamic tabs for 'Overview', 'Fundamental Data', and analysis modules.
     - **Streaming Markdown**: Enabled typewriter-style streaming rendering for analysis reports using 'react-markdown'.
   - **Config Page**: Implemented settings for AI Providers, Data Sources, and Templates using TanStack Query.

3. **Documentation**:
   - Created v2.0 User Guide ('docs/1_requirements/20251122_[Active]_user-guide_v2.md').
   - Implemented 'DocsPage' in frontend to render the user guide directly within the app.

4. **Backend Alignment**:
   - Created 'docs/frontend/backend_todos.md' outlining necessary backend adaptations (OpenAPI, Progress tracking).

This commit establishes the full frontend 'shell' ready for backend integration.
2025-11-22 19:37:36 +08:00
..
1_requirements Refactor frontend to Vite+React SPA and update docs 2025-11-22 19:37:36 +08:00
2_architecture feat(config): 将服务配置全面迁移至数据库 2025-11-18 05:58:18 +08:00
3_project_management feat: finalize backend readiness (config, limits, docs) 2025-11-22 00:57:23 +08:00
4_archive reorg docs 2025-11-17 00:58:43 +08:00
5_data_dictionary reorg docs 2025-11-17 00:58:43 +08:00
frontend Refactor frontend to Vite+React SPA and update docs 2025-11-22 19:37:36 +08:00
tasks/completed Refactor E2E tests and improve error handling in Orchestrator 2025-11-21 20:44:32 +08:00
backend_requirements_for_frontend_refactor.md Refactor E2E tests and improve error handling in Orchestrator 2025-11-21 20:44:32 +08:00
README.md refactor(architecture): Align frontend & docs with DB gateway pattern 2025-11-17 01:29:56 +08:00

项目文档中心

欢迎来到基本面选股系统的文档中心。本文档旨在作为项目所有相关文档的入口和导航,帮助团队成员快速找到所需信息。

概览

本文档库遵循特定的结构化命名和分类约定,旨在清晰地分离不同领域的关注点。主要目录结构如下:

  • /1_requirements: 存放所有与产品需求和用户功能相关的文档。
  • /2_architecture: 包含系统高级架构、设计原则和核心规范。
  • /3_project_management: 用于项目跟踪、开发日志和任务管理。
  • /4_archive: 存放已合并或过时的历史文档。
  • /5_data_dictionary: 定义系统中使用的数据模型和字段。

快速导航

以下是项目中几个最核心文档的快速访问链接,直接指向其关键章节。

1. 需求与功能

2. 架构与设计

3. 数据与模型

4. 项目管理