BUTTON[start,complete, cancel, delay, pause]

label: 开始
icon: play
style: primary
class: btn-warning
id: "start"
hidden: true
actions:
  - type: updateMetadata
    bindTarget: 状态
    evaluate: false
    value: "进行中"
label: 完成
icon: check
style: primary
class: btn-success
id: "complete"
hidden: true
actions:
  - type: updateMetadata
    bindTarget: 完成时间
    evaluate: true
    value: "new Date(new Date().getTime() + 8 * 3600 * 1000).toISOString().replace('T', ' ').substring(0, 16);"
  - type: updateMetadata
    bindTarget: 状态
    evaluate: false
    value: "已完成"
label: 取消
icon: x
style: primary
class: btn-danger
id: "cancel"
hidden: true
actions:
  - type: updateMetadata
    bindTarget: 状态
    evaluate: false
    value: "已取消"
label: 推迟
icon: chevrons-right
style: primary
class: btn-emphasis
id: "delay"
hidden: true
actions:
  - type: updateMetadata
    bindTarget: 预计交付时间
    evaluate: true
    value: "new Date(new Date(getMetadata('预计交付时间')).getTime() + 32 * 3600 * 1000).toISOString().replace('T', ' ').substring(0, 16)"
label: 搁置
icon: pause
style: "default"
class: btn-secondary
id: "pause"
hidden: true
actions:
  - type: updateMetadata
    bindTarget: 状态
    evaluate: false
    value: "已搁置"

任务内容

任务路径:管理运维/Obsidian/个性化

  • 总笔记数 ✅ 2025-07-09
  • 近期笔记数 ✅ 2025-07-09
  • 社交活动横向时间线+操作按钮+跳转本月社交活动评估 ✅ 2025-07-10
  • 角色切换失败记录按钮 ✅ 2025-07-16
    • 无需
  • RSS ✅ 2025-07-16

后记