diff --git a/apps/web/ce/components/gantt-chart/index.ts b/apps/web/ce/components/gantt-chart/index.ts index d08e0f7d617..d652e4bbcec 100644 --- a/apps/web/ce/components/gantt-chart/index.ts +++ b/apps/web/ce/components/gantt-chart/index.ts @@ -1 +1,2 @@ export * from "./dependency"; +export * from "./layers"; diff --git a/apps/web/ce/components/gantt-chart/layers/additional-layers.tsx b/apps/web/ce/components/gantt-chart/layers/additional-layers.tsx new file mode 100644 index 00000000000..5cc7c2ce5e6 --- /dev/null +++ b/apps/web/ce/components/gantt-chart/layers/additional-layers.tsx @@ -0,0 +1,8 @@ +import type { FC } from "react"; + +type Props = { + itemsContainerWidth: number; + blockCount: number; +}; + +export const GanttAdditionalLayers: FC = () => null; diff --git a/apps/web/ce/components/gantt-chart/layers/index.ts b/apps/web/ce/components/gantt-chart/layers/index.ts new file mode 100644 index 00000000000..fcd77a972ca --- /dev/null +++ b/apps/web/ce/components/gantt-chart/layers/index.ts @@ -0,0 +1 @@ +export { GanttAdditionalLayers } from "./additional-layers"; diff --git a/apps/web/core/components/editor/sticky-editor/editor.tsx b/apps/web/core/components/editor/sticky-editor/editor.tsx index 43706bb7080..47792759770 100644 --- a/apps/web/core/components/editor/sticky-editor/editor.tsx +++ b/apps/web/core/components/editor/sticky-editor/editor.tsx @@ -15,11 +15,10 @@ import { useParseEditorContent } from "@/hooks/use-parse-editor-content"; import { useEditorFlagging } from "@/plane-web/hooks/use-editor-flagging"; import { StickyEditorToolbar } from "./toolbar"; -interface StickyEditorWrapperProps - extends Omit< - Omit, - "disabledExtensions" | "editable" | "flaggedExtensions" | "fileHandler" | "mentionHandler" | "getEditorMetaData" - > { +interface StickyEditorWrapperProps extends Omit< + Omit, + "disabledExtensions" | "editable" | "flaggedExtensions" | "fileHandler" | "mentionHandler" | "getEditorMetaData" +> { workspaceSlug: string; workspaceId: string; projectId?: string; diff --git a/apps/web/core/components/gantt-chart/chart/main-content.tsx b/apps/web/core/components/gantt-chart/chart/main-content.tsx index f555f90abd3..bfa9d5fc39b 100644 --- a/apps/web/core/components/gantt-chart/chart/main-content.tsx +++ b/apps/web/core/components/gantt-chart/chart/main-content.tsx @@ -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 /> +