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

Filters and sorting doesn't work if Task doesn't start from TEXT but e.g. date or priority #2933

Closed
3 of 13 tasks
mirek186 opened this issue Jul 3, 2024 · 1 comment
Closed
3 of 13 tasks
Labels
duplicate This issue, pull request or discussion already exists scope: parsing markdown See also 'scope: global filter' type: bug Something isn't working

Comments

@mirek186
Copy link

mirek186 commented Jul 3, 2024

Please check that this issue hasn't been reported before.

  • I searched previous Bug Reports didn't find any similar reports.

Expected Behavior

Ability to use all available filters and sorting options for tasks queries.

Current behaviour

I have not found in the documentation any info that you need to start a task from text and had auto-complete enabled from 0 characters so it's been offering me DATE as the first option later, when I've tried to write some queries, I couldn't get them to work and started looking into docs, couldn't find anything and started from scratch using examples from docs and spotted It does work with docs examples, compared with mine and the only difference was mine starting with an icon for date or priority.
I've also spotted that you can't put any text after the date, priority, etc
Not working example:

  • 📅 #work 2024-07-02 After 1pm do XYZ
  • #work test 3 🔽 🛫 2024-07-01 📅 2024-07-08 can't put any text after either

Working example:

  • #work test 3 🔽 🛫 2024-07-01 📅 2024-07-08

Steps to reproduce

Not working example:

  • 📅 #work 2024-07-02 After 1pm do XYZ
  • #work test 3 🔽 🛫 2024-07-01 📅 2024-07-08 can't put any text after either

Working example:

  • #work test 3 🔽 🛫 2024-07-01 📅 2024-07-08

Which Operating Systems are you using?

  • Android
  • iPhone/iPad
  • Linux
  • macOS
  • Windows

Obsidian Version

1.6.5

Tasks Plugin Version

7.6.0

Checks

  • I have tried it with all other plugins disabled and the error still occurs

Possible solution

Make it clear in the documentation you have to follow a specific format and fix auto-complete option as it's been a "CORE" of my problem where I've been offered date emoji before I even started writing any text as I had auto-complete from char 0

@mirek186 mirek186 added the type: bug Something isn't working label Jul 3, 2024
@claremacrae claremacrae added the scope: parsing markdown See also 'scope: global filter' label Jul 3, 2024
@claremacrae
Copy link
Collaborator

claremacrae commented Jul 3, 2024

Finding and fixing your tasks

Firstly, you will find this page useful, to find and fix any tasks that remain with unrecognised data:

https://publish.obsidian.md/tasks/How+To/Find+tasks+with+invalid+data#Finding+unread+emojis

The documentation

I have not found in the documentation any info that you need to start a task from text

It would really help me if you could say where you did look in the documentation.

These are the main locations it is mentioned:

And both those links are embedded in:

Auto-suggest

had auto-complete enabled from 0 characters so it's been offering me DATE as the first option

Yes, that is a good point. The issue is explained in the docs, but I appreciate not everyone sees this.

Fixing the underlying issue

We are tracking this already in:

It's one of a number of issues marked as high priority, and based on the number of support requests I receive about this, I understand it really is important to fix. It will be a large amount of work to fix, and so will need a big block of free time to work on.

@claremacrae claremacrae added the duplicate This issue, pull request or discussion already exists label Jul 3, 2024
@claremacrae claremacrae closed this as not planned Won't fix, can't repro, duplicate, stale Jul 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
duplicate This issue, pull request or discussion already exists scope: parsing markdown See also 'scope: global filter' type: bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants