You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Improve tab never shows the reference-repository selector #2937
On the repository Improve tab you can't pick a reference repository. The panel has a selector for one, and the API accepts it, but the selector never appears because nothing passes it a list of repositories.
RepoImprovementsPanel renders ReferenceRepoSelector only when availableRepos.length > 0; the prop defaults to [] (propr-ui/src/components/Repositories/RepoImprovementsPanel.tsx:74, :252).
RepoActionContainer renders the panel without availableRepos (propr-ui/src/components/Repositories/RepoActionContainer.tsx:310), so the selector is always hidden.
Everything after the selector is already wired. The container forwards referenceRepoId to generateRepoImprovements, the /api route reads it (packages/api/routes/repoImprovementsRoutes.ts:16), and the MCP tool exposes it as referenceRepository (packages/api/mcp/toolsImprovements.ts:35).
As a result, comparing against a reference repository works only through MCP.
Expected
The Improve tab lists the indexed repositories the user can access, excluding the current one, as reference options. Picking one sends referenceRepoId with the generate request.
Suggested fix
In RepoActionContainer, load the indexed repositories with the same loader the planner setup uses for its repository list, map them to ReferenceRepo, and pass them as availableRepos.
Add an e2e or component test asserting that the selector renders when other indexed repositories exist and that the chosen id reaches the request.
Found while updating the propr.dev improvement-suggestions page. For now the page describes reference repositories as MCP-only.
Activity
propr-dev commentedon Oct 10, 2026
🤖 AI processing has started for this issue using claude agent with claude-opus-5-5 model.
I'll analyze the problem and work on a solution. This may take a few minutes.
Processing Details:
claudeclaude-opus-5-52937/claude-opus-5-5-improve-tab-never-shows-t-20261010-2100-gtxmainissue-2937-20261010-2100-claude-opus-5-5-gtx🔍 Track Task Execution