Просмотр исходного кода

fix: show code tab by default, planner not working yet (#775)

* fix: show code tab by default, planner not working yet

* remove planner content

* remove planner for now
Alex Bäuerle 1 год назад
Родитель
Сommit
a202b2550f
2 измененных файлов с 2 добавлено и 32 удалено
  1. 1 31
      frontend/src/components/Planner.tsx
  2. 1 1
      frontend/src/types/TabOption.tsx

+ 1 - 31
frontend/src/components/Planner.tsx

@@ -1,37 +1,7 @@
 import React from "react";
 
 function Planner(): JSX.Element {
-  return (
-    <div className="h-full w-full bg-bg-workspace">
-      <h3>
-        Current Focus: Set up the development environment according to the
-        project&apos;s instructions.
-      </h3>
-      <ul className="ml-4 mt-3">
-        <li className="space-x-2">
-          <input type="checkbox" checked readOnly />
-          <span>
-            Clone the repository and review the README for project setup
-            instructions.
-          </span>
-        </li>
-        <li className="space-x-2">
-          <input type="checkbox" checked readOnly />
-          <span>
-            Identify the package manager and install necessary dependencies.
-          </span>
-        </li>
-        <li className="space-x-2">
-          <input type="checkbox" />
-          <span>
-            Set up the development environment according to the project&apos;s
-            instructions.
-          </span>
-        </li>
-        {/* Add more tasks */}
-      </ul>
-    </div>
-  );
+  return <div className="h-full w-full bg-bg-workspace">Coming soon...</div>;
 }
 
 export default Planner;

+ 1 - 1
frontend/src/types/TabOption.tsx

@@ -6,6 +6,6 @@ enum TabOption {
 
 type TabType = TabOption.PLANNER | TabOption.CODE | TabOption.BROWSER;
 
-const AllTabs = [TabOption.PLANNER, TabOption.CODE, TabOption.BROWSER];
+const AllTabs = [TabOption.CODE, TabOption.BROWSER];
 
 export { AllTabs, TabOption, type TabType };