Skip to content

feat: add estimated time (i.e. Duration) to complete in Task #1649

Description

⚠️ Please check that this feature request hasn't been suggested before.

  • I searched previous Ideas in Discussions didn't find any similar feature requests.
  • I searched previous Issues didn't find any similar feature requests.

🔖 Feature description

add estimated time to complete to any Task.

ex)

  • [TODO]: find cheque book #P2 #someday ⏱ 0:15

the scope of the feature is as follows:

  • add new task metadata to Task class and associated parsing
  • support suggestions when typing a task in vault
  • add rendering of metadata to a task line
  • add to edit task modal
  • add support in query lang to filter based on this new metadata

and of course, some new tests are going to need to be added ...

✔️ Solution

the current code has support for lots of task metadata such as dueDate, startDate, scheduledOn, etc.

the change required to implement additional metadata would sit next to what is already there to support these other ones and thus requires no refactoring, etc.

future refactoring wouldn't be impacted either as it doesn't add any additional burden w.r.t what it already would be to take the current pattern X to the new one Y.

❓ Alternatives

N / A

📝 Additional Context

I have already implemented this in a private fork, see the screencaps below.

The statements I made in Solution are true for at least points 1-4 of the scope I mentioned above, as this is what I already have implemented. As for point 5, I hope the statements still hold true.

Screen.Recording.2023-02-10.at.9.06.54.AM.mov

Metadata

Metadata

Assignees

No one assigned

    Labels

    scope: task dates and timesRequests for enhancements to types and formats of dates and times associated with tasksstatus: in progressAt least a partial implementation exists, either work-in-progress or some implementation ideastype: enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions