blacksmithgu / obsidian-dataview

A data index and query language over Markdown files, for https://obsidian.md/.
https://blacksmithgu.github.io/obsidian-dataview/
MIT License
7.06k stars 414 forks source link

Read-only Task view #2413

Open dimitry12 opened 3 months ago

dimitry12 commented 3 months ago

I believe queries like the following are fairly common:

TASK FROM "daily"
WHERE !completed

the problem I've encountered multiple times here is that accidental click on the task's checkbox marks it as complete and makes the task disappear from the view. It is cognitively hard to notice absence and remember what's missing outside or surrounding context.

The proposed feature is allowing to query tasks as read-only with checkbox not being "interactive".

https://github.com/blacksmithgu/obsidian-dataview/blob/3c29f7cb5bb76f62b5342b88050e054a7272667f/src/ui/views/task-view.tsx#L105-L106 seems relevant but I have no opinion or suggestion for how the implementation may look like neither design suggestion for a potential new query "flag".