Add TasksDates for custom statuses #2718
Replies: 2 comments
-
Thank you for using the Tasks plugin, and for taking the time to make a suggestion. BackgroundAs per the title of this section - (Bugs have always been tracked in Issues.) Here are some of the reasons why the need for this change: I had to leave Ideas Discussions open to allow people to comment on existing ideas, and so we could track their votes, so I renamed the section to try to point people to Ideas instead for new reports. RequestSo I would be grateful if you would go to Issues, click I'm going to close this now, and look forward to receiving your report in Issues. Thanks again. |
Beta Was this translation helpful? Give feedback.
-
Sorry for posting it in the wrong place. I have created an issue for it. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
I was looking to create a query in my daily note that lists all the tasks that I worked on that day but didn't finish.
I've tried the following query
Which works if you have either a
Start
,Scheduled
orDue
date, but this doesn't make the query reliable, as these dates are not required and also not set automatically when changing the status toIN_PROGRESS
.I also wanted to create a query that lists all the tasks that I STARTED on that day, but that simply doesn't seem to be possible, because that date is not tracked and not queryable.
I couldn't find a
TasksDate
in the documentation forStarted
or something like that, then it dawned on me thatIN_PROGRESS
status is a custom status.So I was wondering if it would be possible to track dates of custom statuses in the same way as
Done
,Canceled
,Created
?I couldn't find any discussion, issue or pull request that relates to this.
I'd suggest to make this as generic as possible, as you can't possibly no what custom statuses a user has, and which statuses he wants to have tracked. Like a property in the
Tasks
class with the nameCustom_Status
with an object that lists all available custom statuses and their dates.It might be a challenge to choose a emoji for these custom statuses, though.
I was already looking at the code if I could do something myself. I'm quite proficient at JS/TypeScript but I don't know anything about creating Obsidian plugins. I also realise this is not a simple feature to add so I wanted to start a discussion about it first.
Do you think this is feasible? What would be the best way to do this so it works for every status?
Beta Was this translation helpful? Give feedback.
All reactions