Skip to content

armgit / kaneo

Public Imported from GitHub
0

⚡ Project management that doesn't become the project. Boards, Gantt charts, and GitHub integration. Self-host it or use Kaneo Cloud.

421 B
Raw Blame
import type { Ui } from "../render/ui.js";
import {
  renderTaskDetail,
  type TaskDetailView,
} from "../tasks/render-task-detail.js";
import { renderTaskSections } from "./render-task-sections.js";

export type TaskView = TaskDetailView & { readonly commentTotal: number };

export function renderTaskView(ui: Ui, view: TaskView): string[] {
  return [...renderTaskDetail(ui, view), ...renderTaskSections(ui, view)];
}