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.

Bug report - rendering tasks with inline fields

See original GitHub issue

What happened?

I take notes across multiple files, and I gather up “agenda” tasks for a given person by assigning an inline field on the task like so:

- [ ] This is a made up task [person::[[Joe Bloggs]]]

Every so often, the rendering is off, and I end up with something like the attached image: image

(see the dodgy tag/field at the start?)

DQL

No response

JS

const people = dv.pages().file.tasks.distinct(t => t.person).person
if (people.length > 0) {
  dv.header(2, "Follow Ups")
  for (let p of people) {
    let tasks = dv.pages().file.tasks.filter(t => !t.fullyCompleted && dv.equal(t.person, p))
    if (tasks.length > 0) {
      dv.header(4, p)
      dv.taskList(tasks, false)
    }
  }
}

Dataview Version

0.4.21

Obsidian Version

0.12.19

OS

Linux

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:6 (1 by maintainers)

github_iconTop GitHub Comments

1reaction
jnsgrukcommented, Jul 1, 2022

FWIW I’ve not seen this for a few weeks, so seems solved in later versions, but HazmatDrone might have other experience.

0reactions
HazmatDronecommented, Jul 3, 2022

I should’ve mentioned; I was running Obsidian 0.14.15 with DataView 0.4.26 on Linux at the time of commenting. Updating DataView to 0.5.38 has fixed the issue; thank you.

Read more comments on GitHub >

github_iconTop Results From Across the Web

New Inline Field Highlighting · Issue #544 - GitHub
Describe the bug With the new feature enable, no colors are applied. To Reproduce Steps to reproduce the behavior: Add inline fields to...
Read more >
Issues for Inline Form Errors | Drupal.org
Title Status Priority Release of stable version Active Normal Restore getter function for element errors Needs work Normal Add support for reCaptcha Postponed (maintainer needs more...
Read more >
Inline `code` markdown doesn't render correctly in bug ...
When entering inline code in markdown in a bug/issue discussion (e.g. "We need to refactor `DocFactoryFactoryInstance` to support `Cat` objects without ...
Read more >
Enable inline editing in lists
Enable inline editing for legacy workspace lists so that you can inline edit one or multiple cells in a list column.
Read more >
How to Report Errors in Forms: 10 Design Guidelines
With inline validation, the error message is naturally shown next to the field causing the error. But even when the fields are not...
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