Commit 6182ee5
authored
🤖 fix: restore DirectoryPickerModal in ProjectCreateModal (#756)
PR #637 accidentally removed the DirectoryPickerModal integration added
in PR #682.
## Changes
**ProjectCreateModal.tsx:**
- Restored desktop mode: native `pickDirectory()` dialog
- Restored browser mode: web-based `DirectoryPickerModal` component
- Browse button conditionally shown based on platform capabilities
- Theme-aware styling (`text-foreground` instead of hardcoded
`text-white`)
**ProjectCreateModal.stories.tsx (new):**
- 8 Storybook tests covering directory picker flow
- Tests for navigation, selection, cancel, and validation errors
---
_Generated with `mux`_1 parent 27ef4af commit 6182ee5
File tree
2 files changed
+527
-29
lines changed- src/browser/components
2 files changed
+527
-29
lines changed
0 commit comments