Skip to content

new "+" option to create an empty dir#1346

Draft
bmdavis419 wants to merge 2 commits intomainfrom
davis/empty-dir-create
Draft

new "+" option to create an empty dir#1346
bmdavis419 wants to merge 2 commits intomainfrom
davis/empty-dir-create

Conversation

@bmdavis419
Copy link

@bmdavis419 bmdavis419 commented Mar 24, 2026

What Changed

added a new modal for creating and opening a new directory at the same time. also added a "default path" setting

image

Why

spinning up a new project is annoying

UI Changes

image

Checklist

  • [ x] This PR is small and focused
  • [ x] I explained what changed and why
  • [ x] I included before/after screenshots for any UI changes
  • [ x] I included a video for animation/interaction changes

Note

Add sidebar option to create a new empty project directory

  • Adds a "+" menu to the sidebar's projects section with two actions: open an existing directory or create a new empty directory.
  • The create-directory dialog lets users pick a base path (defaulting to settings.newProjectBasePath or the OS Documents folder) and enter a project name, then calls api.projects.createDirectory and opens the result.
  • Adds a newProjectBasePath field to app settings and a new Projects section in the settings page for managing the default base path.
  • Implements the projects.createDirectory WebSocket method in the server, rejecting requests if the target directory already exists.
  • Exposes desktopBridge.getDocumentsPath() via IPC so the renderer can fall back to the OS Documents path when no default is configured.
📊 Macroscope summarized ca37b7b. 13 files reviewed, 2 issues evaluated, 0 issues filtered, 1 comment posted

🗂️ Filtered Issues

@github-actions github-actions bot added the size:XL 500-999 changed lines (additions + deletions). label Mar 24, 2026
Copy link
Author

This stack of pull requests is managed by Graphite. Learn more about stacking.

@github-actions github-actions bot added the vouch:trusted PR author is trusted by repo permissions or the VOUCHED list. label Mar 24, 2026
@coderabbitai
Copy link

coderabbitai bot commented Mar 24, 2026

Important

Review skipped

Auto reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: Repository UI

Review profile: CHILL

Plan: Pro

Run ID: 9a5ecbbb-1c3a-4461-b883-e46dae6027cd

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch davis/empty-dir-create

Comment @coderabbitai help to get the list of available commands and usage tips.

- Treat NotFound as the only acceptable inspect failure
- Return a clearer error for unexpected filesystem inspection failures
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size:XL 500-999 changed lines (additions + deletions). vouch:trusted PR author is trusted by repo permissions or the VOUCHED list.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant