[WEB-1883] chore: moved workspace settings to respective folders for CE and EE (#5151)
* chore: moved workspace settings to respective folders for ce and ee * chore: updated imports * chore: updated imports for ee * chore: resolved import error * chore: resolved import error * chore: ee imports in the issue sidebar * chore: updated file structure * chore: table UI * chore: resolved build errors * chore: added worklog on issue peekoverview
This commit is contained in:
parent
fff27c60e4
commit
482b363045
44 changed files with 440 additions and 285 deletions
|
|
@ -1 +1,2 @@
|
|||
export * from "./bulk-operations";
|
||||
export * from "./bulk-operations";
|
||||
export * from "./worklog";
|
||||
|
|
|
|||
2
web/ce/components/issues/worklog/activity/index.ts
Normal file
2
web/ce/components/issues/worklog/activity/index.ts
Normal file
|
|
@ -0,0 +1,2 @@
|
|||
export * from "./root";
|
||||
export * from "./worklog-create-button";
|
||||
13
web/ce/components/issues/worklog/activity/root.tsx
Normal file
13
web/ce/components/issues/worklog/activity/root.tsx
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
"use client";
|
||||
|
||||
import { FC } from "react";
|
||||
import { TIssueActivityComment } from "@plane/types";
|
||||
|
||||
type TIssueActivityWorklog = {
|
||||
workspaceSlug: string;
|
||||
projectId: string;
|
||||
issueId: string;
|
||||
activityComment: TIssueActivityComment;
|
||||
};
|
||||
|
||||
export const IssueActivityWorklog: FC<TIssueActivityWorklog> = () => <></>;
|
||||
|
|
@ -0,0 +1,12 @@
|
|||
"use client";
|
||||
|
||||
import { FC } from "react";
|
||||
|
||||
type TIssueActivityWorklogCreateButton = {
|
||||
workspaceSlug: string;
|
||||
projectId: string;
|
||||
issueId: string;
|
||||
disabled: boolean;
|
||||
};
|
||||
|
||||
export const IssueActivityWorklogCreateButton: FC<TIssueActivityWorklogCreateButton> = () => <></>;
|
||||
2
web/ce/components/issues/worklog/index.ts
Normal file
2
web/ce/components/issues/worklog/index.ts
Normal file
|
|
@ -0,0 +1,2 @@
|
|||
export * from "./property";
|
||||
export * from "./activity";
|
||||
1
web/ce/components/issues/worklog/property/index.ts
Normal file
1
web/ce/components/issues/worklog/property/index.ts
Normal file
|
|
@ -0,0 +1 @@
|
|||
export * from "./root";
|
||||
12
web/ce/components/issues/worklog/property/root.tsx
Normal file
12
web/ce/components/issues/worklog/property/root.tsx
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
"use client";
|
||||
|
||||
import { FC } from "react";
|
||||
|
||||
type TIssueWorklogProperty = {
|
||||
workspaceSlug: string;
|
||||
projectId: string;
|
||||
issueId: string;
|
||||
disabled: boolean;
|
||||
};
|
||||
|
||||
export const IssueWorklogProperty: FC<TIssueWorklogProperty> = () => <></>;
|
||||
|
|
@ -66,7 +66,7 @@ const useProjectColumns = () => {
|
|||
{
|
||||
key: "Joining Date",
|
||||
content: "Joining Date",
|
||||
tdRender: (rowData: RowData) => <div>{getFormattedDate(rowData.member.joining_date)}</div>,
|
||||
tdRender: (rowData: RowData) => <div>{getFormattedDate(rowData?.member?.joining_date || "")}</div>,
|
||||
},
|
||||
];
|
||||
return { columns, workspaceSlug, projectId, removeMemberModal, setRemoveMemberModal };
|
||||
|
|
|
|||
|
|
@ -60,7 +60,7 @@ const useMemberColumns = () => {
|
|||
{
|
||||
key: "Joining Date",
|
||||
content: "Joining Date",
|
||||
tdRender: (rowData: RowData) => <div>{getFormattedDate(rowData.member.joining_date)}</div>,
|
||||
tdRender: (rowData: RowData) => <div>{getFormattedDate(rowData?.member?.joining_date || "")}</div>,
|
||||
},
|
||||
];
|
||||
return { columns, workspaceSlug, removeMemberModal, setRemoveMemberModal };
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue