Phase 5: Add Timeline View feature

- Add backend API endpoints for timeline data:
  - GET /api/v1/projects/{id}/timeline
  - GET /api/v1/projects/{id}/timeline/summary
  - GET /api/v1/entities/{id}/timeline

- Add database methods for timeline queries in db_manager.py

- Add frontend timeline view:
  - New sidebar button for timeline view
  - Timeline panel with date-grouped events
  - Visual distinction between mentions and relations
  - Entity filter dropdown
  - Statistics cards
  - Interactive event cards

- Update STATUS.md with Phase 5 progress
- Add view switching functions (switchView, switchKBTab)
- Add knowledge base loading functions
This commit is contained in:
OpenClaw Bot
2026-02-19 12:06:14 +08:00
parent 1f4fe5a33e
commit bc07aab4bb
5 changed files with 819 additions and 11 deletions

View File

@@ -77,6 +77,13 @@ Phase 4: Agent 助手与知识溯源 - **开发中 🚧**
- [ ] 将图谱数据同步到 Neo4j
- [ ] 支持复杂图查询
### Phase 5 - 高级功能 (进行中 🚧)
- [ ] 知识推理与问答增强
- [ ] 实体属性扩展
- [x] 时间线视图 ✅ (2026-02-19 完成)
- [ ] 导出功能
- [ ] 协作功能
## 技术债务
- 听悟 SDK fallback 到 mock 需要更好的错误处理
@@ -93,8 +100,10 @@ Phase 4: Agent 助手与知识溯源 - **开发中 🚧**
## 最近更新
### 2026-02-19
- 完成 Phase 4 Agent 助手功能
- 实现知识溯源功能
- 添加术语卡片悬停
-现置信度提示
- 更新前端 UI 和交互
- 完成 Phase 5 时间线视图功能
- 后端 API: `/api/v1/projects/{id}/timeline`
- 前端时间线面板,支持按日期分组显示
-体提及和关系建立事件可视化
- 实体筛选功能
- 统计卡片展示
- 更新 README 开发清单