由贞阅读 pendingdata.html 源码,发现关键代码(L454):
async function loadTodos() {
const response = await fetch('data/concepts.json');
const data = await response.json();
todos = data.concepts || [];
}
输入端:data/concepts.json
完整数据流架构:
┌─────────────────────────────────────────────────────────────┐
│ 输入端(Source) │
├─────────────────────────────────────────────────────────────┤
│ 📁 data/concepts.json │
│ - ideatorich 系统写入 │
│ - 包含所有构想与待办(ID格式: IDEATION-YYYYMMDD-XXX) │
│ - 分类方式:categories 字段(如 #01 系统架构类) │
│ - 状态:pending / designing / inprogress / done │
└──────────────────────────┬──────────────────────────────────┘
│
▼ fetch()
┌─────────────────────────────────────────────────────────────┐
│ 处理层(pendingdata.html) │
├─────────────────────────────────────────────────────────────┤
│ - 过滤状态:pending + designing + inprogress │
│ - 按 priority 排序 │
│ - 点击切换状态流转 │
└──────────────────────────┬──────────────────────────────────┘
│
▼ render
┌─────────────────────────────────────────────────────────────┐
│ 输出端(Display) │
├─────────────────────────────────────────────────────────────┤
│ - 统计面板:总数/待执行/进行中/已完成/战略级 │
│ - 待办卡片列表(按优先级排序) │
└─────────────────────────────────────────────────────────────┘
读取方式:fetch() API(浏览器端)
无(信息查询类问题,无需待办)