code refactor and improvement (#6203)
* chore: package code refactoring * chore: component restructuring and refactor * chore: comment create improvement
This commit is contained in:
parent
442b0fd7e5
commit
438cc33046
134 changed files with 1336 additions and 506 deletions
1
web/ce/components/epics/epic-modal/index.ts
Normal file
1
web/ce/components/epics/epic-modal/index.ts
Normal file
|
|
@ -0,0 +1 @@
|
|||
export * from "./modal";
|
||||
19
web/ce/components/epics/epic-modal/modal.tsx
Normal file
19
web/ce/components/epics/epic-modal/modal.tsx
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
"use client";
|
||||
import React, { FC } from "react";
|
||||
import { TIssue } from "@plane/types";
|
||||
|
||||
export interface EpicModalProps {
|
||||
data?: Partial<TIssue>;
|
||||
isOpen: boolean;
|
||||
onClose: () => void;
|
||||
beforeFormSubmit?: () => Promise<void>;
|
||||
onSubmit?: (res: TIssue) => Promise<void>;
|
||||
fetchIssueDetails?: boolean;
|
||||
primaryButtonText?: {
|
||||
default: string;
|
||||
loading: string;
|
||||
};
|
||||
isProjectSelectionDisabled?: boolean;
|
||||
}
|
||||
|
||||
export const CreateUpdateEpicModal: FC<EpicModalProps> = (props) => <></>;
|
||||
1
web/ce/components/epics/index.ts
Normal file
1
web/ce/components/epics/index.ts
Normal file
|
|
@ -0,0 +1 @@
|
|||
export * from "./epic-modal";
|
||||
|
|
@ -1 +1,9 @@
|
|||
export const TimelineDependencyPaths = () => <></>;
|
||||
import { FC } from "react";
|
||||
|
||||
type Props = {
|
||||
isEpic?: boolean;
|
||||
};
|
||||
export const TimelineDependencyPaths: FC<Props> = (props) => {
|
||||
const { isEpic = false } = props;
|
||||
return <></>;
|
||||
};
|
||||
|
|
|
|||
|
|
@ -1,9 +1,12 @@
|
|||
import { TIssueServiceType } from "@plane/types";
|
||||
|
||||
export type TIssueAdditionalPropertyValuesUpdateProps = {
|
||||
issueId: string;
|
||||
issueTypeId: string;
|
||||
projectId: string;
|
||||
workspaceSlug: string;
|
||||
isDisabled: boolean;
|
||||
issueServiceType?: TIssueServiceType;
|
||||
};
|
||||
|
||||
export const IssueAdditionalPropertyValuesUpdate: React.FC<TIssueAdditionalPropertyValuesUpdateProps> = () => <></>;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue