-
-
Notifications
You must be signed in to change notification settings - Fork 239
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
Make Tasks find signifiers even in there is text after them #1505
Comments
Hi Arne, I understand what you are saying. Current behaviourThis is not currently a bug - it is the current intended behaviour. If you go to this page in the docs: Finding your tasks whose data is not foundI just spent a bunch of time writing up some searches I use in my own main vault to find tasks with emoji or date problems. It won't be published until the next release. The rendered file is here: You can see the raw file here, for pasting in to Obsidian: Making this in to a feature requestLike I said, this is not a bug, it is the intended and documented behaviour. However, I do agree that it would be kinder to users if Tasks were more permissive in the order of text that it accepts. Therefore I will convert this ticket from a Bug to a Feature Request, so that it can be tracked as a possible future enhancement for Tasks. |
Thanks @claremacrae for clearing this up for me - yes it would be really great to have this behaviour change :) ... it is somehow also connected to the key:value pair request as this could be a custom key "Outcome" for example. so a task can have an outcome that is a note or a link to another task or whatever. as I don't know the structure of the code its probably more complicted than a few lines - especially as this is something that has influence on the modal and probably some other parts of the interfaces and query structures. in any way - thank you so much for making a feature request out of it and I stay tuned. have a great day |
Picking up a thread with @zaphodb2002 from #1795 (comment)
HI @zaphodb2002, many thanks for (I think) looking at this. Just to let you know, however, that it is currently not a very good time for anyone to work on this issue... The reason is that @kedestin is currently doing a lot of work on refactoring out the task line parsing code - the current step being #1773. See their earlier PRs... There will then be support for one or more new formats added (I think, a non-emoji-based one) - and I can envisage a number of unresolved questions about this already. I am especially keen to see how the new abstractions will work in adding support for dataview task fields, as that is a frequent request from Tasks users. And I think having two separate strands of development of parsing at the same time would be inefficient for contributors, and likely too much for me to keep track of at the same time. So far as this issue goes, I suggest seeing how @kedestin's work goes, and what evolves from that first. And then explore removing the order-of-field limitations - unless of course that is driven by a requirement of one of the other formats which we already have requests for. (Like if users of dataview already have tasks lines with descriptions mixed in amongst task properties) |
In case it helps anyone else, I have a 'report problems' note that I check once a week, that has two searches - one of which is specifically to find problems with field order:
/CC @zaphodb2002 |
Picking up the discussion from #1913 (comment) Fro @kedestin:
|
Thank you.
I had thought the the code might evolving evolve to this state eventually, but was not expecting to get there for quite some months if at all. I do agree that it's a lot of work. |
BTW: if you consider non-emoji syntax, I recommend Zim conventions:
|
Just to note, @eatgrass has done really lovely experimentation on possible approaches for this, in: |
A key part of this, usability-wise, will be retaining the original text order when editing task fields. That still requires thought, and should probably be implemented before the more general parsing... |
Please check that this issue hasn't been reported before.
Expected Behavior
filter should find tasks even if there is text after the done date
Current behaviour
filter does not find any tasks that have text after the done date
Steps to reproduce
i often write an "outcome" for a task. for example:
but these tasks are not included in a
search. this i use on a daily note to have an overview what i have done that day.
Which Operating Systems are you using?
Obsidian Version
1.1.9
Tasks Plugin Version
1.22.0
Checks
Possible solution
No response
The text was updated successfully, but these errors were encountered: