feat(web): drop a folder on the sidebar to add a project - #17
Conversation
yordis
commented
Aug 17, 2026
- Adding the first project is the one thing every install has to do, and it required knowing the app's vocabulary before anything worked: a command palette, an environment, a source, and a typed path.
- Dragging a folder in is how every other app on the machine takes a directory, and it is what people try first. An empty sidebar already looks like a drop target whether or not it is one.
- Dropping opens a prefilled confirmation instead of adding silently, so an accidental drop is still recoverable and the path stays visible before anything is created.
Adding the first project is the one thing every install has to do, and it required knowing the app's vocabulary before anything worked. Dragging the folder in is what people try first, especially against an empty sidebar that already looks like a drop target. Signed-off-by: Yordis Prieto <yordis.prieto@gmail.com>
PR SummaryLow Risk Overview Drops open Add project with the folder path prefilled for confirmation rather than creating a project silently. The command palette bus and reducer now accept an optional New Reviewed by Cursor Bugbot for commit 2774e0d. Bugbot is set up for automated code reviews on this repo. Configure here. |
|
Warning Review limit reached
Next review available in: 36 minutes Limit details: You’ve used all 1 included review currently available under your plan. You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository. How can I continue?After more reviews become available, a review can be triggered using the To avoid repeated limits, reduce automatic review volume by pausing incremental auto-reviews earlier, using label-based review opt-in, excluding WIP or generated PR titles, or requesting reviews manually when the PR is ready. If your team needs uninterrupted high-volume reviews, an organization admin can enable usage-based reviews. How do review limits work?CodeRabbit enforces per-developer PR review limits for each organization. Most developers receive the normal plan review availability. For paid Pro and Pro+ PR reviews, CodeRabbit uses adaptive limits for sustained high-volume activity. When a developer's recent PR review activity reaches the 95th percentile or higher among CodeRabbit users, additional reviews become available more gradually as earlier reviews age out of the rolling window. Please refer docs for additional details. Review details⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Plus Run ID: 📒 Files selected for processing (1)
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Plus Run ID: 📒 Files selected for processing (12)
Included review availability: Your plan includes up to 1 review per rolling hour; 0 remain after this review. WalkthroughThe desktop sidebar now accepts dropped project folders. The preload bridge resolves dropped-file paths, and the command palette opens Add Project with a validated, prefilled path. Tests and documentation cover the new desktop-only flow. ChangesDesktop folder drop
Estimated code review effort: 3 (Moderate) | ~25 minutes Merge Risk: ⚪ Minimal · up to This PR adds folder drag-and-drop project creation with a confirmation step; no actionable merge-blocking risk remains based on the supplied evidence. Sequence Diagram(s)sequenceDiagram
participant User
participant Sidebar
participant DesktopBridge
participant CommandPalette
participant Environment
User->>Sidebar: drop project folder
Sidebar->>DesktopBridge: resolve dropped folder path
DesktopBridge-->>Sidebar: return folder path
Sidebar->>CommandPalette: open Add Project with path
CommandPalette->>Environment: validate primary connection
Environment-->>CommandPalette: return connection status
CommandPalette->>CommandPalette: open browse view at path
Suggested reviewers: Poem
🚥 Pre-merge checks | ✅ 3 | ❌ 2❌ Failed checks (2 warnings)
✅ Passed checks (3 passed)
✨ Finishing Touches 💡 1📝 Generate docstrings 💡
🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
The palette only opens to host the add-project surface, so bailing out of it should not strand the user somewhere they never chose to be. Signed-off-by: Yordis Prieto <yordis.prieto@gmail.com>
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes using default effort and found 1 potential issue.
❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, have a team admin enable autofix in the Cursor dashboard.
Reviewed by Cursor Bugbot for commit 78575e7. Configure here.
A UNC path names a folder inside a Linux distro, not on the Windows host, so sending it to the host environment could never produce a working project. The folder picker already knew this; dropping deserves the same answer. Signed-off-by: Yordis Prieto <yordis.prieto@gmail.com>
Screen.Recording.2026-08-17.at.6.28.59.AM.mov |
