diff --git a/web/components/issues/issue-layouts/kanban/default.tsx b/web/components/issues/issue-layouts/kanban/default.tsx index 79b8a7d07..1e252895b 100644 --- a/web/components/issues/issue-layouts/kanban/default.tsx +++ b/web/components/issues/issue-layouts/kanban/default.tsx @@ -178,8 +178,7 @@ export const KanBan: React.FC = observer((props) => { return (
- {/* TODO: have to implement */} - {group_by && group_by === "projects" && ( + {group_by && group_by === "project" && ( = observer((props) => { )}
+ {sub_group_by && sub_group_by === "project" && ( + + )} + {sub_group_by && sub_group_by === "state" && ( { return ( <> {isLoading ? ( -
Loading...
+
+ +
) : (
{activeLayout === "list" ? ( diff --git a/web/pages/[workspaceSlug]/profile/[userId]/created.tsx b/web/pages/[workspaceSlug]/profile/[userId]/created.tsx index e9a90f6a1..c8418043e 100644 --- a/web/pages/[workspaceSlug]/profile/[userId]/created.tsx +++ b/web/pages/[workspaceSlug]/profile/[userId]/created.tsx @@ -11,6 +11,7 @@ import { ProfileAuthWrapper } from "layouts/profile-layout"; import { UserProfileHeader } from "components/headers"; import { ProfileIssuesListLayout } from "components/issues/issue-layouts/list/roots/profile-issues-root"; import { ProfileIssuesKanBanLayout } from "components/issues/issue-layouts/kanban/roots/profile-issues-root"; +import { Spinner } from "@plane/ui"; // types import { NextPageWithLayout } from "types/app"; @@ -42,7 +43,9 @@ const ProfileCreatedIssuesPage: NextPageWithLayout = () => { return ( <> {isLoading ? ( -
Loading...
+
+ +
) : (
{activeLayout === "list" ? ( diff --git a/web/pages/[workspaceSlug]/profile/[userId]/subscribed.tsx b/web/pages/[workspaceSlug]/profile/[userId]/subscribed.tsx index 95efcab90..6862b00b4 100644 --- a/web/pages/[workspaceSlug]/profile/[userId]/subscribed.tsx +++ b/web/pages/[workspaceSlug]/profile/[userId]/subscribed.tsx @@ -11,6 +11,7 @@ import { ProfileAuthWrapper } from "layouts/profile-layout"; import { UserProfileHeader } from "components/headers"; import { ProfileIssuesListLayout } from "components/issues/issue-layouts/list/roots/profile-issues-root"; import { ProfileIssuesKanBanLayout } from "components/issues/issue-layouts/kanban/roots/profile-issues-root"; +import { Spinner } from "@plane/ui"; // types import { NextPageWithLayout } from "types/app"; @@ -40,21 +41,21 @@ const ProfileSubscribedIssuesPage: NextPageWithLayout = () => { const activeLayout = profileIssueFiltersStore.userDisplayFilters.layout; return ( - }> - - {isLoading ? ( -
Loading...
- ) : ( -
- {activeLayout === "list" ? ( - - ) : activeLayout === "kanban" ? ( - - ) : null} -
- )} -
-
+ <> + {isLoading ? ( +
+ +
+ ) : ( +
+ {activeLayout === "list" ? ( + + ) : activeLayout === "kanban" ? ( + + ) : null} +
+ )} + ); };