[WEB-5585]chore: timeline chart refactor (#8246)

* chore: timeline chart refactor

* fix: format
This commit is contained in:
Vamsi Krishna 2025-12-10 01:00:37 +05:30 committed by GitHub
parent 8bb7ebb725
commit 368af223db
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 16 additions and 1 deletions

View file

@ -1 +1,2 @@
export * from "./dependency";
export * from "./layers";

View file

@ -0,0 +1,8 @@
import type { FC } from "react";
type Props = {
itemsContainerWidth: number;
blockCount: number;
};
export const GanttAdditionalLayers: FC<Props> = () => null;

View file

@ -0,0 +1 @@
export { GanttAdditionalLayers } from "./additional-layers";

View file

@ -17,7 +17,11 @@ import { GanttChartSidebar, MonthChartView, QuarterChartView, WeekChartView } fr
// hooks
import { useTimeLineChartStore } from "@/hooks/use-timeline-chart";
// plane web components
import { TimelineDependencyPaths, TimelineDraggablePath } from "@/plane-web/components/gantt-chart";
import {
TimelineDependencyPaths,
TimelineDraggablePath,
GanttAdditionalLayers,
} from "@/plane-web/components/gantt-chart";
import { GanttChartRowList } from "@/plane-web/components/gantt-chart/blocks/block-row-list";
import { GanttChartBlocksList } from "@/plane-web/components/gantt-chart/blocks/blocks-list";
import { IssueBulkOperationsRoot } from "@/plane-web/components/issues/bulk-operations";
@ -212,6 +216,7 @@ export const GanttChartMainContent = observer(function GanttChartMainContent(pro
/>
<TimelineDependencyPaths isEpic={isEpic} />
<TimelineDraggablePath />
<GanttAdditionalLayers itemsContainerWidth={itemsContainerWidth} blockCount={blockIds.length} />
<GanttChartBlocksList
blockIds={blockIds}
blockToRender={blockToRender}