diff --git a/.task/backlog.data b/.task/backlog.data index 5d119e8..b3e549b 100644 --- a/.task/backlog.data +++ b/.task/backlog.data @@ -105,3 +105,6 @@ {"description":"more themes","entry":"20230812T182344Z","modified":"20230901T061120Z","priority":"L","status":"pending","uuid":"9ee183d4-3413-4efa-ba68-10d709669c05","tags":["themes"],"depends":["1a5aab4a-0c2b-444f-9259-6eddc29b9791"]} {"description":"date pretty print: pretty print date fields","end":"20230901T061227Z","entry":"20230830T113831Z","modified":"20230901T061227Z","priority":"L","status":"completed","uuid":"85c7d0dc-4651-4f23-a2ec-9db62937cffd","tags":["feat"]} {"description":"timezone: handle timezone in date conversion","end":"20230901T062331Z","entry":"20230831T184955Z","modified":"20230901T062331Z","status":"completed","uuid":"462b9cae-5fbb-4fcc-ab04-41cbd7a44546","tags":["bug"]} +{"description":"semantic colors: allow coloring by values, not just fields.","end":"20230901T063707Z","entry":"20230817T065528Z","modified":"20230901T063707Z","status":"completed","uuid":"1a5aab4a-0c2b-444f-9259-6eddc29b9791","tags":["feat","themes"]} +{"description":"test","entry":"20230901T095852Z","modified":"20230901T095852Z","status":"pending","uuid":"4ecaeb6a-372e-425f-8a12-9a2ec3d70755"} +{"description":"test","end":"20230901T095856Z","entry":"20230901T095852Z","modified":"20230901T095856Z","status":"completed","uuid":"4ecaeb6a-372e-425f-8a12-9a2ec3d70755"} diff --git a/.task/completed.data b/.task/completed.data index cf6e782..5fac22f 100644 --- a/.task/completed.data +++ b/.task/completed.data @@ -1,3 +1,5 @@ +[description:"test" end:"1693562336" entry:"1693562332" modified:"1693562336" status:"completed" uuid:"4ecaeb6a-372e-425f-8a12-9a2ec3d70755"] +[description:"semantic colors: allow coloring by values, not just fields." end:"1693550227" entry:"1692255328" modified:"1693550227" status:"completed" tags:"feat,themes" tags_feat:"x" tags_themes:"x" uuid:"1a5aab4a-0c2b-444f-9259-6eddc29b9791"] [description:"timezone: handle timezone in date conversion" end:"1693549411" entry:"1693507795" modified:"1693549411" status:"completed" tags:"bug" tags_bug:"x" uuid:"462b9cae-5fbb-4fcc-ab04-41cbd7a44546"] [description:"date pretty print: pretty print date fields" end:"1693548747" entry:"1693395511" modified:"1693548747" priority:"L" status:"completed" tags:"feat" tags_feat:"x" uuid:"85c7d0dc-4651-4f23-a2ec-9db62937cffd"] [description:"up\/down dirs: display summary of databases further up or down the current one. p:H" end:"1693482204" entry:"1693423829" modified:"1693482204" status:"deleted" tags:"feat" tags_feat:"x" uuid:"fc270e5d-23fd-4824-ad9d-061d624272d9"] diff --git a/.task/pending.data b/.task/pending.data index 38f0fa6..a1a6869 100644 --- a/.task/pending.data +++ b/.task/pending.data @@ -2,7 +2,6 @@ [description:"fix escaped add: when passing add with escapable characters, bug ensues." entry:"1691774077" modified:"1692954693" priority:"L" status:"pending" tags:"bug" tags_bug:"x" uuid:"79e1ba11-15ae-489f-9868-ab6adea40a91"] [dep_1a5aab4a-0c2b-444f-9259-6eddc29b9791:"x" depends:"1a5aab4a-0c2b-444f-9259-6eddc29b9791" description:"more themes" entry:"1691864624" modified:"1693548680" priority:"L" status:"pending" tags:"themes" tags_themes:"x" uuid:"9ee183d4-3413-4efa-ba68-10d709669c05"] [description:"colored panels: allow selecting a different swatch for each &open;sub&close;panel" entry:"1692122434" modified:"1692122452" priority:"M" status:"pending" tags:"feat,themes" tags_feat:"x" tags_themes:"x" uuid:"ca17838d-958f-498b-bff5-a24576820ae7"] -[description:"semantic colors: allow coloring by values, not just fields." entry:"1692255328" modified:"1692953258" start:"1692953258" status:"pending" tags:"feat,themes" tags_feat:"x" tags_themes:"x" uuid:"1a5aab4a-0c2b-444f-9259-6eddc29b9791"] [description:"hashed color: add a hash&open;color1,rgb123,...&close; color tag allowing to randomly pick a stable color for items like tags" entry:"1693323512" modified:"1693323524" priority:"M" status:"pending" tags:"feat" tags_feat:"x" uuid:"22082221-a02a-4f85-901e-135a99c396c3"] [description:"systematic icons: add a systematic way to insert icons after\/before any field" entry:"1693323578" modified:"1693323578" status:"pending" tags:"feat,themes" tags_feat:"x" tags_themes:"x" uuid:"be1a6eb3-3406-44d1-957a-e952c0d69f2a"] [description:"up\/down dirs: display summary of databases further up or down the current one." entry:"1693423835" modified:"1693423835" priority:"H" status:"pending" tags:"feat" tags_feat:"x" uuid:"03998ee8-9917-49cf-a6cb-3fdd14a7deb3"] diff --git a/.task/undo.data b/.task/undo.data index a97ddc3..8431c76 100644 --- a/.task/undo.data +++ b/.task/undo.data @@ -388,3 +388,14 @@ time 1693549411 old [description:"timezone: handle timezone in date conversion" entry:"1693507795" modified:"1693507795" status:"pending" tags:"bug" tags_bug:"x" uuid:"462b9cae-5fbb-4fcc-ab04-41cbd7a44546"] new [description:"timezone: handle timezone in date conversion" end:"1693549411" entry:"1693507795" modified:"1693549411" status:"completed" tags:"bug" tags_bug:"x" uuid:"462b9cae-5fbb-4fcc-ab04-41cbd7a44546"] --- +time 1693550227 +old [description:"semantic colors: allow coloring by values, not just fields." entry:"1692255328" modified:"1692953258" start:"1692953258" status:"pending" tags:"feat,themes" tags_feat:"x" tags_themes:"x" uuid:"1a5aab4a-0c2b-444f-9259-6eddc29b9791"] +new [description:"semantic colors: allow coloring by values, not just fields." end:"1693550227" entry:"1692255328" modified:"1693550227" status:"completed" tags:"feat,themes" tags_feat:"x" tags_themes:"x" uuid:"1a5aab4a-0c2b-444f-9259-6eddc29b9791"] +--- +time 1693562332 +new [description:"test" entry:"1693562332" modified:"1693562332" status:"pending" uuid:"4ecaeb6a-372e-425f-8a12-9a2ec3d70755"] +--- +time 1693562336 +old [description:"test" entry:"1693562332" modified:"1693562332" status:"pending" uuid:"4ecaeb6a-372e-425f-8a12-9a2ec3d70755"] +new [description:"test" end:"1693562336" entry:"1693562332" modified:"1693562336" status:"completed" uuid:"4ecaeb6a-372e-425f-8a12-9a2ec3d70755"] +--- diff --git a/taskwarrior-deluxe.py b/taskwarrior-deluxe.py index 585b4da..5f03e13 100755 --- a/taskwarrior-deluxe.py +++ b/taskwarrior-deluxe.py @@ -118,7 +118,7 @@ class StackSorter: self.reverse = reverse def __call__(self, tasks): - raise NotImplementedError + raise NotImplementedError class Sectioner(Widget): @@ -523,6 +523,9 @@ def get_data(taskfile, filter = None): def parse_touched(out): + if "Completed task" in out: + # For some reason, regexp below matches "Completed" as well. + return [] return re.findall("(?:Modifying|Created|Starting|Stopping)+ task ([0-9]+)", out)