v1.3.0 — 钉钉日历同步

- 早间立志卡片新增日历同步按钮
- /api/calendar-sync 从缓存读取当日钉钉会议
- 自动填入立志:去重防重复,保留时间+地点格式
- 日历缓存: ~/.workbuddy/data/ziwei-power/calendar_cache.json
This commit is contained in:
mac
2026-06-04 12:40:31 +08:00
parent 46862e5110
commit bb07d320f2
4 changed files with 83 additions and 0 deletions

View File

@@ -113,6 +113,9 @@
<svg class="icon-h2"><use href="#icon-sun"/></svg>
<h3>早间立志</h3>
</div>
<button class="btn-cal-sync" onclick="syncCalendar()" title="同步钉钉日历">
<svg class="icon-sm"><use href="#icon-calendar"/></svg>
</button>
<button class="btn-edit-toggle" onclick="toggleEditMode(this)" title="编辑">
<svg class="icon-sm"><use href="#icon-pencil"/></svg>
</button>