You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Dataview currently treats only [x] checkboxes as completed. Custom statuses (e.g. [T], [!]), even when marked as DONE in the Tasks plugin, appear as checked = true but completed = false. This makes Dataview queries inaccurate for users of custom task statuses.
Proposed solution
Enhance task metadata handling in Dataview:
Respect status types dynamically
If richer status definitions are available (e.g. from the Tasks plugin), Dataview should use them automatically.
Any status of type DONE should map to completed = true.
Other types (TODO, IN_PROGRESS, CANCELLED, etc.) could be exposed in a new field, e.g. statusType.
Existing work around
Dataview currently exposes the raw status symbol with the property 'status'
- Provides the exact character inside [ ] (e.g. "x", "T", "!").
- This lets users interpret custom tokens themselves in queries.
Example
[T] is defined in the Task plugin as a custom status 'DONE'.
- [T] Finish report
- [x] Send invoice
Current in Dataview:
For [T]: checked = true, status = "T", completed = false,
For [x]: checked = true, status = "x", completed = true
Proposed:
For [T]: checked = true, status = "T", statusType = "DONE", completed = true
For [x]: checked = true, status = "x", statusType = "DONE", completed = true
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Problem
Dataview currently treats only
[x]
checkboxes as completed. Custom statuses (e.g.[T]
,[!]
), even when marked as DONE in the Tasks plugin, appear aschecked = true
butcompleted = false
. This makes Dataview queries inaccurate for users of custom task statuses.Proposed solution
Enhance task metadata handling in Dataview:
Existing work around
Dataview currently exposes the raw status symbol with the property 'status'
- Provides the exact character inside [ ] (e.g. "x", "T", "!").
- This lets users interpret custom tokens themselves in queries.
Example
[T] is defined in the Task plugin as a custom status 'DONE'.
Current in Dataview:
For [T]: checked = true, status = "T", completed = false,
For [x]: checked = true, status = "x", completed = true
Proposed:
For [T]: checked = true, status = "T", statusType = "DONE", completed = true
For [x]: checked = true, status = "x", statusType = "DONE", completed = true
Beta Was this translation helpful? Give feedback.
All reactions