diff --git a/web/components/core/list/list-item.tsx b/web/components/core/list/list-item.tsx index ae32c9b31..89b23dbb5 100644 --- a/web/components/core/list/list-item.tsx +++ b/web/components/core/list/list-item.tsx @@ -2,6 +2,8 @@ import React, { FC } from "react"; import Link from "next/link"; // ui import { Tooltip } from "@plane/ui"; +// helpers +import { cn } from "@/helpers/common.helper"; interface IListItemProps { title: string; @@ -12,6 +14,7 @@ interface IListItemProps { actionableItems?: JSX.Element; isMobile?: boolean; parentRef: React.RefObject; + className?: string; } export const ListItem: FC = (props) => { @@ -24,12 +27,18 @@ export const ListItem: FC = (props) => { onItemClick, isMobile = false, parentRef, + className = "", } = props; return (
-
+
diff --git a/web/components/cycles/active-cycle/productivity.tsx b/web/components/cycles/active-cycle/productivity.tsx index e270b5ad8..32d17df75 100644 --- a/web/components/cycles/active-cycle/productivity.tsx +++ b/web/components/cycles/active-cycle/productivity.tsx @@ -1,4 +1,5 @@ import { FC } from "react"; +import Link from "next/link"; // types import { ICycle } from "@plane/types"; // components @@ -8,14 +9,19 @@ import { EmptyState } from "@/components/empty-state"; import { EmptyStateType } from "@/constants/empty-state"; export type ActiveCycleProductivityProps = { + workspaceSlug: string; + projectId: string; cycle: ICycle; }; export const ActiveCycleProductivity: FC = (props) => { - const { cycle } = props; + const { workspaceSlug, projectId, cycle } = props; return ( -
+

Issue burndown

@@ -53,6 +59,6 @@ export const ActiveCycleProductivity: FC = (props)
)} -
+ ); }; diff --git a/web/components/cycles/active-cycle/progress.tsx b/web/components/cycles/active-cycle/progress.tsx index 6aae998be..fd537148c 100644 --- a/web/components/cycles/active-cycle/progress.tsx +++ b/web/components/cycles/active-cycle/progress.tsx @@ -1,4 +1,5 @@ import { FC } from "react"; +import Link from "next/link"; // types import { ICycle } from "@plane/types"; // ui @@ -10,11 +11,13 @@ import { CYCLE_STATE_GROUPS_DETAILS } from "@/constants/cycle"; import { EmptyStateType } from "@/constants/empty-state"; export type ActiveCycleProgressProps = { + workspaceSlug: string; + projectId: string; cycle: ICycle; }; export const ActiveCycleProgress: FC = (props) => { - const { cycle } = props; + const { workspaceSlug, projectId, cycle } = props; const progressIndicatorData = CYCLE_STATE_GROUPS_DETAILS.map((group, index) => ({ id: index, @@ -31,7 +34,10 @@ export const ActiveCycleProgress: FC = (props) => { }; return ( -
+

Progress

@@ -85,6 +91,6 @@ export const ActiveCycleProgress: FC = (props) => {
)} -
+ ); }; diff --git a/web/components/cycles/active-cycle/root.tsx b/web/components/cycles/active-cycle/root.tsx index 625210fd4..8b51a692b 100644 --- a/web/components/cycles/active-cycle/root.tsx +++ b/web/components/cycles/active-cycle/root.tsx @@ -62,13 +62,18 @@ export const ActiveCycleRoot: React.FC = observer((props) = cycleId={currentProjectActiveCycleId} workspaceSlug={workspaceSlug} projectId={projectId} + className="!border-b-transparent" /> )} -
-
- - - +
+
+ + +
diff --git a/web/components/cycles/list/cycles-list-item.tsx b/web/components/cycles/list/cycles-list-item.tsx index 92c11dd69..b2d9cb882 100644 --- a/web/components/cycles/list/cycles-list-item.tsx +++ b/web/components/cycles/list/cycles-list-item.tsx @@ -22,10 +22,11 @@ type TCyclesListItem = { handleRemoveFromFavorites?: () => void; workspaceSlug: string; projectId: string; + className?: string; }; export const CyclesListItem: FC = observer((props) => { - const { cycleId, workspaceSlug, projectId } = props; + const { cycleId, workspaceSlug, projectId, className = "" } = props; // refs const parentRef = useRef(null); // router @@ -83,6 +84,7 @@ export const CyclesListItem: FC = observer((props) => { onItemClick={(e) => { if (cycleDetails.archived_at) openCycleOverview(e); }} + className={className} prependTitleElement={ {isCompleted ? (