项目页统计口径重构与执行入口移除(v3.4)

This commit is contained in:
XIGE
2026-12-01 13:18:59 +08:00
parent 467d34afe8
commit ce4ec2cd51
7 changed files with 137 additions and 86 deletions

View File

@@ -76,6 +76,19 @@ data class ProjectTaskStat(
val focusSeconds: Int,
)
/**
* 项目卡「完成记录」区的一条记录:一次完成的专注,不含任务行本身。
* 任务被删除后标题降级为「未关联任务」,历史记录仍保留。
*/
data class ProjectCompletion(
val sessionId: Long,
val taskTitle: String,
val note: String,
val startAt: Long,
val endAt: Long,
val seconds: Int,
)
/** 提前完成时交给 UI 落备注的实际专注信息 */
data class FocusFinish(
val taskId: Long,