Skip to content

Commit

Permalink
fix: show code tab by default, planner not working yet (All-Hands-AI#775
Browse files Browse the repository at this point in the history
)

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

* remove planner content

* remove planner for now
  • Loading branch information
Sparkier authored Apr 5, 2024
1 parent adbcfef commit a202b25
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 32 deletions.
32 changes: 1 addition & 31 deletions frontend/src/components/Planner.tsx
Original file line number Diff line number Diff line change
@@ -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;
2 changes: 1 addition & 1 deletion frontend/src/types/TabOption.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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 };

0 comments on commit a202b25

Please sign in to comment.