Repository navigation
Releases
One Week 1.6.3 — Fix saving editors in Obsidian
Fix saving editors in Obsidian
Fix an error, Cannot read properties of undefined (reading 'value'), when saving tasks, class rules, or routines. Obsidian's HTML sanitizer removes the reserved field name title; the editors now use a non-reserved name.
Existing data and note links are preserved. No migration is required. Copy any unsaved draft before reloading the plugin, then save it after re-enabling One Week.
Verification: 26 automated tests, syntax/build checks, reproduction on the previous build using DOMPurify 3.0.1 with the installed Obsidian sanitizer configuration, and Chinese/English browser checks for notes with multiple URLs, completion, retry after a failed save, scheduled tasks, postponement, routines, and class rules.
修复事项、课程和常规日程编辑窗口保存时报错的问题。原因是表单字段名称与 Obsidian 的安全过滤规则冲突,与备注中的链接无关。
已有日程与备注无需迁移。重新启用插件前,请先复制尚未保存的草稿,再在新版中保存。
One Week 1.6.2 — Complete tasks from the sidebar
Complete tasks without scheduling them
Each unscheduled task in the weekly sidebar now has a completion checkbox. Finish a task straight from your list, without dragging it onto the timetable first.
- Completed tasks move to the sidebar's completed list; uncheck them to restore.
- Completion state remains shared across week, month, and matrix views, with undo support.
- Bulk selection continues to select tasks for rollover separately from completion.
No data migration is required. Existing schedules, notes, and class rules are preserved.
本周待办侧栏现在支持直接勾选完成,未安排时间的事项也能完成。已完成事项可在下方恢复,也支持撤销;周历、月历与四象限同步同一个完成状态。批量选择逻辑保持不变。
验证:26 项自动检查、构建检查,以及中英文三个视图中的完成/恢复/撤销/批量选择/保存失败/跨视图同步。
One Week 1.6.1
Review and packaging fixes
- Regenerate the npm lockfile from an empty directory, including every esbuild platform dependency and matching license metadata.
- Build from plugin.js into the conventional root main.js; the dist mirror is byte-for-byte identical.
- Replace forced !important styles with scoped selector specificity, preserving the completed-task appearance and short-event controls.
- Remove unused :has and compatibility declarations.
- Attach only the three supported plugin assets.
A fresh npm ci, the 26 public tests, syntax checks and production build pass. The full local regression suite has 94 passing checks. Browser checks pass for completion controls, notes, sidebar/layout, import/undo, themes and both languages.
Requires desktop Obsidian 1.14.5+. Keep data.json when replacing the plugin files. Your timetable and tasks use the same storage format.
This release addresses the previous scan findings and awaits independent community re-review. Optional GitHub artifact attestations are not claimed.
One Week 1.6.0
One Week helps students plan around their class timetable, with a weekly calendar, monthly view, shared task editor, routines, and an Eisenhower matrix.
- English and Simplified Chinese interfaces; change language in the planner.
- Teaching weeks, odd/even class patterns, and one-off class time/room changes.
- CSV/TSV import with a preview, duplicate detection, and conflict checks.
- Unscheduled weekly tasks, routines, next-week rollover, notes with links, and undo.
- Consistent light/dark styling, compact task controls, and a collapsible sidebar.
- Local storage only: no accounts, telemetry, or cloud dependencies in the plugin.
Requirements: desktop Obsidian 1.14.5 or newer. Mobile is not enabled in this first release.
Install: download main.js, manifest.json, and styles.css, and put them in <vault>/.obsidian/plugins/baiyi-weekly-planner/. Enable One Week in Community plugins. Alternatively, extract the ZIP and copy those three files.
Upgrade: keep data.json, replace the three plugin files, then reload the plugin after saving open editors. The plugin ID is retained for compatibility with the earlier Chinese version. Language changes do not modify your existing course names or notes.
Community-directory availability depends on Obsidian review; this GitHub release is available for manual installation immediately.
License: MIT. Public screenshots and tests contain invented examples only.