summaryrefslogtreecommitdiff
path: root/Omni/Task
diff options
context:
space:
mode:
authorBen Sima <ben@bensima.com>2025-11-27 18:29:37 -0500
committerBen Sima <ben@bensima.com>2025-11-27 18:29:37 -0500
commit1c37d95f79d67eccd20dd2d1fc2348a78be08c84 (patch)
treec356fa8e77174d5de875a06d50d3c6a37b7c7808 /Omni/Task
parent3b335c3b2e2463acd9f91326f122d643bbb9d9c4 (diff)
Change task detail labels to inline format (ID: t-123 on same line)
Both tests pass. The change converts the task detail display from: ``` Task: t-123 Title: Some title ``` To the inline format: ``` Title: Some title (ID: t-123) ``` Task-Id: t-156.1
Diffstat (limited to 'Omni/Task')
-rw-r--r--Omni/Task/Core.hs4
1 files changed, 1 insertions, 3 deletions
diff --git a/Omni/Task/Core.hs b/Omni/Task/Core.hs
index 63bc533..ca9345f 100644
--- a/Omni/Task/Core.hs
+++ b/Omni/Task/Core.hs
@@ -834,9 +834,7 @@ showTaskDetailed :: Task -> IO ()
showTaskDetailed t = do
tasks <- loadTasks
putText ""
- putText <| "Task: " <> taskId t
- putText ""
- putText <| "Title: " <> taskTitle t
+ putText <| "Title: " <> taskTitle t <> " (ID: " <> taskId t <> ")"
putText <| "Type: " <> T.pack (show (taskType t))
putText <| "Status: " <> T.pack (show (taskStatus t))
putText <| "Priority: " <> T.pack (show (taskPriority t)) <> priorityDesc