From 9f20fd6196ca3254b4142c5ca1d319602c1902cf Mon Sep 17 00:00:00 2001 From: Alex Gleason Date: Thu, 25 Sep 2025 17:45:09 -0500 Subject: [PATCH] Fix scrolling in Act1Dialog --- src/components/Act1Dialog.tsx | 391 +++++++++++++++++----------------- 1 file changed, 197 insertions(+), 194 deletions(-) diff --git a/src/components/Act1Dialog.tsx b/src/components/Act1Dialog.tsx index 508c883c..5cfaf736 100644 --- a/src/components/Act1Dialog.tsx +++ b/src/components/Act1Dialog.tsx @@ -4,6 +4,7 @@ import { Dialog, DialogContent, DialogHeader, DialogTitle } from '@/components/u import { Button } from '@/components/ui/button'; import { Card, CardContent, CardHeader, CardTitle } from '@/components/ui/card'; import { Badge } from '@/components/ui/badge'; + import { useAISettings } from '@/hooks/useAISettings'; import { useLocalStorage } from '@/hooks/useLocalStorage'; @@ -80,7 +81,7 @@ export function Act1Dialog({ open, onOpenChange }: Act1DialogProps) { return ( - + {step === 'migration' && ( @@ -111,219 +112,221 @@ export function Act1Dialog({ open, onOpenChange }: Act1DialogProps) { -
- {step === 'welcome' && ( -
-
🎭✨
-
-

- Welcome to Act 2! -

-

- We're excited to see you again! Shakespeare has been completely rebuilt - with new features, improved performance, and a better development experience. -

-
+
+
+ {step === 'welcome' && ( +
+
🎭✨
+
+

+ Welcome to Act 2! +

+

+ We're excited to see you again! Shakespeare has been completely rebuilt + with new features, improved performance, and a better development experience. +

+
- - - - 🔄 - What's Changed - - - -
- New -
-

Enhanced AI Capabilities

-

More powerful models and better code generation

+ + + + 🔄 + What's Changed + + + +
+ New +
+

Enhanced AI Capabilities

+

More powerful models and better code generation

+
-
-
- New -
-

Improved Git Integration

-

Better version control with credential management

+
+ New +
+

Improved Git Integration

+

Better version control with credential management

+
-
-
- New -
-

Project Import/Export

-

Easily migrate your projects between versions

+
+ New +
+

Project Import/Export

+

Easily migrate your projects between versions

+
-
- - + + -
-
- ⚠️ -
-

Act 2 is in Development

-

- While we're working hard to make Act 2 stable, you may encounter bugs. - Your Act 1 projects remain safe and accessible. -

+
+
+ ⚠️ +
+

Act 2 is in Development

+

+ While we're working hard to make Act 2 stable, you may encounter bugs. + Your Act 1 projects remain safe and accessible. +

+
-
- -
- )} - - {step === 'migration' && ( -
-
-

Your Act 1 Projects & Credits

-

- All your Act 1 projects and credits are safe and still accessible. - Here's how to work with them in Act 2. -

-
- -
- - - - - Access Act 1 - - - -

- Your original Shakespeare (Act 1) is still available with all your projects and data intact. -

- -
-
- - - - - - Export from Act 1 - - - -

- In Act 1, you can export your projects as ZIP files using the project menu or settings. -

-
- 💡 Tip: Export projects you want to continue working on in Act 2 -
-
-
- - - - - - Import to Act 2 - - - -

- In Act 2, use the "Import Project" option in the sidebar to upload your exported ZIP files. -

-
- 💡 Tip: Look for the import button in the project sidebar -
-
-
- - - - - 💳 - Your Credits - - - -

- Your Act 1 credits are still available through the Shakespeare AI provider. - We've automatically configured this for you! -

- - Credits Available - -
-
-
- -
-
- )} + )} - {step === 'conclusion' && ( -
-
🎉
-
-

Welcome to the Future!

-

- You're all set up with Act 2! Your AI assistant is configured - and ready to help you build amazing Nostr applications. -

-
+ {step === 'migration' && ( +
+
+

Your Act 1 Projects & Credits

+

+ All your Act 1 projects and credits are safe and still accessible. + Here's how to work with them in Act 2. +

+
-
-

- "Create a decentralized social media app with custom feeds and real-time messaging..." -

-
+
+ + + + + Access Act 1 + + + +

+ Your original Shakespeare (Act 1) is still available with all your projects and data intact. +

+ +
+
-
- + + + + + Export from Act 1 + + + +

+ In Act 1, you can export your projects as ZIP files using the project menu or settings. +

+
+ 💡 Tip: Export projects you want to continue working on in Act 2 +
+
+
-
- Remember: You can always access Act 1 at{' '} -
+ +
+ + Continue + +
-
- )} + )} + + {step === 'conclusion' && ( +
+
🎉
+
+

Welcome to the Future!

+

+ You're all set up with Act 2! Your AI assistant is configured + and ready to help you build amazing Nostr applications. +

+
+ +
+

+ "Create a decentralized social media app with custom feeds and real-time messaging..." +

+
+ +
+ + +
+ Remember: You can always access Act 1 at{' '} + +
+
+
+ )} +