Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature request: add a configuration to allow choosing which date properties to be assigned as the daily note date for daily note items #103

Open
yfzhao20 opened this issue Feb 19, 2024 · 4 comments
Labels
enhancement New feature or request

Comments

@yfzhao20
Copy link

发现只要一条任务在某天的 Daily Note 下,那么它就一定显示在对应日期的任务窗格中

如下图,task1 task3 自动推断了日期;而 task 4 即使指定了 schedule/start/due date ,该任务也会存在于这一天的窗格中

是否可以添加一个选项,使任何没有显式指定日期的任务都成为 unplanned,无论是否在 Daily Note 中?

如下图,希望有一个选项,使 task1 task3 成为 unplanned,而 task4 按照设定的日期显示

图片

提前感谢作者!🌹

@cyrusn
Copy link

cyrusn commented Feb 23, 2024

Agree, same issue even using DataView format.
I scheduled a task to 2026-03-01, but show as this task is in my daily file 2023-08-24.md

image

@Leonezz
Copy link
Owner

Leonezz commented Feb 24, 2024

发现只要一条任务在某天的 Daily Note 下,那么它就一定显示在对应日期的任务窗格中

如下图,task1 task3 自动推断了日期;而 task 4 即使指定了 schedule/start/due date ,该任务也会存在于这一天的窗格中

是否可以添加一个选项,使任何没有显式指定日期的任务都成为 unplanned,无论是否在 Daily Note 中?

如下图,希望有一个选项,使 task1 task3 成为 unplanned,而 task4 按照设定的日期显示

图片

提前感谢作者!🌹

你的意思是需要一个设置让所有放在 daily note 中的条目不默认使用该 daily note 的日期吗?我觉得是不是至少设置个 create date 更加合理?anyway 这个功能是可以实现的,可以加入一个设置项允许用户选择 daily note 日期要默认设置到哪些日期字段。不过我目前同时需要开发新的版本和修复现有 issue,有点忙不过来,因此这个 feature 可能短期无法提供,望理解。

@Leonezz
Copy link
Owner

Leonezz commented Feb 24, 2024

Agree, same issue even using DataView format. I scheduled a task to 2026-03-01, but show as this task is in my daily file 2023-08-24.md

image

From what I see, the behavior is the date of the daily note is set to create date, start date, and scheduled date by default, and the scheduled date got covered by the provided dataview format metadata later on, which is expected. I think it is not quite reasonable if the feature you would like to have is to discard the daily note date when there are already dates assigned to an item explicitly. But an option could be added to allow the users to choose which date properties need to be assigned as the daily note date by default (including no properties).

@Leonezz Leonezz changed the title Feature request: add a configuration to disable inferring start time from daily note title Feature request: add a configuration to allow choosing which date properties to be assigned as the daily note date for daily note items Feb 24, 2024
@Leonezz Leonezz added the enhancement New feature or request label Feb 24, 2024
@yfzhao20
Copy link
Author

anyway 这个功能是可以实现的,可以加入一个设置项允许用户选择 daily note 日期要默认设置到哪些日期字段。

我之前通过改 main.js 实现了一部分(至少实现了是否自动分配日期),看看有没有时间改下 ts 源码

不过我目前同时需要开发新的版本和修复现有 issue,有点忙不过来,因此这个 feature 可能短期无法提供,望理解。

谢谢您!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants