Skip to content

enhance metadata with status (pending/ completed) and annotations.count #5

@linuxcaffe

Description

@linuxcaffe
  • note: The ability to query based on this metadata, has not yet been implemented. It is a planned hledger enhancement.
    .. so anyways

This is an example of the task-timelog-hook output, as it works now;

i 2021/11/11 17:27:37 it:tw:timelog  develop timelog-hook
o 2021/11/11 17:38:21  ; github:, uuid: fb77148d-c48b-454c-a978-bb846db6f7e

and this is the desired output with enhanced metadata and trimmed (short) uuid

i 2021/11/11 17:27:37 it:tw:timelog  * (2) develop timelog-hook
o 2021/11/11 17:38:21  ; github:, uuid: fb77148d-c48b

Piggy-backing on regular (h)ledger syntax, the description-part starts with " * " indicating status:pending ( ! would indicate status:completed) and the (2) indicates that the task has 2 annotations. If #4 were implemented, then subsequent timelog entries would increment this count, and otherwise very-similar-looking timelog entries would be clearly differentiated.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requesthelp wantedExtra attention is needed

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions