fix(journal): planned subtasks are hidden from the planned list and header count

未关闭
#422 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

维护者通常 1 天内回复

还没有人认领这个 Issue。

评估

难度
3/5
预计耗时
1-2 天
新手友好度
55/100
Issue 类型
缺陷
描述清晰度
基本清楚
活跃度
活跃
技术栈
csharp

调研方向

Start with the get_journal implementation and the code that builds the Planned tasks (N) header; inspect how planned dates and subtasks are represented, then look at related issue #349 for context. Trace the journal tests for planned tasks and subtasks, if present. Done means day planned subtasks are visibly distinguishable from unplanned open subtasks and are included in the header count.

由索引模型根据 Issue 内容生成。

描述

Problem

A subtask planned for a day (e.g. #170 under #127) is only shown nested beneath its parent in the journal view (get_journal), and it is not counted in the Planned tasks (N) header. A task that is genuinely planned for the day is therefore easy to miss, and the header count understates the day's plan.

Example (journal 2026-11-05): the header reads Planned tasks (3), but #127 lists 19 open subtasks and only #170 is actually planned for that day. Nothing marks it apart from the other 18.

Expected

  • A subtask planned for the day appears in the planned list in its own right, or is clearly marked as planned within its parent's nested list.
  • The Planned tasks (N) header counts every task planned for that day, subtasks included.
  • Open subtasks that are not planned for that day stay distinguishable from those that are.

Related

  • #349 (show only a day's own subtasks under a parent)
  • #366 (tracking: journal subtask display)

Raised from TaskFlow task #183.

主要语言
C#
星标
1
派生
0
平均合并
2 小时 2 分钟
30 天内合并 PR
98

环境准备

  • 提供 Dockerfile 或 Docker Compose 文件
  • 没有 Pull Request 模板
  • 阅读贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

nevridge/TaskFlow 的其他 Issue

查看 nevridge/TaskFlow 的全部 Issue

相似的 Issue

更多 C# Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。