Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tasks completed today do not show up in the query #14

Open
ak127a opened this issue Oct 17, 2023 · 6 comments
Open

Tasks completed today do not show up in the query #14

ak127a opened this issue Oct 17, 2023 · 6 comments

Comments

@ak127a
Copy link

ak127a commented Oct 17, 2023

Please note that I have ticked the TODO today, so it shows 17th Oct.
image

Now, if on another page, I try to query it, it does not show up.
image

@meain
Copy link

meain commented Oct 17, 2023

Probably related: #9

@clobrano
Copy link

as commented on #9 this problem persists.

It is quite weird that the manual intervention seems needed. I tried to add the hashtag programmatically and still the completed property doesn't appear in backlinks, only modifying the property manually does it 🤷

@meain
Copy link

meain commented Oct 25, 2023

This is most probably a LogSeq problem than an issue with this plugin.

@lasnikr lasnikr mentioned this issue Oct 31, 2023
Closed
@YU000jp
Copy link
Contributor

YU000jp commented Jun 19, 2024

This is a bug in Logseq Plugin API. I have a suggestion. The property value is read into the database under the guise of a user action
e.x.

logseq.Editor.insertAtEditingCursor("\ncompleted:: 2024/06/19\n")

This is the way to enter a property directly. Before that happens need to check to delete the property if it exists.

@clobrano
Copy link

I'm sorry, but I'm not using Logseq anymore and can't verify this

@bryclee
Copy link

bryclee commented Dec 6, 2024

I've been testing this change to fix it. Using updateBlock instead of upsertBlockProperty seems to trigger queries to update: main...bryclee:logseq-plugin-task-check-date:main

It does not seem to work as reliably, if the block is still in edit mode then it would not be updated After some changes, this is fixed too. Only remaining quirk is that cursor position shifts when the block properties are edited and block is in editing mode.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants