fix(ui): show full repo names and reopen the canvas menu at a new right-click

This commit is contained in:
sam committed 2026-10-24 21:46:12 +11:00
1 parent 15a9bcebdf
commit e428248a74
3 files changed
+13 -6

No files matched your search

+1 -1
View File
@@ -23,7 +23,7 @@ const title = (task: Task) => task.title || "untitled task";
// so the width they would repeat goes to the title.
const columns = computed<DataTableColumn<Task>[]>(() => [
...(props.showRepo
? [{ id: "repo", label: "Repo", class: "max-w-40 truncate text-fg-muted", sort: (t: Task) => `${t.owner ?? ""}/${t.repo ?? ""}` }]
? [{ id: "repo", label: "Repo", class: "whitespace-nowrap text-fg-muted", sort: (t: Task) => `${t.owner ?? ""}/${t.repo ?? ""}` }]
: []),
...(props.showIssue ? [{ id: "issue", label: "Issue", class: "text-fg-muted", sort: (t: Task) => t.issue_number ?? 0 }] : []),
{ id: "title", label: "Title", fixed: true, class: "w-full whitespace-normal", sort: title },