Skip to content

Add local folder picker and git ref comboboxes - #14

Merged
cursor[bot] merged 3 commits into
mainfrom
cursor/repo-commit-picker-976f
Aug 15, 2026
Merged

Add local folder picker and git ref comboboxes#14
cursor[bot] merged 3 commits into
mainfrom
cursor/repo-commit-picker-976f

Conversation

@Modsofthenation

@Modsofthenation Modsofthenation commented Aug 15, 2026

Copy link
Copy Markdown
Owner

Rebased onto latest main (includes the graph/3D work from #13).

The repository field still accepts a pasted path. Browse opens an in-app explorer of the local filesystem so you can pick a git root without typing it.

Base and head stay free-text (paste a SHA, HEAD~1, a branch name). The chevron opens a dropdown of common refs, branches, tags, and the 50 most recent commits for that repo.

Changes

  • GET /api/fs lists directories (git roots are marked)
  • GET /api/git/refs returns branches, tags, and the 50 most recent commits
  • Toolbar browse button + explorer dialog
  • Base/head comboboxes that keep typed values

Review follow-ups applied on rebase

  • Cap how many directory entries the picker scans so huge folders cannot hang the API
  • Treat git worktrees (.git file) as roots in the explorer
  • Resolve refs from a subdirectory of a work tree, not only from the git root
  • Rebuild bundled static assets to match

Tests

  • Unit coverage for directory listing and git ref parsing
  • API coverage for both endpoints
  • Playwright: browse to a repo, type a ref, pick a commit and a branch from the menus
Open in Web Open in Cursor 

@coderabbitai

coderabbitai Bot commented Aug 15, 2026

Copy link
Copy Markdown

Warning

Review limit reached

@Modsofthenation, you've reached your PR review limit, so we couldn't start this review.

Next review available in: 5 minutes

Enable usage-based reviews in Billing to review now. Otherwise, wait until the next included review is available.
You're only billed for reviews past your plan's rate limits ($0.25/file).

How can I continue?

After more reviews become available, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

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 configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro Plus

Run ID: d0166f76-163c-4008-a613-333e4f0f8cc9

📥 Commits

Reviewing files that changed from the base of the PR and between 019a0f9 and fbe178e.

📒 Files selected for processing (19)
  • src/loadpath/server/app.py
  • src/loadpath/static/assets/LayeredGraph3D-CoG8lubm.js
  • src/loadpath/static/assets/index-DVQVwbDy.js
  • src/loadpath/static/assets/index-aoV_COFI.js
  • src/loadpath/static/assets/index-fLLLv9tC.css
  • src/loadpath/static/index.html
  • src/loadpath/workspace.py
  • tests/e2e/test_api_flow.py
  • tests/e2e/test_ui_flows.py
  • tests/unit/test_workspace.py
  • ui/src/App.tsx
  • ui/src/RefCombobox.tsx
  • ui/src/RepoExplorer.tsx
  • ui/src/api.ts
  • ui/src/icons.tsx
  • ui/src/refs.test.ts
  • ui/src/refs.ts
  • ui/src/styles.css
  • ui/src/types.ts

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

cursoragent and others added 3 commits August 15, 2026 06:09
The repository field still accepts a pasted path, and Browse opens an
in-app explorer of the local filesystem. Base and head remain free-text
so SHAs and refs can be typed in, with a dropdown of common refs,
branches, tags, and the 50 most recent commits.

Co-authored-by: Damon  <Modsofthenation@users.noreply.github.com>
Navigating with Go/Up while the initial listing is still in flight no
longer overwrites the folder the user just opened.

Co-authored-by: Damon  <Modsofthenation@users.noreply.github.com>
The folder picker no longer materializes huge listings, and base/head
menus work when the selected path is inside a work tree rather than at
the git root. Rebuild the bundled UI so the static assets match.

Co-authored-by: zord.lack.net <zord.lack.net@gmail.com>
@cursor
cursor Bot force-pushed the cursor/repo-commit-picker-976f branch from 562afed to fbe178e Compare August 15, 2026 06:11
@Modsofthenation
Modsofthenation marked this pull request as ready for review August 15, 2026 06:12
@cursor
cursor Bot merged commit 07b2464 into main Aug 15, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants