From df96d40cfa71f62df37b766e5884ef701fc67112 Mon Sep 17 00:00:00 2001 From: Aaryan Khandelwal <65252264+aaryan610@users.noreply.github.com> Date: Thu, 11 May 2023 02:15:39 +0530 Subject: [PATCH] fix: views issues mutation, sidebar link highlight (#1025) * fix: views issues mutation, sidebar link highlight * fix: show only specific states when type filter is set * fix: delete comment mutation * style: bulk delete issues modal * fix: project settings features mutation --- .../core/board-view/single-board.tsx | 2 +- .../core/bulk-delete-issues-modal.tsx | 12 ++-- .../{filter-list.tsx => filters-list.tsx} | 0 .../components/core/image-upload-modal.tsx | 19 +++--- apps/app/components/core/index.ts | 2 +- .../components/core/list-view/single-list.tsx | 5 +- .../integration/jira/give-details.tsx | 1 + apps/app/components/issues/activity.tsx | 3 + apps/app/components/issues/sidebar.tsx | 5 +- .../app/components/issues/sub-issues-list.tsx | 2 +- .../components/pages/single-page-block.tsx | 8 +-- apps/app/components/project/sidebar-list.tsx | 4 +- apps/app/components/ui/custom-menu.tsx | 12 ++-- .../components/ui/custom-search-select.tsx | 6 +- apps/app/components/ui/custom-select.tsx | 4 ++ apps/app/components/ui/empty-space.tsx | 11 ++-- .../app/components/workspace/sidebar-menu.tsx | 6 +- apps/app/constants/fetch-keys.ts | 10 ++- apps/app/helpers/array.helper.ts | 2 + apps/app/hooks/use-issues-view.tsx | 33 +++++++++- apps/app/hooks/use-projects.tsx | 8 ++- apps/app/layouts/settings-navbar.tsx | 8 ++- .../projects/[projectId]/issues/[issueId].tsx | 2 +- .../projects/[projectId]/pages/[pageId].tsx | 2 +- .../[projectId]/settings/features.tsx | 62 ++++++++++++++----- .../projects/[projectId]/settings/index.tsx | 2 +- .../projects/[projectId]/views/[viewId].tsx | 2 +- .../projects/[projectId]/views/index.tsx | 2 +- .../pages/[workspaceSlug]/projects/index.tsx | 4 +- 29 files changed, 165 insertions(+), 74 deletions(-) rename apps/app/components/core/{filter-list.tsx => filters-list.tsx} (100%) diff --git a/apps/app/components/core/board-view/single-board.tsx b/apps/app/components/core/board-view/single-board.tsx index 76226f0cf..5d33b15bf 100644 --- a/apps/app/components/core/board-view/single-board.tsx +++ b/apps/app/components/core/board-view/single-board.tsx @@ -167,7 +167,7 @@ export const SingleBoard: React.FC = ({ Add Issue } - optionsPosition="left" + position="left" noBorder > diff --git a/apps/app/components/core/bulk-delete-issues-modal.tsx b/apps/app/components/core/bulk-delete-issues-modal.tsx index bd5e18e57..7fe2181f6 100644 --- a/apps/app/components/core/bulk-delete-issues-modal.tsx +++ b/apps/app/components/core/bulk-delete-issues-modal.tsx @@ -121,7 +121,7 @@ export const BulkDeleteIssuesModal: React.FC = ({ isOpen, setIsOpen }) => leaveFrom="opacity-100 scale-100" leaveTo="opacity-0 scale-95" > - +
{ @@ -149,7 +149,7 @@ export const BulkDeleteIssuesModal: React.FC = ({ isOpen, setIsOpen }) => {filteredIssues.length > 0 ? (
  • @@ -158,15 +158,15 @@ export const BulkDeleteIssuesModal: React.FC = ({ isOpen, setIsOpen }) => Select issues to delete )} -