From 1789b8ddeb996a35bef7d8884116f78812de9ef6 Mon Sep 17 00:00:00 2001 From: Anmol Singh Bhatia <121005188+anmolsinghbhatia@users.noreply.github.com> Date: Wed, 24 Apr 2024 16:27:01 +0530 Subject: [PATCH 1/3] fix: observer added to empty state component (#4274) --- web/components/empty-state/empty-state.tsx | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/web/components/empty-state/empty-state.tsx b/web/components/empty-state/empty-state.tsx index 790bd5aec..e518b3487 100644 --- a/web/components/empty-state/empty-state.tsx +++ b/web/components/empty-state/empty-state.tsx @@ -1,4 +1,5 @@ import React from "react"; +import { observer } from "mobx-react"; import Image from "next/image"; import Link from "next/link"; @@ -23,7 +24,7 @@ export type EmptyStateProps = { secondaryButtonOnClick?: () => void; }; -export const EmptyState: React.FC = (props) => { +export const EmptyState: React.FC = observer((props) => { const { type, size = "lg", @@ -173,4 +174,4 @@ export const EmptyState: React.FC = (props) => { )} ); -}; +}); From d5dd971fb4179a296913a7fb789ed79644ffd424 Mon Sep 17 00:00:00 2001 From: Bavisetti Narayan <72156168+NarayanBavisetti@users.noreply.github.com> Date: Wed, 24 Apr 2024 16:28:35 +0530 Subject: [PATCH 2/3] chore: state triage filter (#4277) --- apiserver/plane/app/views/workspace/base.py | 4 ++-- apiserver/plane/app/views/workspace/state.py | 1 + 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/apiserver/plane/app/views/workspace/base.py b/apiserver/plane/app/views/workspace/base.py index 1ff863d13..24a3d7302 100644 --- a/apiserver/plane/app/views/workspace/base.py +++ b/apiserver/plane/app/views/workspace/base.py @@ -151,8 +151,8 @@ class WorkSpaceViewSet(BaseViewSet): return super().partial_update(request, *args, **kwargs) @invalidate_cache(path="/api/workspaces/", user=False) - @invalidate_cache(path="/api/users/me/workspaces/", multiple=True) - @invalidate_cache(path="/api/users/me/settings/", multiple=True) + @invalidate_cache(path="/api/users/me/workspaces/", multiple=True, user=False) + @invalidate_cache(path="/api/users/me/settings/", multiple=True, user=False) def destroy(self, request, *args, **kwargs): return super().destroy(request, *args, **kwargs) diff --git a/apiserver/plane/app/views/workspace/state.py b/apiserver/plane/app/views/workspace/state.py index 7e3b158e5..c69b56d4f 100644 --- a/apiserver/plane/app/views/workspace/state.py +++ b/apiserver/plane/app/views/workspace/state.py @@ -21,6 +21,7 @@ class WorkspaceStatesEndpoint(BaseAPIView): project__project_projectmember__member=request.user, project__project_projectmember__is_active=True, project__archived_at__isnull=True, + is_triage=False, ) serializer = StateSerializer(states, many=True).data return Response(serializer, status=status.HTTP_200_OK) From 87aab7457916a3695cdc439d0e5ece0f24b57050 Mon Sep 17 00:00:00 2001 From: Anmol Singh Bhatia <121005188+anmolsinghbhatia@users.noreply.github.com> Date: Wed, 24 Apr 2024 17:21:52 +0530 Subject: [PATCH 3/3] chore: delete label modal content updated (#4276) --- web/components/labels/delete-label-modal.tsx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/web/components/labels/delete-label-modal.tsx b/web/components/labels/delete-label-modal.tsx index 773ceac37..6eff9f8db 100644 --- a/web/components/labels/delete-label-modal.tsx +++ b/web/components/labels/delete-label-modal.tsx @@ -91,9 +91,9 @@ export const DeleteLabelModal: React.FC = observer((props) => {

- Are you sure you want to delete label-{" "} - {data?.name}? The label will be - removed from all the issues. + Are you sure you wish to delete{" "} + {data?.name}? This will remove the + label from all the issue and from any views where the label is being filtered upon.