mirror of
https://github.com/makeplane/plane
synced 2024-06-14 14:31:34 +00:00
chore: add woprkspace pages empty state
This commit is contained in:
parent
e6753a4d05
commit
3d05f5a530
@ -70,6 +70,10 @@ export enum EmptyStateType {
|
|||||||
PROJECT_PAGE_PRIVATE = "project-page-private",
|
PROJECT_PAGE_PRIVATE = "project-page-private",
|
||||||
PROJECT_PAGE_PUBLIC = "project-page-public",
|
PROJECT_PAGE_PUBLIC = "project-page-public",
|
||||||
PROJECT_PAGE_ARCHIVED = "project-page-archived",
|
PROJECT_PAGE_ARCHIVED = "project-page-archived",
|
||||||
|
WORKSPACE_PAGE = "workspace-page",
|
||||||
|
WORKSPACE_PAGE_PRIVATE = "workspace-page-private",
|
||||||
|
WORKSPACE_PAGE_PUBLIC = "workspace-page-public",
|
||||||
|
WORKSPACE_PAGE_ARCHIVED = "workspace-page-archived",
|
||||||
|
|
||||||
COMMAND_K_SEARCH_EMPTY_STATE = "command-k-search-empty-state",
|
COMMAND_K_SEARCH_EMPTY_STATE = "command-k-search-empty-state",
|
||||||
ISSUE_RELATION_SEARCH_EMPTY_STATE = "issue-relation-search-empty-state",
|
ISSUE_RELATION_SEARCH_EMPTY_STATE = "issue-relation-search-empty-state",
|
||||||
@ -526,6 +530,46 @@ const emptyStateDetails = {
|
|||||||
description: "Archive pages not on your radar. Access them here when needed.",
|
description: "Archive pages not on your radar. Access them here when needed.",
|
||||||
path: "/empty-state/pages/archived",
|
path: "/empty-state/pages/archived",
|
||||||
},
|
},
|
||||||
|
[EmptyStateType.WORKSPACE_PAGE]: {
|
||||||
|
key: EmptyStateType.WORKSPACE_PAGE,
|
||||||
|
title: "Write a note, a doc, or a full knowledge base. Get Galileo, Plane’s AI assistant, to help you get started",
|
||||||
|
description:
|
||||||
|
"Pages are thoughts potting space in Plane. Take down meeting notes, format them easily, embed issues, lay them out using a library of components, and keep them all in your project’s context. To make short work of any doc, invoke Galileo, Plane’s AI, with a shortcut or the click of a button.",
|
||||||
|
path: "/empty-state/onboarding/pages",
|
||||||
|
primaryButton: {
|
||||||
|
text: "Create your first page",
|
||||||
|
},
|
||||||
|
accessType: "workspace",
|
||||||
|
access: EUserProjectRoles.GUEST,
|
||||||
|
},
|
||||||
|
[EmptyStateType.WORKSPACE_PAGE_PRIVATE]: {
|
||||||
|
key: EmptyStateType.WORKSPACE_PAGE_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.",
|
||||||
|
path: "/empty-state/pages/private",
|
||||||
|
primaryButton: {
|
||||||
|
text: "Create your first page",
|
||||||
|
},
|
||||||
|
accessType: "workspace",
|
||||||
|
access: EUserProjectRoles.GUEST,
|
||||||
|
},
|
||||||
|
[EmptyStateType.WORKSPACE_PAGE_PUBLIC]: {
|
||||||
|
key: EmptyStateType.WORKSPACE_PAGE_PUBLIC,
|
||||||
|
title: "No public pages yet",
|
||||||
|
description: "See pages shared with everyone in your workspace right here.",
|
||||||
|
path: "/empty-state/pages/public",
|
||||||
|
primaryButton: {
|
||||||
|
text: "Create your first page",
|
||||||
|
},
|
||||||
|
accessType: "workspace",
|
||||||
|
access: EUserProjectRoles.GUEST,
|
||||||
|
},
|
||||||
|
[EmptyStateType.WORKSPACE_PAGE_ARCHIVED]: {
|
||||||
|
key: EmptyStateType.WORKSPACE_PAGE_ARCHIVED,
|
||||||
|
title: "No archived pages yet",
|
||||||
|
description: "Archive pages not on your radar. Access them here when needed.",
|
||||||
|
path: "/empty-state/pages/archived",
|
||||||
|
},
|
||||||
|
|
||||||
[EmptyStateType.COMMAND_K_SEARCH_EMPTY_STATE]: {
|
[EmptyStateType.COMMAND_K_SEARCH_EMPTY_STATE]: {
|
||||||
key: EmptyStateType.COMMAND_K_SEARCH_EMPTY_STATE,
|
key: EmptyStateType.COMMAND_K_SEARCH_EMPTY_STATE,
|
||||||
|
Loading…
Reference in New Issue
Block a user