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

Adding metadata breaks tasks-plugin queries #84

Open
abonhote opened this issue Feb 23, 2024 · 2 comments
Open

Adding metadata breaks tasks-plugin queries #84

abonhote opened this issue Feb 23, 2024 · 2 comments

Comments

@abonhote
Copy link

I'm using the default "metadata to append":

πŸ”’ [[{{date}}]] πŸ•ΈοΈ {{headingChain}}

I archived this task today:

- [x] Test πŸ“… 2024-02-23 βœ… 2024-02-23 πŸ”’ [[2024-02-23]] πŸ•ΈοΈ Inbox

I expect this taks to appear in this tasks query:

done on 2024-02-23

It doesn't. Removing the added metadata, or moving it right after the task text solves the problem.

Any idea is very welcome.

@abonhote
Copy link
Author

Probably a tasks thing, opened a ticked there.
obsidian-tasks-group/obsidian-tasks#2673

@genyuz
Copy link

genyuz commented Mar 22, 2024

It seems that the tasks behavior is on intention (probably for performance reasons). Wouldn't it be possible, to extend the Task-Archivers "Append some metadata ..."-feature with the option to define where the metadata shall be added? If one was able to set the meta data to be added at the beginning of the task the task-queries would not break.

eg.

- [x] Test πŸ“… 2024-02-23 βœ… 2024-02-23 πŸ”’ [[2024-02-23]] πŸ•ΈοΈ Inbox

could optionally become:

- [x] πŸ”’ [[2024-02-23]] πŸ•ΈοΈ Inbox Test πŸ“… 2024-02-23 βœ… 2024-02-23

or even better before the tasks-dates:

- [x] Test πŸ”’ [[2024-02-23]] πŸ•ΈοΈ Inbox πŸ“… 2024-02-23 βœ… 2024-02-23

BTW even without the add-metadata-feature (which is unfortunately currently not usable together with the tasks-plugin) the Task-Archiver is a great plugin that makes daily work much more easier when working with lots of recuring tasks. THANKS!

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

2 participants