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

The hierarchical relationship between parent tasks and child tasks is identified abnormally #213

Open
18 tasks
Leftzhf opened this issue Jan 21, 2025 · 3 comments

Comments

@Leftzhf
Copy link

Leftzhf commented Jan 21, 2025

Describe the bug
The hierarchical relationship between parent tasks and child tasks is identified abnormally; tasks that do not belong to tasks with the #ticktick tag are marked as child tasks.

To Reproduce
Steps to reproduce the behavior:
The current task tree structure is as follows:

  • test1
    • test2
      • test2.1
      • test2.2
        • test2.2.1
          • test2.2.1.1
        • test2.2.2
      • test2.3
    • test3

Now, add the #ticktick tag to the task test2.2.1, and it will be synchronized to ticktick.

  • test1
    • test2
      • test2.1
      • test2.2
        • test2.2.1 link #ticktick %%[ticktick_id:: 678fc21a1b9ca0c50e2e5908]%%
          • test2.2.1.1
        • test2.2.2
      • test2.3
    • test3

After triggering the synchronization logic, the task tree structure has become as shown in the figure.

Image

Expected behavior
Should only test2.2.1.1 be recognized as a subtask

@thesamim
Copy link
Owner

Actually, test2.2.1.1 should be a task item because it doesn't have #ticktick tag and is indented.

but yes, everything below that should NOT be task items.

Will handle in next release.

@Leftzhf
Copy link
Author

Leftzhf commented Jan 23, 2025

Image
Additionally, there is a strange phenomenon where when I focus my mouse on a specific task and then move it away, that task gets added as a subtask and is marked with an ID.

Actually, test2.2.1.1 should be a task item because it doesn't have #ticktick tag and is indented.

but yes, everything below that should NOT be task items.

Will handle in next release.

@thesamim
Copy link
Owner

Additionally, there is a strange phenomenon where when I focus my mouse on a specific task and then move it away, that task gets added as a subtask and is marked with an ID.

That's weird! The plugin doesn't do anything on onhover.

Will try to reproduce. In the meantime: What plugins do you have installed?

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