question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Completing a task at its origin does not set completion date

See original GitHub issue

What happened?

When having a list of tasks (e.g.: - [ ] Task 1), checking them where they are written will not make it add the completion suffix. I’m only getting started with Dataview so am not sure whether this should be expected, but I thought it would not be expected.

When checking them in a dataviewjs query, it will add/remove them. See the video below for an example:

https://user-images.githubusercontent.com/1593486/198889800-9b8e04d2-5ceb-4c9a-a35c-ea05dc30d8ab.mov

DQL

No response

JS

dv.taskList(
	dv.pages().file.tasks.where(
		task => task.completion?.toISODate() == dv.current().file.day.toISODate()
	)
)

dv.taskList(
	dv.current().file.tasks.where(
		task => !task.completed
	)
)

Dataview Version

0.5.47

Obsidian Version

1.0.3

OS

MacOS

Issue Analytics

  • State:open
  • Created a year ago
  • Reactions:1
  • Comments:11 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
holroycommented, Nov 18, 2022

I reckon you might be aware of this, but I found that if you in a given page both declare the task and query the same task, you will be able to set the completion date as long as you complete it from the query (and not the definition). In this sense, it can be be completed at the original page (although not from the actual definition of the task).

1reaction
AB1908commented, Nov 14, 2022

Have you enabled the following setting?

image
Read more comments on GitHub >

github_iconTop Results From Across the Web

How to overcome Parkinson's Law - Atlassian
Parkinson's Law is the concept that work expands to fill the time given to complete it, pushing out your deadlines and hampering your ......
Read more >
[Status: Not planned] Editable Task Completion Date
Unfortunately whenever I create a task and mark it complete, it states that the completion date is today even though it was completed...
Read more >
Overview of the task Planned Completion Date
The Planned Completion Date of a task is the date by which the task is set to complete.
Read more >
CORS Tutorial: A Guide to Cross-Origin Resource Sharing
TL;DR: In this article, we'll take a look at CORS, the circumstances under which it is needed, the benefits it provides, and how...
Read more >
Conditional Commitment Direct Endorsement Statement of ...
HUD Does Not Guarantee the work done to comply with the conditions. ... Assurance of Completion: If the required repairs cannot be completed...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found