diff --git a/apps/app/components/core/filters/issues-view-filter.tsx b/apps/app/components/core/filters/issues-view-filter.tsx index ca2ea59f7..0bdd30563 100644 --- a/apps/app/components/core/filters/issues-view-filter.tsx +++ b/apps/app/components/core/filters/issues-view-filter.tsx @@ -155,7 +155,7 @@ export const IssuesFilterView: React.FC = () => { {({ open }) => ( <> = ({ >
@@ -155,11 +155,7 @@ export const BoardHeader: React.FC = ({ > {getGroupTitle()} - + {groupedIssues?.[groupTitle].length ?? 0}
@@ -174,9 +170,12 @@ export const BoardHeader: React.FC = ({ }} > {isCollapsed ? ( - + ) : ( - + )} {!disableUserActions && selectedGroup !== "created_by" && ( diff --git a/apps/app/components/core/views/board-view/single-issue.tsx b/apps/app/components/core/views/board-view/single-issue.tsx index 5aaa71407..689020bb5 100644 --- a/apps/app/components/core/views/board-view/single-issue.tsx +++ b/apps/app/components/core/views/board-view/single-issue.tsx @@ -232,7 +232,7 @@ export const SingleBoardIssue: React.FC = ({
= ({ {issue.project_detail.identifier}-{issue.sequence_id}
)} -
{issue.name}
+
{issue.name}
-
+
{properties.priority && ( = ({ issue={issue} partialUpdateIssue={partialUpdateIssue} isNotAllowed={isNotAllowed} + customButton user={user} selfPositioned /> diff --git a/apps/app/components/issues/label.tsx b/apps/app/components/issues/label.tsx index f3a7be9dd..c5a48d0ad 100644 --- a/apps/app/components/issues/label.tsx +++ b/apps/app/components/issues/label.tsx @@ -18,7 +18,7 @@ export const ViewIssueLabel: React.FC = ({ issue, maxRender = 1 }) => ( {issue.label_details.map((label, index) => (
@@ -35,7 +35,7 @@ export const ViewIssueLabel: React.FC = ({ issue, maxRender = 1 }) => ( ))} ) : ( -
+
{ {({ open }) => ( <> = ({ > {issue.assignees && issue.assignees.length > 0 && Array.isArray(issue.assignees) ? (
- +
) : ( -
- +
+
)}
@@ -87,6 +87,7 @@ export const ViewAssigneeSelect: React.FC = ({ return ( { const newData = issue.assignees ?? []; diff --git a/apps/app/components/issues/view-select/priority.tsx b/apps/app/components/issues/view-select/priority.tsx index 5d3bcd089..f9872729c 100644 --- a/apps/app/components/issues/view-select/priority.tsx +++ b/apps/app/components/issues/view-select/priority.tsx @@ -67,14 +67,8 @@ export const ViewPrioritySelect: React.FC = ({ noBorder ? "" : issue.priority === "urgent" - ? "border-red-500/20 bg-red-500/20" - : issue.priority === "high" - ? "border-orange-500/20 bg-orange-500/20" - : issue.priority === "medium" - ? "border-yellow-500/20 bg-yellow-500/20" - : issue.priority === "low" - ? "border-green-500/20 bg-green-500/20" - : "border-custom-border-200 bg-custom-background-80" + ? "border-red-500/20 bg-red-500" + : "border-custom-border-300 bg-custom-background-100" } items-center`} > = ({ issue.priority && issue.priority !== "" ? issue.priority ?? "" : "None", `text-sm ${ issue.priority === "urgent" - ? "text-red-500" + ? "text-white" : issue.priority === "high" ? "text-orange-500" : issue.priority === "medium" diff --git a/apps/app/components/issues/view-select/state.tsx b/apps/app/components/issues/view-select/state.tsx index 7f5844697..460a11272 100644 --- a/apps/app/components/issues/view-select/state.tsx +++ b/apps/app/components/issues/view-select/state.tsx @@ -74,9 +74,9 @@ export const ViewStateSelect: React.FC = ({ position={tooltipPosition} >
- + {selectedOption && - getStateGroupIcon(selectedOption.group, "16", "16", selectedOption.color)} + getStateGroupIcon(selectedOption.group, "14", "14", selectedOption.color)} {selectedOption?.name ?? "State"}
@@ -131,6 +131,7 @@ export const ViewStateSelect: React.FC = ({ disabled={isNotAllowed} onOpen={() => setFetchStates(true)} noChevron + selfPositioned={selfPositioned} /> ); }; diff --git a/apps/app/components/profile/profile-issues-view-options.tsx b/apps/app/components/profile/profile-issues-view-options.tsx index 94ba6ef17..904e1ea65 100644 --- a/apps/app/components/profile/profile-issues-view-options.tsx +++ b/apps/app/components/profile/profile-issues-view-options.tsx @@ -146,7 +146,7 @@ export const ProfileIssuesViewOptions: React.FC = () => { {({ open }) => ( <> = ({ user, index, - height = "20px", - width = "20px", + height = "24px", + width = "24px", fontSize = "12px", }) => (
= ({ > {user && user.avatar && user.avatar !== "" ? (
= ({ > {user.display_name}
) : (
= ({ users, userIds, - length = 5, + length = 3, showLength = true, }) => { const router = useRouter(); @@ -88,7 +92,7 @@ export const AssigneesList: React.FC = ({ if ((users && users.length === 0) || (userIds && userIds.length === 0)) return ( -
+
No user
); @@ -100,7 +104,14 @@ export const AssigneesList: React.FC = ({ {users.slice(0, length).map((user, index) => ( ))} - {users.length > length ? +{users.length - length} : null} + {users.length > length ? ( +
+
+ + {users.length - length} +
+
+ ) : null} )} {userIds && ( @@ -112,7 +123,12 @@ export const AssigneesList: React.FC = ({ })} {showLength ? ( userIds.length > length ? ( - +{userIds.length - length} +
+
+ + {userIds.length - length} +
+
) : null ) : ( "" diff --git a/apps/app/components/workspace/sidebar-dropdown.tsx b/apps/app/components/workspace/sidebar-dropdown.tsx index e1c92282b..807a7de8b 100644 --- a/apps/app/components/workspace/sidebar-dropdown.tsx +++ b/apps/app/components/workspace/sidebar-dropdown.tsx @@ -146,13 +146,12 @@ export const WorkspaceSidebarDropdown = () => { >
-
{user?.display_name}
- Workspace + Workspace {workspaces ? ( -
+
{workspaces.length > 0 ? ( workspaces.map((workspace) => ( @@ -160,7 +159,7 @@ export const WorkspaceSidebarDropdown = () => {