chore: refactor and beautify issue properties (#2539)

* chore: update all issue property components

* style: issue properties
This commit is contained in:
Aaryan Khandelwal 2023-10-25 19:47:58 +05:30 committed by GitHub
parent ca2da41dd2
commit a49f00bd39
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
40 changed files with 1066 additions and 1747 deletions

View file

@ -2,7 +2,7 @@ import { FC } from "react";
// components
import { IssueBlock } from "components/issues";
// types
import { IIssue } from "types";
import { IEstimatePoint, IIssue, IIssueLabels, IState, IUserLite } from "types";
interface Props {
columnId: string;
@ -10,14 +10,14 @@ interface Props {
handleIssues: (group_by: string | null, issue: IIssue, action: "update" | "delete") => void;
quickActions: (group_by: string | null, issue: IIssue) => React.ReactNode;
display_properties: any;
states: any;
labels: any;
members: any;
priorities: any;
states: IState[] | null;
labels: IIssueLabels[] | null;
members: IUserLite[] | null;
estimates: IEstimatePoint[] | null;
}
export const IssueBlocksList: FC<Props> = (props) => {
const { columnId, issues, handleIssues, quickActions, display_properties, states, labels, members, priorities } =
const { columnId, issues, handleIssues, quickActions, display_properties, states, labels, members, estimates } =
props;
return (
@ -35,7 +35,7 @@ export const IssueBlocksList: FC<Props> = (props) => {
states={states}
labels={labels}
members={members}
priorities={priorities}
estimates={estimates}
/>
))}
</>