Giter VIP home page Giter VIP logo

Comments (7)

claremacrae avatar claremacrae commented on July 19, 2024 3

Hi, I've written documentation for the Tasks plugin about the underlying Obsidian issue which will also be useful to dataview users:

Missing tasks in callouts with some Obsidian 1.6.x versions

I will update the page as the Obsidian behaviour improves.

from obsidian-dataview.

Kazeheki avatar Kazeheki commented on July 19, 2024 1

I got the same issue with DQL as well.

Example with same markdown as already provided:

## with DQL

```dataview
TASK
WHERE file.path = this.file.path
```

```dataview
TABLE WITHOUT ID
T.text AS "task desc", 
T.checked AS "checked",
T.completed AS "completed"
WHERE file.path = this.file.path
FLATTEN file.tasks AS T
```

image

from obsidian-dataview.

WingerathM avatar WingerathM commented on July 19, 2024 1

If the callout has no title aka only has the callout "type" in brackets, everything works as expected.

> [!todo]
> - [ ] some task

and

```dataview
TASK
WHERE !completed
```

correctly returns

Todo

  • some task

from obsidian-dataview.

claremacrae avatar claremacrae commented on July 19, 2024 1

Hi @Deanly in what way is this completed?

in the Tasks plugin I’ve left the equivalent ticket open so it, and the link to more info, is discoverable to other users finding the problem. And to prevent duplicate reports.

I would strongly recommend leaving this ticket open until Obsidian is properly fixed.

from obsidian-dataview.

claremacrae avatar claremacrae commented on July 19, 2024 1

From the Obsidian team:

In version 1.6.5 a new advanced settings has been introduced to force rebuild the metadata cache.

If you are affected by this issue, go to Settings → Files and links → Advanced → Rebuild vault cache.

You will need to do this on all vaults, on all devices...

I've updated the Tasks notes on this issue.

from obsidian-dataview.

Deanly avatar Deanly commented on July 19, 2024

/test/test.md

Tasks

Data 1

> [!Callout]+ Data in Callout
> - [ ] task item 01
> - [ ] task item 03

Data 2

> [Blockquote]- Data
> - [ ] task item 02
> - [ ] task item 04

Data 3

  • task item 05

Dataview

\```dataviewjs
 dv.taskList(dv.pages('"test"')
 		.file
 		.tasks
 	   , false)
\```

from obsidian-dataview.

Deanly avatar Deanly commented on July 19, 2024

@WingerathM
Thank you. With your suggested method, I can also use the folding feature (+, -) in callouts. For the time being, I'll have to use it without the title in the callout.

from obsidian-dataview.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.