diff --git a/space/constants/data.ts b/space/constants/data.ts index 29d411342fb..909b74c120f 100644 --- a/space/constants/data.ts +++ b/space/constants/data.ts @@ -10,12 +10,12 @@ import { } from "types/issue"; // icons import { - BacklogStateIcon, - UnstartedStateIcon, - StartedStateIcon, - CompletedStateIcon, - CancelledStateIcon, -} from "components/icons"; + BacklogGroupIcon, + CancelledGroupIcon, + CompletedGroupIcon, + StartedGroupIcon, + UnstartedGroupIcon, +} from "@plane/ui"; // all issue views export const issueViews: any = { @@ -92,35 +92,35 @@ export const issueGroups: IIssueGroup[] = [ title: "Backlog", color: "#d9d9d9", className: `text-[#d9d9d9] bg-[#d9d9d9]/10`, - icon: BacklogStateIcon, + icon: BacklogGroupIcon, }, { key: "unstarted", title: "Unstarted", color: "#3f76ff", className: `text-[#3f76ff] bg-[#3f76ff]/10`, - icon: UnstartedStateIcon, + icon: UnstartedGroupIcon, }, { key: "started", title: "Started", color: "#f59e0b", className: `text-[#f59e0b] bg-[#f59e0b]/10`, - icon: StartedStateIcon, + icon: StartedGroupIcon, }, { key: "completed", title: "Completed", color: "#16a34a", className: `text-[#16a34a] bg-[#16a34a]/10`, - icon: CompletedStateIcon, + icon: CompletedGroupIcon, }, { key: "cancelled", title: "Cancelled", color: "#dc2626", className: `text-[#dc2626] bg-[#dc2626]/10`, - icon: CancelledStateIcon, + icon: CancelledGroupIcon, }, ]; diff --git a/web/components/issues/issue-peek-overview/properties.tsx b/web/components/issues/issue-peek-overview/properties.tsx index 303687d3931..c04f8542072 100644 --- a/web/components/issues/issue-peek-overview/properties.tsx +++ b/web/components/issues/issue-peek-overview/properties.tsx @@ -190,7 +190,7 @@ export const PeekOverviewProperties: FC = observer((pro
{/* state */}
-
+

State

@@ -201,7 +201,7 @@ export const PeekOverviewProperties: FC = observer((pro {/* assignee */}
-
+

Assignees

@@ -216,7 +216,7 @@ export const PeekOverviewProperties: FC = observer((pro {/* priority */}
-
+

Priority

@@ -231,7 +231,7 @@ export const PeekOverviewProperties: FC = observer((pro {/* estimate */}
-
+

Estimate

@@ -246,7 +246,7 @@ export const PeekOverviewProperties: FC = observer((pro {/* start date */}
-
+

Start date

@@ -264,7 +264,7 @@ export const PeekOverviewProperties: FC = observer((pro {/* due date */}
-
+

Due date

@@ -282,7 +282,7 @@ export const PeekOverviewProperties: FC = observer((pro {/* parent */}
-
+

Parent

@@ -295,8 +295,8 @@ export const PeekOverviewProperties: FC = observer((pro
-
-
+
+

Cycle

@@ -309,8 +309,8 @@ export const PeekOverviewProperties: FC = observer((pro
-
-
+
+

Module

diff --git a/web/components/issues/issue-peek-overview/view.tsx b/web/components/issues/issue-peek-overview/view.tsx index 3342cbf4065..78557d86526 100644 --- a/web/components/issues/issue-peek-overview/view.tsx +++ b/web/components/issues/issue-peek-overview/view.tsx @@ -174,7 +174,11 @@ export const IssueView: FC = observer((props) => { }} > {/* header */} -
+
- {!isArchived && ( - - )} + {issue?.created_by !== user?.id && + !issue?.assignees.includes(user?.id ?? "") && + !router.pathname.includes("[archivedIssueId]") && ( + + )} @@ -250,7 +256,7 @@ export const IssueView: FC = observer((props) => { issue && ( <> {["side-peek", "modal"].includes(peekMode) ? ( -
+
= ({ issueDetail, handleCycleCh diff --git a/web/components/issues/sidebar-select/module.tsx b/web/components/issues/sidebar-select/module.tsx index 9948753d422..0eff28a1e72 100644 --- a/web/components/issues/sidebar-select/module.tsx +++ b/web/components/issues/sidebar-select/module.tsx @@ -74,17 +74,19 @@ export const SidebarModuleSelect: React.FC = ({ issueDetail, handleModule >