From e3873d748349c072cfe7d843ba0f76a1f6900b0c Mon Sep 17 00:00:00 2001 From: Bryan Van Deusen Date: Tue, 3 Mar 2026 19:51:58 -0500 Subject: [PATCH] Route task card clicks to edit view; repurpose button as View Clicking a task card now goes directly to the edit view since that's the primary use case. The hover button (compact) and button (full card) are now labeled "View" and link to the detail/viewer view instead. Sub-task links in TaskViewerView also route to edit. Co-Authored-By: Claude Sonnet 4.6 --- frontend/src/components/TaskCard.vue | 9 +++------ frontend/src/views/TaskViewerView.vue | 2 +- 2 files changed, 4 insertions(+), 7 deletions(-) diff --git a/frontend/src/components/TaskCard.vue b/frontend/src/components/TaskCard.vue index 4838a50..a6365ba 100644 --- a/frontend/src/components/TaskCard.vue +++ b/frontend/src/components/TaskCard.vue @@ -40,9 +40,6 @@ function cycleStatus() { emit("status-toggle", props.task.id, statusCycle[props.task.status!]); } -function goEdit() { - router.push(`/tasks/${props.task.id}/edit`); -} function isOverdue(): boolean { if (!props.task.due_date || props.task.status === "done") return false; @@ -52,7 +49,7 @@ function isOverdue(): boolean {