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

right click doesn't work when clicking on a task displayed as result of tasks query #117

Closed
pcause opened this issue Jan 17, 2023 · 5 comments

Comments

@pcause
Copy link

pcause commented Jan 17, 2023

I am use the beta of the tasks plugin's support for multiple statuses. It isn't released yet but thought I'd report this as Clare thinks it could be your issue.

I have a tasks query in live preview mode

\```tasks
not done
some other criteria
\```
'''
i get some tasks displayed and then i right click on the box to set status.  the options come up on the popup but after i select the change isn't made to the task.
@ebullient
Copy link
Owner

This depends on whether or not the markdown post-processor has an API that I can hook into to work with how this is completed.

Related to #43

@pcause
Copy link
Author

pcause commented Jan 18, 2023

I wonder if this is because the item is displayed in the note where the tasks addon query is made but actually lives in another note. Is the code assuming the task is actually contained in the page where it is displayed? Perhaps there is a way to find out where it actually exists?

@ebullient
Copy link
Owner

Like I said.. it has to do with the click handler. That is the underlying cause. I had something that worked with dataview (linked in the other issue).. but it was a change to dataview to call task collector to complete the task / mangle the text.

@ebullient
Copy link
Owner

ebullient commented Apr 19, 2023

As it stands right now, I would not recommend using the Task Collector modal dialog with the Tasks plugin. Specifically, the Click handler / Prompt when you click the checkbox option.

Edit: hotkey commands work fine, but I've also observed some wonkiness with right click menus, too.

@ebullient
Copy link
Owner

I'm not sure that it is possible for me to fix this (alone). Task Collector does have an API that the Tasks plugin could call to pop up the modal within the context of that event handler...

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