Skip to content

Commit 3766d69

Browse files
committed
feat: add Full Stack Development button to app details page
1 parent f1bfadb commit 3766d69

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

src/pages/app-details.tsx

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -329,6 +329,22 @@ export default function AppDetailsPage() {
329329
</div>
330330
</div>
331331
<div className="mt-4 flex flex-col gap-2">
332+
<Button
333+
onClick={async () => {
334+
if (!appId) {
335+
console.error("No app id found");
336+
return;
337+
}
338+
// Set chat mode to fullstack before navigating
339+
await IpcClient.getInstance().setUserSettings({ selectedChatMode: "fullstack" });
340+
navigate({ to: "/chat" });
341+
}}
342+
className="cursor-pointer w-full py-5 flex justify-center items-center gap-2 bg-green-600 hover:bg-green-700 text-white"
343+
size="lg"
344+
>
345+
Full Stack Development
346+
<Code className="h-4 w-4" />
347+
</Button>
332348
<Button
333349
onClick={async () => {
334350
if (!appId) {

0 commit comments

Comments
 (0)