From d3e985cc5fb746b48a9fc5cc65c64c12d83bc479 Mon Sep 17 00:00:00 2001 From: Anmol Singh Bhatia Date: Mon, 22 Jul 2024 19:13:49 +0530 Subject: [PATCH 1/2] chore: sidebar content update --- web/app/[workspaceSlug]/(projects)/sidebar.tsx | 6 +++--- web/core/components/workspace/sidebar/projects-list.tsx | 2 +- web/core/constants/dashboard.ts | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/web/app/[workspaceSlug]/(projects)/sidebar.tsx b/web/app/[workspaceSlug]/(projects)/sidebar.tsx index 77b4889b6b9..b1a9e32fc7c 100644 --- a/web/app/[workspaceSlug]/(projects)/sidebar.tsx +++ b/web/app/[workspaceSlug]/(projects)/sidebar.tsx @@ -62,19 +62,19 @@ export const AppSidebar: FC = observer(() => {


diff --git a/web/core/components/workspace/sidebar/projects-list.tsx b/web/core/components/workspace/sidebar/projects-list.tsx index 578039e2cf8..7abe8738dcb 100644 --- a/web/core/components/workspace/sidebar/projects-list.tsx +++ b/web/core/components/workspace/sidebar/projects-list.tsx @@ -161,7 +161,7 @@ export const SidebarProjectsList: FC = observer(() => { { key: "all", type: "JOINED", - title: "MY PROJECTS", + title: "YOUR PROJECTS", icon: Briefcase, projects: joinedProjects, isOpen: isAllProjectsListOpen, diff --git a/web/core/constants/dashboard.ts b/web/core/constants/dashboard.ts index 907a0ace130..0d7c6506411 100644 --- a/web/core/constants/dashboard.ts +++ b/web/core/constants/dashboard.ts @@ -311,7 +311,7 @@ export const SIDEBAR_USER_MENU_ITEMS: { }, { key: "my-work", - label: "My Work", + label: "Your work", href: "/profile", access: EUserWorkspaceRoles.GUEST, highlight: (pathname: string, baseUrl: string) => pathname.includes(`${baseUrl}/profile/`), From 56c9fb1a92ffee23c39eaa32277fd7596d25949e Mon Sep 17 00:00:00 2001 From: Anmol Singh Bhatia Date: Mon, 22 Jul 2024 19:22:40 +0530 Subject: [PATCH 2/2] chore: code refactor --- web/core/constants/dashboard.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/core/constants/dashboard.ts b/web/core/constants/dashboard.ts index 0d7c6506411..6bf2b1ca6ea 100644 --- a/web/core/constants/dashboard.ts +++ b/web/core/constants/dashboard.ts @@ -310,7 +310,7 @@ export const SIDEBAR_USER_MENU_ITEMS: { Icon: Home, }, { - key: "my-work", + key: "your-work", label: "Your work", href: "/profile", access: EUserWorkspaceRoles.GUEST,