From 17806d932502adbf974ccd93a670e57b78be9a08 Mon Sep 17 00:00:00 2001 From: Nate Sesti Date: Sat, 19 Aug 2023 01:00:24 -0700 Subject: fix: :bug: make sure server_version.txt exists --- continuedev/src/continuedev/libs/util/paths.py | 1 + extension/react-app/src/components/Layout.tsx | 25 +++++++++++++++++++++++++ extension/react-app/src/pages/gui.tsx | 4 ++-- extension/src/activation/environmentSetup.ts | 15 ++++++++++----- extension/src/commands.ts | 7 +++++++ 5 files changed, 45 insertions(+), 7 deletions(-) diff --git a/continuedev/src/continuedev/libs/util/paths.py b/continuedev/src/continuedev/libs/util/paths.py index 483f6b63..93ab16db 100644 --- a/continuedev/src/continuedev/libs/util/paths.py +++ b/continuedev/src/continuedev/libs/util/paths.py @@ -73,4 +73,5 @@ def getConfigFilePath() -> str: def getLogFilePath(): path = os.path.join(getGlobalFolderPath(), "continue.log") + os.makedirs(os.path.dirname(path), exist_ok=True) return path diff --git a/extension/react-app/src/components/Layout.tsx b/extension/react-app/src/components/Layout.tsx index 54a4517f..86192afb 100644 --- a/extension/react-app/src/components/Layout.tsx +++ b/extension/react-app/src/components/Layout.tsx @@ -17,6 +17,7 @@ import { FolderIcon, BookOpenIcon, ChatBubbleOvalLeftEllipsisIcon, + SparklesIcon, } from "@heroicons/react/24/outline"; import HeaderButtonWithText from "./HeaderButtonWithText"; import { useNavigate } from "react-router-dom"; @@ -138,6 +139,30 @@ const Layout = () => { {bottomMessage}