Skip to content

YU000jp/logseq-plugin-confirmation-done-task

Repository files navigation

Logseq Plugin: DONE task property 💪

  • Assign the date and time to the DONE task using a block property or other methods.

    Embeds a string property that allows discovery in queries.

Warning

This plugin does not work with Logseq db version.

English | 日本語 latest release version License Downloads Published 20230612

Overview

Add completed property to the DONE task

Logseq has a issue where it does not record the DONE date. To address this issue, a solution is to add a completed property to the block after the task is completed. And embeds a string property that allows discovery in queries.

  • Mark a task as DONE

    DONEpropety

Option > Keep date and time on the property (multiple value) #22
  • Select the bullet menu item (💪Add into DONE property)

Getting Started

Install from Logseq Marketplace

  • Press [---] on the top right toolbar to open [Plugins]. Select Marketplace. Type DONE in the search field, select it from the search results and install.

Usage

  • To use this solution, After marking as DONE, which will prompt to add a completed property. It is possible to edit the date and time if necessary. The completed property date will act as a link, allowing you to view completed tasks in the Journal Linked References.

Plugin Settings

Document


Showcase / Questions / Ideas / Help

Go to the Discussions tab to ask and find this kind of things.

  1. The "string" property for Queries
#+BEGIN_QUERY
  {
    :title "Tasks completed today"
    :query [
        :find (pull ?b [*])
        :in $ ?start ?end
        :where
            [?b :block/properties ?properties]
            [(get ?properties :string) ?completed]
            [(>= ?completed ?start)]
            [(< ?completed ?end)]
    ]
    :inputs [:today :tomorrow]
  }
  #+END_QUERY

Prior art & Credit