-
-
-
- Create workspace
-
-
{userLinks(workspaceSlug?.toString() ?? "").map(
(link, index) =>
allowPermissions(link.access, EUserPermissionsLevel.WORKSPACE) && (
diff --git a/web/core/components/workspace/sidebar/help-section.tsx b/web/core/components/workspace/sidebar/help-section.tsx
index 5570b5727a0..419121e7460 100644
--- a/web/core/components/workspace/sidebar/help-section.tsx
+++ b/web/core/components/workspace/sidebar/help-section.tsx
@@ -52,114 +52,7 @@ export const SidebarHelpSection: React.FC
= observer(
}
)}
>
-
-
-
-
-
-
- }
- customButtonClassName={`relative grid place-items-center rounded-md p-1.5 outline-none ${isCollapsed ? "w-full" : ""}`}
- menuButtonOnClick={() => !isNeedHelpOpen && setIsNeedHelpOpen(true)}
- onMenuClose={() => setIsNeedHelpOpen(false)}
- placement={isCollapsed ? "left-end" : "top-end"}
- maxHeight="lg"
- closeOnSelect
- >
-
-
-
- Documentation
-
-
- {config?.intercom_app_id && config?.is_intercom_enabled && (
-
-
-
- )}
-
-
-
- Contact sales
-
-
-
- {ENABLE_LOCAL_DB_CACHE && (
-
- {
- e.preventDefault();
- e.stopPropagation();
- }}
- className="flex w-full items-center justify-between text-xs hover:bg-custom-background-80"
- >
- Local Cache
- toggleLocalDB(workspaceSlug?.toString(), projectId?.toString())}
- />
-
-
- )}
-
-
-
-
-
-
-
-
- Discord
-
-
-
-
-
+
boolean;
Icon: React.FC
;
}[] = [
- {
- key: "projects",
- label: "Projects",
- href: `/projects`,
- access: [EUserPermissions.ADMIN, EUserPermissions.MEMBER, EUserPermissions.GUEST],
- highlight: (pathname: string, baseUrl: string) => pathname === `${baseUrl}/projects/`,
- Icon: Briefcase,
- },
+ // {
+ // key: "projects",
+ // label: "Projects",
+ // href: `/projects`,
+ // access: [EUserPermissions.ADMIN, EUserPermissions.MEMBER, EUserPermissions.GUEST],
+ // highlight: (pathname: string, baseUrl: string) => pathname === `${baseUrl}/projects/`,
+ // Icon: Briefcase,
+ // },
{
key: "all-issues",
label: "Views",
@@ -273,23 +273,23 @@ export const SIDEBAR_WORKSPACE_MENU_ITEMS: {
access: [EUserPermissions.ADMIN, EUserPermissions.MEMBER, EUserPermissions.GUEST],
highlight: (pathname: string, baseUrl: string) => pathname.includes(`${baseUrl}/workspace-views/`),
Icon: Layers,
- },
- {
- key: "active-cycles",
- label: "Cycles",
- href: `/active-cycles`,
- access: [EUserPermissions.ADMIN, EUserPermissions.MEMBER],
- highlight: (pathname: string, baseUrl: string) => pathname === `${baseUrl}/active-cycles/`,
- Icon: ContrastIcon,
- },
- {
- key: "analytics",
- label: "Analytics",
- href: `/analytics`,
- access: [EUserPermissions.ADMIN, EUserPermissions.MEMBER],
- highlight: (pathname: string, baseUrl: string) => pathname.includes(`${baseUrl}/analytics/`),
- Icon: BarChart2,
- },
+ }
+ // {
+ // key: "active-cycles",
+ // label: "Cycles",
+ // href: `/active-cycles`,
+ // access: [EUserPermissions.ADMIN, EUserPermissions.MEMBER],
+ // highlight: (pathname: string, baseUrl: string) => pathname === `${baseUrl}/active-cycles/`,
+ // Icon: ContrastIcon,
+ // },
+ // {
+ // key: "analytics",
+ // label: "Analytics",
+ // href: `/analytics`,
+ // access: [EUserPermissions.ADMIN, EUserPermissions.MEMBER],
+ // highlight: (pathname: string, baseUrl: string) => pathname.includes(`${baseUrl}/analytics/`),
+ // Icon: BarChart2,
+ // },
];
type TLinkOptions = {