Skip to content

armgit / plane

Public Imported from GitHub
0

πŸ”₯πŸ”₯πŸ”₯ Open-source Jira, Linear, Monday, and ClickUp alternative. Plane is a modern project management platform to manage tasks, sprints, docs, and triage.

chore: inbox loader improvement (#3739)

Anmol Singh Bhatiad73cd2ec9d46
diff --git a/web/components/ui/loader/layouts/project-inbox/inbox-layout-loader.tsx b/web/components/ui/loader/layouts/project-inbox/inbox-layout-loader.tsx
index dff6feb3a1..944ec02b87 100644
--- a/web/components/ui/loader/layouts/project-inbox/inbox-layout-loader.tsx
+++ b/web/components/ui/loader/layouts/project-inbox/inbox-layout-loader.tsx
@@ -1,19 +1,26 @@
import React from "react";
// ui
import { InboxSidebarLoader } from "./inbox-sidebar-loader";
+import { Loader } from "@plane/ui";
export const InboxLayoutLoader = () => (
<div className="relative flex h-full overflow-hidden">
<InboxSidebarLoader />
<div className="w-full">
- <div className="grid h-full place-items-center p-4 text-custom-text-200">
- <div className="grid h-full place-items-center">
- <div className="my-5 flex flex-col items-center gap-4">
- <span className="h-[60px] w-[60px] bg-custom-background-80 rounded" />
- <span className="h-6 w-96 bg-custom-background-80 rounded" />
- </div>
+ <Loader className="flex h-full gap-5 p-5">
+ <div className="basis-2/3 space-y-2">
+ <Loader.Item height="30px" width="40%" />
+ <Loader.Item height="15px" width="60%" />
+ <Loader.Item height="15px" width="60%" />
+ <Loader.Item height="15px" width="40%" />
</div>
- </div>
+ <div className="basis-1/3 space-y-3">
+ <Loader.Item height="30px" />
+ <Loader.Item height="30px" />
+ <Loader.Item height="30px" />
+ <Loader.Item height="30px" />
+ </div>
+ </Loader>
</div>
</div>
);