Show "merge held" on queued tasks in both task lists

This commit is contained in:
Ian Gulliver
2026-10-15 12:40:41 -07:00
parent 4a9888e653
commit 117ac2cab3
8 changed files with 10 additions and 7 deletions
+1
View File
@@ -107,6 +107,7 @@ export function openSwitcher(): void {
h("span", { class: `dot ${sess?.state ?? "none"}`, title: sess?.state ?? "no session" }),
h("span", { class: "task-title" }, h("span", { class: "project-name" }, project.name), " ", task.title),
count > 0 && h("span", { class: "badge", title: "inbox items" }, count),
task.merge_queued_at !== undefined && h("span", { class: "task-state warn", title: "Waiting for the merge in progress in this project to finish" }, "merge held"),
h("span", { class: "task-state" }, sess?.state ?? "no agent"),
);
return { el, pick: () => go(task.id) };
+1
View File
@@ -131,6 +131,7 @@ function tasksBlock(active: Task[]): HTMLElement {
h("span", { class: `dot ${sess?.state ?? "none"}`, title: sess?.state ?? "no session" }),
h("span", { class: "task-title" }, task.title),
count > 0 && h("span", { class: "badge", title: "inbox items" }, count),
task.merge_queued_at !== undefined && h("span", { class: "task-state warn", title: "Waiting for the merge in progress in this project to finish" }, "merge held"),
h("span", { class: "task-state" }, sess?.state ?? "no agent"),
),
);