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

no time filter not working #33

Closed
dirkschut opened this issue Sep 12, 2020 · 8 comments
Closed

no time filter not working #33

dirkschut opened this issue Sep 12, 2020 · 8 comments
Labels
🐛 bug Something isn't working

Comments

@dirkschut
Copy link

The following filter works in the todoist app/website but not in the plugin:

no time & today

obsidian: v0.8.12
plugin: v1.2.2

@jamiebrynes7
Copy link
Owner

Hey @mrDLSable, seems that you've ran into another unsupported filter keyword like #11 (despite the Todoist API docs claiming otherwise!).

I think I'll make a meta ticket to track these as and when we run into them.

@jamiebrynes7 jamiebrynes7 added the 🐛 bug Something isn't working label Sep 12, 2020
@dirkschut
Copy link
Author

Ah, thanks @jamiebrynes7. I know it's a lot to ask for, but could you as a workaround perhaps assign a class to the todo items so people like me (probably just me) can hide them? Perhaps NoTime and HasTime?

@jamiebrynes7
Copy link
Owner

I'm happy to add a has-time or similar to the task element, but does that solve your problem completely?

Unless you never want to see tasks without time in any query, doing this at a CSS level will affect all queries.

@dirkschut
Copy link
Author

What I want to do is essentially use this query: overdue & p1 | today & no time & p1. With the has-time I can then use the following query and CSS to simulate it.

overdue & p1 | today & p1

.has-time{
    display: none;
}

.task-overdue{
    display: block;
}

I know it's just a bodge, but it's the best I can come up with right now.

@jamiebrynes7
Copy link
Owner

Sure I can add those classes in, I imagine they could be useful for someone else as well.

Raised #36 for this 😄

@dirkschut
Copy link
Author

Thanks :) I really love the plugin so far and look forward to what you will be able to do when the official plugin API is released

@thammawat-s
Copy link

"filter": "no time" is working now, FYI.

@jamiebrynes7
Copy link
Owner

Yup, can confirm no time works as a filter now! 🎉

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🐛 bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants