Skip to content

Un-completing a task still leaves a link from the original completion date #21

@u3r

Description

@u3r

I recently discovered a bug/missing feature but my understanding of the logseq database is insufficient to fix it myself:

GIVEN a task that changes from uncompleted to completed on Date X
WHEN the task is edited into an uncompleted state
THEN the time marker should be removed from the block (OK)
AND there should be no entry under "linked References" from Date X to the task (NOT OK with version 2.1.0)

https://github.com/DimitryDushkin/logseq-plugin-task-check-date/blob/2.1.0/src/index.ts#L123 is missing some logic to also remove the date reference from the internal database, resulting in

image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions