Commit graph

7 commits

Author SHA1 Message Date
Yan
369857bc63 feat(result-modal): smart actions + mobile-safe layout
Result preview modal redesigned:

Smart action system:
  - System auto-recommends the best primary action based on mode + content
  - mode=replace → '替换选中内容'
  - mode=insert → '插入到光标位置' + optional '保存为新笔记'
  - mode=append → '追加到文档末尾' + '保存为新笔记'
  - mode=show → auto-detects:
    - Content has checkboxes → '保存为执行计划' (→ Knowledge/Plans/)
    - Content looks like concept → '创建为概念页'
    - Default → '保存为新笔记' (→ Knowledge/Notes/)
  - Secondary actions: max 2, context-dependent
  - Always available: '重新生成' + '关闭'
  - '复制到剪贴板' as secondary for replace/insert

Mobile fix:
  - Modal uses flex column layout with max-height: 80vh
  - Preview area: flex: 1, scrollable, capped at 55vh (40vh on mobile)
  - Action bar: flex-shrink: 0, fixed at bottom, never hidden
  - Mobile breakpoint (600px): buttons wrap full-width, equal sizing

New save targets (auto-routed, user doesn't choose directories):
  - Knowledge/Notes/     for general AI outputs
  - Knowledge/Plans/     for content with checkboxes
  - Knowledge/Concepts/  for concept-like content (via existing flow)
2026-05-20 22:45:35 +08:00
Yan
7b26626ccb feat(2.0.0): three-module architecture — knowledge/execution/auxiliary
M1: README正式化 + badges + 三模块叙事 + 状态修正 + 版本对齐2.0.0
M2: 设置页改为侧边导航(知识/执行/辅助) + 分区布局CSS
M3: ActionDomain(knowledge/execution/auxiliary) 替代旧ActionGroup + 面板三栏
M4: Scheduler MVP — ScheduledTaskRunner + NextRunCalculator + 知识债务扫描 + 百度备份任务
    KnowledgeIndexService 新增 getAll() 公开方法
    KnowledgeDebtModal 改用公开API
2026-05-20 16:06:28 +08:00
yan
e3ea427bec release: 1.7.6 2026-05-08 14:04:00 +08:00
yan
cc6f12e147 release: 1.7.3 2026-05-07 22:38:49 +08:00
yan
22fda29f01 release: 1.7.2 2026-05-07 22:11:41 +08:00
yan
f9d6582444 release: 1.6.1 2026-05-07 09:29:32 +08:00
yan
1be28a335a release: 1.5.5 2026-05-01 15:06:54 +08:00