]> apps.delaporte.us Git - dotfiles.git/commitdiff
Add KanBan items to WTF dashboard
authorEdward <delaport@illinois.edu>
Fri, 19 Sep 2025 19:58:31 +0000 (14:58 -0500)
committerEdward <delaport@illinois.edu>
Fri, 19 Sep 2025 19:58:31 +0000 (14:58 -0500)
files/ts/count-gh-in-progress.sh [new file with mode: 0755]
files/ts/count-gh-in-review.sh [new file with mode: 0755]
files/ts/list-gh-in-progress.sh
files/ts/list-gh-in-review.sh [new file with mode: 0755]
files/ts/wtfutil.config.yml

diff --git a/files/ts/count-gh-in-progress.sh b/files/ts/count-gh-in-progress.sh
new file mode 100755 (executable)
index 0000000..80a8424
--- /dev/null
@@ -0,0 +1 @@
+gh project item-list 10 --owner techservicesillinois --limit 50 --format json | jq '.items[] | select(.status == "In Progress") | .title' | wc -l
diff --git a/files/ts/count-gh-in-review.sh b/files/ts/count-gh-in-review.sh
new file mode 100755 (executable)
index 0000000..37746e8
--- /dev/null
@@ -0,0 +1 @@
+gh project item-list 10 --owner techservicesillinois --limit 50 --format json | jq '.items[] | select(.status == "In Review") | .title' | wc -l
index 0ad966e79c5785a8c57292468fbeeb0ce342c5e3..4bace5ccdd16acd95532e5143ef3b492ab6f0141 100755 (executable)
@@ -1 +1 @@
-gh project item-list 10 --owner techservicesillinois --format json | jq '.items[] | select(.status == "In Progress") | .title'
+gh project item-list 10 --owner techservicesillinois --limit 50 --format json | jq '.items[] | select(.status == "In Progress") | .title'
diff --git a/files/ts/list-gh-in-review.sh b/files/ts/list-gh-in-review.sh
new file mode 100755 (executable)
index 0000000..61266d5
--- /dev/null
@@ -0,0 +1 @@
+gh project item-list 10 --owner techservicesillinois --limit 50 --format json | jq '.items[] | select(.status == "In Review") | .title'
index 08fb045d9d057addb82996810b4129ebb13dcc50..00102f45b286b47296aab720fa9f4e711971e14f 100644 (file)
@@ -5,8 +5,8 @@ wtf:
       focused: orange
       normal: gray
   grid:
-    columns: [60, 60]
-    rows: [3,7,40]
+    columns: [80,40]
+    rows: [3,3,7,40]
   refreshInterval: 60
   mods:
     check_backups:
@@ -22,26 +22,73 @@ wtf:
       type: cmdrunner
       refreshInterval: 6000
     todo_count:
-      title: "Todo Count"
+      title: "Todo"
+      cmd: "echo"
+      args: ["Hello"]
+      enabled: true
+      position:
+        top: 0
+        left: 1
+        width: 1
+        height: 1
+      type: cmdrunner
+    more:
+      title: "More"
       cmd: "bash"
       args: ["/home/delaport/dotfiles/files/ts/todo_count.sh"]
       enabled: true
       position:
         top: 0
+        left: 2
+        width: 1
+        height: 1
+      type: cmdrunner
+      refreshInterval: 600
+    in_review:
+      title: "In Review"
+      cmd: "bash"
+      args: ["/home/delaport/dotfiles/files/ts/list-gh-in-review.sh"]
+      enabled: true
+      position:
+        top: 1
+        left: 0
+        width: 1
+        height: 1
+      type: cmdrunner
+      refreshInterval: 600
+    count_in_review:
+      title: "Count In Review"
+      cmd: "bash"
+      args: ["/home/delaport/dotfiles/files/ts/count-gh-in-review.sh"]
+      enabled: true
+      position:
+        top: 1
         left: 1
         width: 1
         height: 1
       type: cmdrunner
-      refreshInterval: 6000
+      refreshInterval: 600
+    count_in_progress:
+      title: "Count In Progress"
+      cmd: "bash"
+      args: ["/home/delaport/dotfiles/files/ts/count-gh-in-progress.sh"]
+      enabled: true
+      position:
+        top: 2
+        left: 1
+        width: 1
+        height: 1
+      type: cmdrunner
+      refreshInterval: 600
     in_progress:
       title: "In Progress"
       cmd: "bash"
       args: ["/home/delaport/dotfiles/files/ts/list-gh-in-progress.sh"]
       enabled: true
       position:
-        top: 1
+        top: 2
         left: 0
-        width: 2
+        width: 1
         height: 1
       type: cmdrunner
       refreshInterval: 60
@@ -51,9 +98,9 @@ wtf:
       args: ["/home/delaport/dotfiles/files/ts/list-gh-board.sh"]
       enabled: true
       position:
-        top: 2
+        top: 3
         left: 0
-        width: 2
+        width: 1
         height: 1
       type: cmdrunner
       refreshInterval: 60