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

GTD Project view only detects with tasks with time/waiting.for attributes #631

Closed
2 tasks done
LoipesMas opened this issue Oct 16, 2022 · 1 comment
Closed
2 tasks done
Labels
bug Issues related to bugs. Please attach a severity, a priority and category with this label.

Comments

@LoipesMas
Copy link

Prerequisites

  • I am using either 0.7 stable with the 0.0.12 tag or the latest compiled Neovim version
  • I am using the latest version of the plugin

Neovim Version

NVIM v0.8.0

Neorg setup

require('neorg').setup {
    load = {
        ["core.defaults"] = {},
        ["core.keybinds"] = {
            config = {
                neorg_leader = "<Space>",
            },
        },
        ["core.norg.concealer"] = {},
        ["core.norg.completion"] = {
            config = { engine="nvim-cmp" }
        },
        ["core.integrations.nvim-cmp"] = {},
        ["core.gtd.base"] = {
            config = {
                workspace = "gtd",
            }
        },
        ["core.norg.dirman"] = {
            config = {
                workspaces = {
                    misc = "~/neorg/misc",
                    gtd = "~/neorg/gtd",
                }
            }
        },
    ["core.integrations.telescope"] = {},
    }
}

Actual behavior

GTD Project view only detects tasks that have an attribute (such as #time.start or #waiting.for, but not #context). It ignores the rest.
For example if you have:

- [ ] Task A
* Project Foo
  - [ ] Task B
  #waiting.for godot
  - [ ] Task C

then project view (<Localleader>tv p) will only detect Task C, and it will show Project Foo (0/1 done).
(However the "all tasks" view will correctly detect all three tasks (but B and C are "unclarified")

Expected behavior

GTD Project view detects all tasks in a project

Steps to reproduce

Create a project with tasks that don't have any attributes
Open project view
See that your project has 0 tasks and is "unclarified"

Potentially conflicting plugins

No response

Other information

Adding the attribute to the project makes all the tasks in the project detectable (which is what I will be doing as a workaround for the time being)
And, as I mentioned, #context attribute does nothing here

Help

Yes, but I don't know how to start. I would need guidance (check question below)

Implementation help

I would gladly help out, but I just started using neorg, so I have no idea how things work internally.

@LoipesMas LoipesMas added the bug Issues related to bugs. Please attach a severity, a priority and category with this label. label Oct 16, 2022
@danymat
Copy link
Member

danymat commented Dec 23, 2022

Hello, thank you for submissing for issue. I'm closing it, for reference: #695

@danymat danymat closed this as not planned Won't fix, can't repro, duplicate, stale Dec 23, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Issues related to bugs. Please attach a severity, a priority and category with this label.
Projects
None yet
Development

No branches or pull requests

2 participants