From f7682c57ba16904d65894d4340b8ca26ff9eb485 Mon Sep 17 00:00:00 2001 From: Nikhil <118773738+pablohashescobar@users.noreply.github.com> Date: Mon, 21 Aug 2023 20:25:12 +0530 Subject: [PATCH 1/5] fix: plane space start up command (#1925) --- docker-compose.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docker-compose.yml b/docker-compose.yml index d1ffca809..07aa79f36 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -64,7 +64,7 @@ services: container_name: planedeploy build: context: . - dockerfile: ./apps/space/Dockerfile.space space + dockerfile: ./apps/space/Dockerfile.space args: NEXT_PUBLIC_API_BASE_URL: http://localhost:8000 restart: always From d0403948269ce670c10d9ace01063a5757837c04 Mon Sep 17 00:00:00 2001 From: Aaryan Khandelwal <65252264+aaryan610@users.noreply.github.com> Date: Mon, 21 Aug 2023 20:44:51 +0530 Subject: [PATCH 2/5] fix: create project button not appearing on the sidebar (#1926) --- apps/app/components/project/sidebar-list.tsx | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/apps/app/components/project/sidebar-list.tsx b/apps/app/components/project/sidebar-list.tsx index 266b05204..8018d19a5 100644 --- a/apps/app/components/project/sidebar-list.tsx +++ b/apps/app/components/project/sidebar-list.tsx @@ -9,7 +9,6 @@ import { DragDropContext, Draggable, DropResult, Droppable } from "react-beautif import { Disclosure, Transition } from "@headlessui/react"; // hooks import useToast from "hooks/use-toast"; -import useTheme from "hooks/use-theme"; import useUserAuth from "hooks/use-user-auth"; import useProjects from "hooks/use-projects"; // components @@ -42,18 +41,15 @@ export const ProjectSidebarList: FC = () => { const containerRef = useRef(null); const router = useRouter(); - const { workspaceSlug, projectId } = router.query; + const { workspaceSlug } = router.query; const { user } = useUserAuth(); - - const { collapsed: sidebarCollapse } = useTheme(); const { setToastAlert } = useToast(); const { projects: allProjects } = useProjects(); const joinedProjects = allProjects?.filter((p) => p.sort_order); const favoriteProjects = allProjects?.filter((p) => p.is_favorite); - const otherProjects = allProjects?.filter((p) => p.sort_order === null); const orderedJoinedProjects: IProject[] | undefined = joinedProjects ? orderArrayBy(joinedProjects, "sort_order", "ascending") @@ -300,10 +296,10 @@ export const ProjectSidebarList: FC = () => { - {allProjects && allProjects.length === 0 && ( + {joinedProjects && joinedProjects.length === 0 && (