Skip to content

🙌 OpenHands: AI-Driven Development

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

Alex Bäuerlea202b2550fe2
diff --git a/frontend/src/components/Planner.tsx b/frontend/src/components/Planner.tsx
index 5b84e57dc0..b704abfacd 100644
--- a/frontend/src/components/Planner.tsx
+++ b/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;
diff --git a/frontend/src/types/TabOption.tsx b/frontend/src/types/TabOption.tsx
index a630b559cd..6848fd5bec 100644
--- a/frontend/src/types/TabOption.tsx
+++ b/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 };