diff --git a/apps/app/components/core/board-view/single-issue.tsx b/apps/app/components/core/board-view/single-issue.tsx index 926f0e81a..6da636efb 100644 --- a/apps/app/components/core/board-view/single-issue.tsx +++ b/apps/app/components/core/board-view/single-issue.tsx @@ -37,6 +37,7 @@ import { ArrowTopRightOnSquareIcon, PaperClipIcon, } from "@heroicons/react/24/outline"; +import { LayerDiagonalIcon } from "components/icons"; // helpers import { handleIssuesMutation } from "constants/issue"; import { copyTextToClipboard, truncateText } from "helpers/string.helper"; @@ -337,11 +338,6 @@ export const SingleBoardIssue: React.FC = ({ isNotAllowed={isNotAllowed} /> )} - {properties.sub_issue_count && ( -
- {issue.sub_issues_count} {issue.sub_issues_count === 1 ? "sub-issue" : "sub-issues"} -
- )} {properties.labels && issue.label_details.length > 0 && (
{issue.label_details.map((label) => ( @@ -377,6 +373,16 @@ export const SingleBoardIssue: React.FC = ({ selfPositioned /> )} + {properties.sub_issue_count && ( +
+ +
+ + {issue.sub_issues_count} +
+
+
+ )} {properties.link && (
diff --git a/apps/app/components/core/calendar-view/single-issue.tsx b/apps/app/components/core/calendar-view/single-issue.tsx index fd07fda42..9102f7338 100644 --- a/apps/app/components/core/calendar-view/single-issue.tsx +++ b/apps/app/components/core/calendar-view/single-issue.tsx @@ -24,6 +24,7 @@ import { } from "components/issues"; // icons import { LinkIcon, PaperClipIcon, PencilIcon, TrashIcon } from "@heroicons/react/24/outline"; +import { LayerDiagonalIcon } from "components/icons"; // helper import { copyTextToClipboard, truncateText } from "helpers/string.helper"; // type @@ -201,11 +202,6 @@ export const SingleCalendarIssue: React.FC = ({ isNotAllowed={isNotAllowed} /> )} - {properties.sub_issue_count && ( -
- {issue.sub_issues_count} {issue.sub_issues_count === 1 ? "sub-issue" : "sub-issues"} -
- )} {properties.labels && issue.label_details.length > 0 ? (
{issue.label_details.map((label) => ( @@ -242,7 +238,16 @@ export const SingleCalendarIssue: React.FC = ({ isNotAllowed={isNotAllowed} /> )} - + {properties.sub_issue_count && ( +
+ +
+ + {issue.sub_issues_count} +
+
+
+ )} {properties.link && (
diff --git a/apps/app/components/core/list-view/single-issue.tsx b/apps/app/components/core/list-view/single-issue.tsx index 49e11ca2f..6f6a5ab4f 100644 --- a/apps/app/components/core/list-view/single-issue.tsx +++ b/apps/app/components/core/list-view/single-issue.tsx @@ -31,6 +31,7 @@ import { ArrowTopRightOnSquareIcon, PaperClipIcon, } from "@heroicons/react/24/outline"; +import { LayerDiagonalIcon } from "components/icons"; // helpers import { copyTextToClipboard, truncateText } from "helpers/string.helper"; import { handleIssuesMutation } from "constants/issue"; @@ -205,7 +206,7 @@ export const SingleListIssue: React.FC = ({
{ e.preventDefault(); setContextMenu(true); @@ -213,7 +214,7 @@ export const SingleListIssue: React.FC = ({ }} > -
+ -
+
{properties.priority && ( = ({ isNotAllowed={isNotAllowed} /> )} - {properties.sub_issue_count && ( -
- {issue.sub_issues_count} {issue.sub_issues_count === 1 ? "sub-issue" : "sub-issues"} -
- )} {properties.labels && issue.label_details.length > 0 ? (
{issue.label_details.map((label) => ( @@ -299,6 +295,16 @@ export const SingleListIssue: React.FC = ({ isNotAllowed={isNotAllowed} /> )} + {properties.sub_issue_count && ( +
+ +
+ + {issue.sub_issues_count} +
+
+
+ )} {properties.link && (
diff --git a/apps/app/components/cycles/cycles-view.tsx b/apps/app/components/cycles/cycles-view.tsx index ac4c19e27..35677364d 100644 --- a/apps/app/components/cycles/cycles-view.tsx +++ b/apps/app/components/cycles/cycles-view.tsx @@ -116,14 +116,18 @@ export const CyclesView: React.FC = ({