From 734f27122bf5bbb60000a341c0ace449365cbf14 Mon Sep 17 00:00:00 2001 From: Prateek Shourya Date: Wed, 22 Nov 2023 12:58:55 +0530 Subject: [PATCH] Style: UI improvements (#2824) * style: update notification Read status toast alert description. * style: update issue subscribe button design. * fix: remove group_by `none` display filter from the kanban view in profile and draft issues. * style: design improvement in members settings. * style: add display name for all user role. * style: remove email for user roles other than admin. * style: fix border color as per designs. --- web/components/issues/issue-peek-overview/view.tsx | 1 + web/components/issues/sidebar.tsx | 13 +++++++------ web/components/notifications/notification-card.tsx | 2 +- web/components/project/member-list-item.tsx | 12 ++++++++++-- .../workspace/settings/members-list-item.tsx | 12 ++++++++++-- web/components/workspace/settings/members-list.tsx | 2 +- web/constants/issue.ts | 4 ++-- 7 files changed, 32 insertions(+), 14 deletions(-) diff --git a/web/components/issues/issue-peek-overview/view.tsx b/web/components/issues/issue-peek-overview/view.tsx index 3d29c1545..88afbd487 100644 --- a/web/components/issues/issue-peek-overview/view.tsx +++ b/web/components/issues/issue-peek-overview/view.tsx @@ -225,6 +225,7 @@ export const IssueView: FC = observer((props) => { size="sm" prependIcon={} variant="outline-primary" + className="hover:!bg-custom-primary-100/20" onClick={() => issueSubscription && issueSubscription.subscribed ? issueSubscriptionRemove() diff --git a/web/components/issues/sidebar.tsx b/web/components/issues/sidebar.tsx index e67b73baa..c0bb2da18 100644 --- a/web/components/issues/sidebar.tsx +++ b/web/components/issues/sidebar.tsx @@ -33,7 +33,7 @@ import { import { CustomDatePicker } from "components/ui"; // icons import { Bell, CalendarDays, LinkIcon, Plus, Signal, Tag, Trash2, Triangle, User2 } from "lucide-react"; -import { ContrastIcon, DiceIcon, DoubleCircleIcon, UserGroupIcon } from "@plane/ui"; +import { Button, ContrastIcon, DiceIcon, DoubleCircleIcon, UserGroupIcon } from "@plane/ui"; // helpers import { copyTextToClipboard } from "helpers/string.helper"; // types @@ -273,17 +273,18 @@ export const IssueDetailsSidebar: React.FC = observer((props) => { !issueDetail?.assignees.includes(user?.id ?? "") && !router.pathname.includes("[archivedIssueId]") && (fieldsToShow.includes("all") || fieldsToShow.includes("subscribe")) && ( - + )} {(fieldsToShow.includes("all") || fieldsToShow.includes("link")) && (