mirror of
https://github.com/makeplane/plane
synced 2024-06-14 14:31:34 +00:00
87f39d7372
* chore: empty state asset added * chore: empty state asset updated and image path helper function added * chore: empty state asset updated * chore: empty state asset updated and empty state details constant added * chore: empty state component, helper function and comicbox button added * chore: draft, archived and project issue empty state * chore: cycle, module and issue layout empty state * chore: analytics, dashboard, all issues, pages and project view empty state * chore:projects empty state * chore:projects empty state improvement * chore: cycle, module, view and page loader improvement * chore: code refactor
90 lines
2.0 KiB
TypeScript
90 lines
2.0 KiB
TypeScript
import { Globe2, LayoutGrid, List, Lock } from "lucide-react";
|
|
|
|
export const PAGE_VIEW_LAYOUTS = [
|
|
{
|
|
key: "list",
|
|
icon: List,
|
|
title: "List layout",
|
|
},
|
|
{
|
|
key: "detailed",
|
|
icon: LayoutGrid,
|
|
title: "Detailed layout",
|
|
},
|
|
];
|
|
|
|
export const PAGE_TABS_LIST: { key: string; title: string }[] = [
|
|
{
|
|
key: "recent",
|
|
title: "Recent",
|
|
},
|
|
{
|
|
key: "all",
|
|
title: "All",
|
|
},
|
|
{
|
|
key: "favorites",
|
|
title: "Favorites",
|
|
},
|
|
{
|
|
key: "private",
|
|
title: "Private",
|
|
},
|
|
{
|
|
key: "shared",
|
|
title: "Shared",
|
|
},
|
|
{
|
|
key: "archived-pages",
|
|
title: "Archived",
|
|
},
|
|
];
|
|
|
|
export const PAGE_ACCESS_SPECIFIERS: { key: number; label: string; icon: any }[] = [
|
|
{
|
|
key: 0,
|
|
label: "Public",
|
|
icon: Globe2,
|
|
},
|
|
{
|
|
key: 1,
|
|
label: "Private",
|
|
icon: Lock,
|
|
},
|
|
];
|
|
|
|
export const PAGE_EMPTY_STATE_DETAILS = {
|
|
All: {
|
|
key: "all",
|
|
title: "Write a note, a doc, or a full knowledge base",
|
|
description:
|
|
"Pages help you organise your thoughts to create wikis, discussions or even document heated takes for your project. Use it wisely!",
|
|
},
|
|
Favorites: {
|
|
key: "favorites",
|
|
title: "No favorite pages yet",
|
|
description: "Favorites for quick access? mark them and find them right here.",
|
|
},
|
|
Private: {
|
|
key: "private",
|
|
title: "No private pages yet",
|
|
description: "Keep your private thoughts here. When you're ready to share, the team's just a click away.",
|
|
},
|
|
Shared: {
|
|
key: "shared",
|
|
title: "No shared pages yet",
|
|
description: "See pages shared with everyone in your project right here.",
|
|
},
|
|
Archived: {
|
|
key: "archived",
|
|
title: "No archived pages yet",
|
|
description: "Archive pages not on your radar. Access them here when needed.",
|
|
},
|
|
Recent: {
|
|
key: "recent",
|
|
title: "Write a note, a doc, or a full knowledge base",
|
|
description:
|
|
"Pages help you organise your thoughts to create wikis, discussions or even document heated takes for your project. Use it wisely! Pages will be sorted and grouped by last updated",
|
|
},
|
|
};
|