Open claremacrae opened 1 year ago
@mvdkwast As the person who kindly wrote the inferred scheduled date code, I wanted to you let you see this in advance...
Basically, I'm proposing to change the behaviour so that inferred scheduled dates are rendered:
So basically changes like this:
case 'scheduledDate':
- if (!task.scheduledDate || task.scheduledDateIsInferred) return '';
+ if (!task.scheduledDate) return '';
return layout.options.shortMode
? ' ' + scheduledDateSymbol
: ` ${scheduledDateSymbol} ${task.scheduledDate.format(TaskRegularExpressions.dateFormat)}`;
Please check that this issue hasn't been reported before.
Expected Behavior
GIVEN a vault configured to infer task scheduled dates from dates in file names WHEN I set up custom styling for schedule dates THEN I would like tasks with inferred scheduled dates to be styled the same as tasks with matching actual scheduled dates
Current behaviour
Since any scheduled dates inferred from file names are not displayed, such tasks are not styled either.
Steps to reproduce
This will grey/gray out all future scheduled tasks.
2023-05-15 auto-scheduled.md
Actual result received:
Tasks whose scheduled date came from the filename are not greyed/grayed out
Expected result:
That all the tasks are displayed in grey/grey - both the task lines, and the results block.
Which Operating Systems are you using?
Obsidian Version
1.3.0
Tasks Plugin Version
3.6.0
Checks
Possible solution
No response