diff --git a/web/components/command-palette/shortcuts-modal.tsx b/web/components/command-palette/shortcuts-modal.tsx index 56f70ddea..d0ad475e1 100644 --- a/web/components/command-palette/shortcuts-modal.tsx +++ b/web/components/command-palette/shortcuts-modal.tsx @@ -121,11 +121,11 @@ export const ShortcutsModal: React.FC = ({ isOpen, setIsOpen }) => { {key === "Ctrl" ? ( - + ) : key === "Ctrl" ? ( - + ) : ( @@ -164,11 +164,11 @@ export const ShortcutsModal: React.FC = ({ isOpen, setIsOpen }) => { {key === "Ctrl" ? ( - + ) : key === "Ctrl" ? ( - + ) : ( diff --git a/web/components/issues/issue-layouts/filters/header/layout-selection.tsx b/web/components/issues/issue-layouts/filters/header/layout-selection.tsx index fab67fc5b..8212471a5 100644 --- a/web/components/issues/issue-layouts/filters/header/layout-selection.tsx +++ b/web/components/issues/issue-layouts/filters/header/layout-selection.tsx @@ -30,7 +30,9 @@ export const LayoutSelection: React.FC = (props) => { diff --git a/web/components/notifications/notification-card.tsx b/web/components/notifications/notification-card.tsx index 473998964..87a9306cf 100644 --- a/web/components/notifications/notification-card.tsx +++ b/web/components/notifications/notification-card.tsx @@ -9,7 +9,7 @@ import useToast from "hooks/use-toast"; // icons import { CustomMenu } from "components/ui"; import { ArchiveIcon, Tooltip } from "@plane/ui"; -import { ArchiveRestore, Clock, User2 } from "lucide-react"; +import { ArchiveRestore, Clock, MessageSquare, User2 } from "lucide-react"; // helper import { stripHTML, replaceUnderscoreIfSnakeCase, truncateText } from "helpers/string.helper"; @@ -160,7 +160,7 @@ export const NotificationCard: React.FC = (props) => { { id: 1, name: notification.read_at ? "Mark as unread" : "Mark as read", - icon: "chat_bubble", + icon: , onClick: () => { markNotificationReadStatusToggle(notification.id).then(() => { setToastAlert({ @@ -174,9 +174,9 @@ export const NotificationCard: React.FC = (props) => { id: 2, name: notification.archived_at ? "Unarchive" : "Archive", icon: notification.archived_at ? ( - + ) : ( - + ), onClick: () => { markNotificationArchivedStatus(notification.id).then(() => { @@ -204,43 +204,42 @@ export const NotificationCard: React.FC = (props) => { ))} -
- void }) => { - e.stopPropagation(); - }} - customButton={ -
- -
- } - optionsClassName="!z-20" - > - {snoozeOptions.map((item) => ( - { - e.stopPropagation(); + void }) => { + e.stopPropagation(); + }} + customButton={ +
+ +
+ } + optionsClassName="!z-20" + > + {snoozeOptions.map((item) => ( + { + e.stopPropagation(); - if (!item.value) { - setSelectedNotificationForSnooze(notification.id); - return; - } + if (!item.value) { + setSelectedNotificationForSnooze(notification.id); + return; + } - markSnoozeNotification(notification.id, item.value).then(() => { - setToastAlert({ - title: `Notification snoozed till ${renderLongDateFormat(item.value)}`, - type: "success", - }); + markSnoozeNotification(notification.id, item.value).then(() => { + setToastAlert({ + title: `Notification snoozed till ${renderLongDateFormat(item.value)}`, + type: "success", }); - }} - > - {item.label} - - ))} -
-
+ }); + }} + > + {item.label} + + ))} +
diff --git a/web/components/notifications/notification-popover.tsx b/web/components/notifications/notification-popover.tsx index c84fddcc7..cc0c5344e 100644 --- a/web/components/notifications/notification-popover.tsx +++ b/web/components/notifications/notification-popover.tsx @@ -75,7 +75,7 @@ export const NotificationPopover = () => { : "text-custom-sidebar-text-200 hover:bg-custom-sidebar-background-80" } ${store?.theme?.sidebarCollapsed ? "justify-center" : ""}`} > - + {store?.theme?.sidebarCollapsed ? null : Notifications} {totalNotificationCount && totalNotificationCount > 0 ? ( store?.theme?.sidebarCollapsed ? ( diff --git a/web/components/profile/profile-issues-view-options.tsx b/web/components/profile/profile-issues-view-options.tsx index 1c68a1a69..c5a6e2f12 100644 --- a/web/components/profile/profile-issues-view-options.tsx +++ b/web/components/profile/profile-issues-view-options.tsx @@ -69,12 +69,7 @@ export const ProfileIssuesViewOptions: React.FC = () => { }`} onClick={() => setDisplayFilters({ layout: option.type })} > - + ))} diff --git a/web/components/project/sidebar-list-item.tsx b/web/components/project/sidebar-list-item.tsx index cab10e7bd..e02ce7fb6 100644 --- a/web/components/project/sidebar-list-item.tsx +++ b/web/components/project/sidebar-list-item.tsx @@ -151,13 +151,13 @@ export const ProjectSidebarListItem: React.FC = observer((props) => { > )} @@ -210,7 +210,7 @@ export const ProjectSidebarListItem: React.FC = observer((props) => { {!shortContextMenu && isAdmin && ( - + Delete project @@ -218,7 +218,7 @@ export const ProjectSidebarListItem: React.FC = observer((props) => { {!project.is_favorite && ( - + Add to favorites @@ -226,14 +226,14 @@ export const ProjectSidebarListItem: React.FC = observer((props) => { {project.is_favorite && ( - + Remove from favorites )} - + Copy project link @@ -243,7 +243,7 @@ export const ProjectSidebarListItem: React.FC = observer((props) => { projectPublish.handleProjectModal(project?.id)}>
- +
{project.is_deployed ? "Publish settings" : "Publish"}
@@ -255,7 +255,7 @@ export const ProjectSidebarListItem: React.FC = observer((props) => { onClick={() => router.push(`/${workspaceSlug}/projects/${project?.id}/archived-issues/`)} >
- + Archived Issues
@@ -264,7 +264,7 @@ export const ProjectSidebarListItem: React.FC = observer((props) => { onClick={() => router.push(`/${workspaceSlug}/projects/${project?.id}/draft-issues`)} >
- + Draft Issues
@@ -272,7 +272,7 @@ export const ProjectSidebarListItem: React.FC = observer((props) => { onClick={() => router.push(`/${workspaceSlug}/projects/${project?.id}/settings`)} >
- + Settings
@@ -281,7 +281,7 @@ export const ProjectSidebarListItem: React.FC = observer((props) => { {isViewerOrGuest && (
- + Leave Project
@@ -324,7 +324,7 @@ export const ProjectSidebarListItem: React.FC = observer((props) => { : "text-custom-sidebar-text-200 hover:bg-custom-sidebar-background-80 focus:bg-custom-sidebar-background-80" } ${isCollapsed ? "justify-center" : ""}`} > - + {!isCollapsed && item.name} diff --git a/web/components/project/sidebar-list.tsx b/web/components/project/sidebar-list.tsx index 8ff868689..36cf24992 100644 --- a/web/components/project/sidebar-list.tsx +++ b/web/components/project/sidebar-list.tsx @@ -198,7 +198,7 @@ export const ProjectSidebarList: FC = observer(() => { Projects {open ? ( diff --git a/web/components/ui/multi-level-dropdown.tsx b/web/components/ui/multi-level-dropdown.tsx index d31eaed72..dfc743811 100644 --- a/web/components/ui/multi-level-dropdown.tsx +++ b/web/components/ui/multi-level-dropdown.tsx @@ -93,9 +93,9 @@ export const MultiLevelDropdown: React.FC = ({ direction === "right" ? "justify-between" : "" }`} > - {direction === "left" && option.hasChildren && } + {direction === "left" && option.hasChildren && } {option.label} - {direction === "right" && option.hasChildren && } + {direction === "right" && option.hasChildren && } )} diff --git a/web/components/workspace/help-section.tsx b/web/components/workspace/help-section.tsx index da4b23bf1..c10ec5992 100644 --- a/web/components/workspace/help-section.tsx +++ b/web/components/workspace/help-section.tsx @@ -148,7 +148,7 @@ export const WorkspaceHelpSection: React.FC = observe className="flex w-full items-center gap-x-2 rounded px-2 py-1 text-xs hover:bg-custom-background-80" >
- +
{name} diff --git a/web/components/workspace/sidebar-dropdown.tsx b/web/components/workspace/sidebar-dropdown.tsx index f93c83d65..7d985a21c 100644 --- a/web/components/workspace/sidebar-dropdown.tsx +++ b/web/components/workspace/sidebar-dropdown.tsx @@ -266,7 +266,7 @@ export const WorkspaceSidebarDropdown = () => { - + {link.name} @@ -280,7 +280,7 @@ export const WorkspaceSidebarDropdown = () => { className="flex w-full items-center gap-2 rounded px-2 py-1 hover:bg-custom-sidebar-background-80" onClick={handleSignOut} > - + Sign out diff --git a/web/components/workspace/sidebar-menu.tsx b/web/components/workspace/sidebar-menu.tsx index c090a4e3b..d84c9e053 100644 --- a/web/components/workspace/sidebar-menu.tsx +++ b/web/components/workspace/sidebar-menu.tsx @@ -5,7 +5,7 @@ import { useRouter } from "next/router"; import { NotificationPopover } from "components/notifications"; import { Tooltip } from "@plane/ui"; // icons -import { BarChart, Briefcase, CheckCircle, LayoutGrid } from "lucide-react"; +import { BarChart2, Briefcase, CheckCircle, LayoutGrid } from "lucide-react"; // mobx store import { useMobxStore } from "lib/mobx/store-provider"; import { observer } from "mobx-react-lite"; @@ -17,7 +17,7 @@ const workspaceLinks = (workspaceSlug: string) => [ href: `/${workspaceSlug}`, }, { - Icon: BarChart, + Icon: BarChart2, name: "Analytics", href: `/${workspaceSlug}/analytics`, }, @@ -60,7 +60,7 @@ export const WorkspaceSidebarMenu = observer(() => { : "text-custom-sidebar-text-200 hover:bg-custom-sidebar-background-80 focus:bg-custom-sidebar-background-80" } ${themeStore?.sidebarCollapsed ? "justify-center" : ""}`} > - {} + {} {!themeStore?.sidebarCollapsed && link.name}