-
Notifications
You must be signed in to change notification settings - Fork 569
Description
Feature Request: Add "Re-open Project Setup" option
Problem
When a user opens an existing project for the first time in Automaker, they see the "Set Up Your Project" dialog with options to:
- Enter project overview
- Enable "Generate feature list" checkbox
- Select number of features (20, 50, 100)
If the user closes this dialog (clicks "Skip for now" or presses Escape), they can NEVER access this same dialog again.
The toast notification says: "You can set up your app_spec.txt later from the Spec view"
However, the Spec view's "Create app_spec" dialog is different - it does NOT have the feature count selector (20/50/100). Users lose the ability to auto-generate a specific number of features.
Current Behavior
1. User opens existing project (no .automaker folder)
2. "Set Up Your Project" dialog appears with:
- Project Overview textarea
- "Generate feature list" checkbox
- Number of Features: 20 | 50 | 100
3. User clicks "Skip for now"
4. Dialog closes permanently
5. User goes to Spec view → "Create app_spec" button
6. Different dialog appears WITHOUT feature count options
Expected Behavior
Users should be able to:
- Re-trigger the original "Set Up Your Project" dialog at any time
- OR have the same options (feature count selector) available in the Spec view dialog
Suggested Solutions
Option A: Add "Setup Wizard" button in Spec view (Recommended)
Add a "Setup Wizard" or "Generate Features" button in the Spec view that opens the original project setup dialog:
// In spec-view.tsx empty state
<Button onClick={() => setShowSetupDialog(true)}>
<Wand2 className="w-4 h-4 mr-2" />
Setup Wizard
</Button>Option B: Add feature generation as separate action
After creating app_spec.txt via Spec view, show a follow-up dialog:
- "Would you like to generate features from this spec?"
- Options: 20, 50, 100 features
Option C: Unify dialogs
Make the Spec view "Create app_spec" dialog identical to the project setup dialog, including the feature count selector.
Files to Modify
| File | Changes |
|---|---|
apps/app/src/components/views/spec-view.tsx |
Add trigger button for setup dialog |
apps/app/src/components/layout/sidebar.tsx |
Export dialog state handlers or lift state |
apps/app/src/components/layout/project-setup-dialog.tsx |
Make component reusable from multiple locations |
Code References
Dialog trigger logic:
apps/app/src/components/layout/sidebar.tsx:912-915- Condition that shows dialog
Skip handler:
apps/app/src/components/layout/sidebar.tsx:535-547- handleSkipSetup function
Spec view empty state:
apps/app/src/components/views/spec-view.tsx:846-852- Current "Create app_spec" button
Acceptance Criteria
- User can access "Set Up Your Project" dialog after initially skipping it
- Feature count selector (20/50/100) is available when creating spec from Spec view
- Dialog can be triggered from Spec view when no app_spec.txt exists
- Existing functionality remains unchanged for new projects
Labels
enhancement, ux, onboarding, good first issue