Bento box

Tasklist without the fluff

This query show TODO/DOING tasks in a simple flat list, ideal for quick overviews where you don’t want to see all the details right away.

Inspired by the Bento method from KeepProductive, it is meant to only hold a few (3 max) tasks that I’m trying to get done.

The idea is to finish all Bento Box items and only once the box is empty to check your projects/tasklists for new work to pickup. This allows you to focus on getting things wrapped up.

While you can use it in a page, I usually add it to my config.edn so it shows up under my daily journal. A constant quick reminder of the tasks I’m currently trying to wrap up. You can see the configuration in default queries

 2{:title [:h2 "Bento Box" ]
 3:query [:find (pull ?b [*])
 4  :where
 5    [?p :block/name "bento"] ; name is always lowercase
 6    [?b :block/refs ?p] ; this block references ?p as oppose to being on ?p through :block/page.
 7    [?b :block/marker ?marker]
 8    [(contains? #{"TODO" "DOING"} ?marker)]
10:result-transform (fn [result] (sort-by (fn [r] (get-in r [:block/page :block/journal-day])) result))  ; Sort by the journal date
11:table-view? false
12:breadcrumb-show? false
13:collapsed? false