π₯π₯π₯ Open-source Jira, Linear, Monday, and ClickUp alternative. Plane is a modern project management platform to manage tasks, sprints, docs, and triage.
TypeScript boardsbug-trackerdjangodockerganttissue-trackerjirajira-alternativekanbanlinearpostgresqlproduct-managementproject-managementproject-planningpythonreactredistypesciptvitework-management
chore: inbox layout loader and peek overview subscription improvement (#3803)
Anmol Singh Bhatia1866474569cf
diff --git a/web/components/issues/issue-detail/subscription.tsx b/web/components/issues/issue-detail/subscription.tsxindex ab59839604..7321ef27f5 100644--- a/web/components/issues/issue-detail/subscription.tsx+++ b/web/components/issues/issue-detail/subscription.tsx@@ -67,7 +67,7 @@ export const IssueSubscription: FC<TIssueSubscription> = observer((props) => {>{loading ? (<span>- <span className="hidden sm:block">Loading</span>...+ <span className="hidden sm:block">Loading...</span></span>) : isSubscribed ? (<div className="hidden sm:block">Unsubscribe</div>diff --git a/web/pages/[workspaceSlug]/projects/[projectId]/inbox/[inboxId].tsx b/web/pages/[workspaceSlug]/projects/[projectId]/inbox/[inboxId].tsxindex 125ee4245d..de412c9d7d 100644--- a/web/pages/[workspaceSlug]/projects/[projectId]/inbox/[inboxId].tsx+++ b/web/pages/[workspaceSlug]/projects/[projectId]/inbox/[inboxId].tsx@@ -7,6 +7,7 @@ import { useProject, useInboxIssues } from "hooks/store";// layoutsimport { AppLayout } from "layouts/app-layout";// components+import { InboxLayoutLoader } from "components/ui";import { PageHead } from "components/core";import { ProjectInboxHeader } from "components/headers";import { InboxSidebarRoot, InboxContentRoot } from "components/inbox";@@ -23,7 +24,7 @@ const ProjectInboxPage: NextPageWithLayout = observer(() => {issues: { fetchInboxIssues },} = useInboxIssues();// fetching the Inbox filters and issues- useSWR(+ const { isLoading } = useSWR(workspaceSlug && projectId && currentProjectDetails && currentProjectDetails?.inbox_view? `INBOX_ISSUES_${workspaceSlug.toString()}_${projectId.toString()}`: null,@@ -37,7 +38,12 @@ const ProjectInboxPage: NextPageWithLayout = observer(() => {// derived valuesconst pageTitle = currentProjectDetails?.name ? `${currentProjectDetails?.name} - Inbox` : undefined;- if (!workspaceSlug || !projectId || !inboxId || !currentProjectDetails?.inbox_view) return <></>;+ if (!workspaceSlug || !projectId || !inboxId || !currentProjectDetails?.inbox_view || isLoading)+ return (+ <div className="flex h-full flex-col">+ <InboxLayoutLoader />+ </div>+ );return (<>