From 165d16e32b2b9c9b89d302b611bf3139c2b9334d Mon Sep 17 00:00:00 2001 From: Aaryan Khandelwal <65252264+aaryan610@users.noreply.github.com> Date: Fri, 21 Apr 2023 00:34:22 +0530 Subject: [PATCH] style: issue details page (#911) --- .../core/board-view/single-board.tsx | 2 +- .../components/core/sidebar/links-list.tsx | 11 ++++--- apps/app/components/issues/activity.tsx | 29 +++++++++++-------- .../issues/sidebar-select/assignee.tsx | 6 ++-- .../issues/sidebar-select/blocked.tsx | 8 ++--- .../issues/sidebar-select/blocker.tsx | 8 ++--- .../issues/sidebar-select/cycle.tsx | 21 +++++++------- .../issues/sidebar-select/estimate.tsx | 16 ++++++---- .../issues/sidebar-select/module.tsx | 24 ++++++++++----- .../issues/sidebar-select/parent.tsx | 4 +-- .../issues/sidebar-select/priority.tsx | 18 ++++++------ .../issues/sidebar-select/state.tsx | 4 +-- apps/app/components/issues/sidebar.tsx | 20 ++++++++----- .../project/single-sidebar-project.tsx | 1 - apps/app/components/ui/custom-select.tsx | 4 +-- apps/app/layouts/app-layout/app-header.tsx | 2 +- .../project-authorization-wrapper.tsx | 2 +- .../projects/[projectId]/issues/[issueId].tsx | 13 ++++----- 18 files changed, 106 insertions(+), 87 deletions(-) diff --git a/apps/app/components/core/board-view/single-board.tsx b/apps/app/components/core/board-view/single-board.tsx index f9c3f30fe..0d51af71d 100644 --- a/apps/app/components/core/board-view/single-board.tsx +++ b/apps/app/components/core/board-view/single-board.tsx @@ -66,7 +66,7 @@ export const SingleBoard: React.FC = ({ }, [currentState]); return ( -
+
= ({ links, handleDeleteLink, userAuth }
- +
)} - +
diff --git a/apps/app/components/issues/activity.tsx b/apps/app/components/issues/activity.tsx index 974ace9f4..521c011fb 100644 --- a/apps/app/components/issues/activity.tsx +++ b/apps/app/components/issues/activity.tsx @@ -59,7 +59,7 @@ const activityDetails: { }, estimate_point: { message: "set the estimate point to", - icon:
{issueActivities.length > 1 && activityItemIdx !== issueActivities.length - 1 ? (
-
+

Assignees

@@ -66,9 +66,9 @@ export const SidebarAssigneeSelect: React.FC = ({ value, onChange, userAu label={
{value && value.length > 0 && Array.isArray(value) ? ( -
+
- {value.length} Assignees + {value.length} Assignees
) : ( "No assignees" diff --git a/apps/app/components/issues/sidebar-select/blocked.tsx b/apps/app/components/issues/sidebar-select/blocked.tsx index 5165595f3..319ad3135 100644 --- a/apps/app/components/issues/sidebar-select/blocked.tsx +++ b/apps/app/components/issues/sidebar-select/blocked.tsx @@ -105,7 +105,7 @@ export const SidebarBlockedSelect: React.FC = ({ return (
-
+

Blocked by

@@ -115,7 +115,7 @@ export const SidebarBlockedSelect: React.FC = ({ ? watch("blocked_list").map((issue) => (
= ({

Attachments

-
+
-
+

Comments/Activity