From f860589a4837b40755d334765cb167c1c4377999 Mon Sep 17 00:00:00 2001 From: Edward Date: Wed, 26 Nov 2025 15:52:53 -0600 Subject: [PATCH] Add dashboard --- files/ts/tasks.py | 19 ++++++++++++++++--- 1 file changed, 16 insertions(+), 3 deletions(-) diff --git a/files/ts/tasks.py b/files/ts/tasks.py index 7818213..e35b5e1 100644 --- a/files/ts/tasks.py +++ b/files/ts/tasks.py @@ -24,7 +24,7 @@ def journal(c): def browse(c, url): - c.run(f"firefox {url}") + c.run(f"firefox {url}", asynchronous=True) def code(c, path): @@ -42,6 +42,11 @@ def debug(c): print(result.ok) +@task() +def dash(c): + c.run('wtfutil') + + @task def vasl(c): '''Submit time off''' @@ -61,11 +66,18 @@ def daily(c): code(c, f'{JOURNAL}/{MONTH}-daily.md') -@task(daily) + +@task() +def in_progress(c): + '''Show in progress items on the Kan-Ban board''' + browse(c, 'https://github.com/orgs/techservicesillinois/projects/10/views/11') + + +@task(daily, in_progress, dash) def status(c): '''Check on status of priorities''' + pass - browse(c, 'https://github.com/orgs/techservicesillinois/projects/10/views/11') @task @@ -98,3 +110,4 @@ def wins(c): code(c, f'{JOURNAL}/{YEAR}-Wins.md') + -- 2.47.3