import { FC } from "react"; import Link from "next/link"; // types import { ICycle } from "@plane/types"; // components import ProgressChart from "@/components/core/sidebar/progress-chart"; import { EmptyState } from "@/components/empty-state"; // constants import { EmptyStateType } from "@/constants/empty-state"; export type ActiveCycleProductivityProps = { workspaceSlug: string; projectId: string; cycle: ICycle; }; export const ActiveCycleProductivity: FC = (props) => { const { workspaceSlug, projectId, cycle } = props; return (

Issue burndown

{cycle.total_issues > 0 ? ( <>
Ideal
Current
{`Pending issues - ${cycle.backlog_issues + cycle.unstarted_issues + cycle.started_issues}`}
) : ( <>
)} ); };