任务完成后从列表消失;重要度改名并新增紧急度五角星;通知按钮间距与默认专注页

This commit is contained in:
XIGE
2026-11-28 17:11:28 +08:00
parent 6d13a5bf3c
commit 6b68d56467
13 changed files with 176 additions and 58 deletions

View File

@@ -40,6 +40,8 @@ data class Task(
val repeatType: Int, // Repeat.NONE / DAY / WEEK / MONTH
val repeatEvery: Int, // 每 N 天 / 周 / 月
val originId: Long = 0L, // 重复系列的根任务 id;0 表示自己就是根
/** 紧急度:0 不急 / 1 中 / 2 紧急;列表标题后按档位显示彩色五角星 */
val urgency: Int = 1,
/** 仅在完成记录上有效:这一轮的专注秒数,配合 createdAt/doneAt 显示真实起止 */
val logSeconds: Int = 0,
) {