Repository navigation
Conversation
…tory instead of its tasks. The tasks list is still there, behind its own Tasks button that you have to click. What changed - Default action: pressing Enter, clicking the result or clicking the main button opens the Repositories page with that repository selected. The main button now says Open repository instead of Open tasks. - Tasks button: a separate Tasks button, shown only for repository results, opens `/tasks?repository=<name>` as before. - Branch selection: when the same repository is monitored on more than one branch, the Repositories page now selects the branch you highlighted in search, not just the first entry with that name. It falls back to the name alone if the branch doesn't match. The page already accepted a "select this repo" signal from the To-Do list's "View Todos" link; search now uses the same mechanism. The changes are in `globalSearchModel.ts`, `GlobalSearch.tsx`, `GlobalSearchResults.tsx` and `RepositoriesPage.tsx`. Tests - I added three unit tests to `GlobalSearch.palette.test.tsx`: Enter opens the repository with its branch, the Tasks button opens the task list, and plans and tasks don't get a Tasks button. All 37 tests in the search and Repositories page test files pass. - A new browser test, `e2e/global-search-repository.pw.ts`, checks the full flow in Chromium, including that the highlighted `release` branch entry is the one selected. Both of its tests pass. - Typecheck and lint show no problems in the changed files. Typecheck does fail in the desktop app and one plan studio test, which can't find the `electron` module in this container; none of those files were changed here. In the preview pane, the GitHub button now wraps onto a second line, under Open repository and Tasks, because three buttons don't fit on one row (see the preview). I captured two previews: the new repository actions in the search panel, and the Repositories page opened from search with the right branch selected.
|
/review |
|
✅ AI Code Review Complete requested by @integry Posted 1 review: |
🔍 AI Code Review — codex:gpt-6-astraOverall EvaluationThe PR changes repository search results to open the Repositories page and adds an explicit Tasks action. It needs minor changes before merge to preserve that action on narrow screens and correctly select entries without an explicit branch. ✅ Consistent default action — Enter, result clicks, and the primary preview button share ✅ Targeted coverage — Added tests cover repository navigation, explicit task navigation, and selection between two named branches. Current checks report 18 passed, none failed or pending. Merge blockersEvery finding below was introduced by this PR and must be resolved before merging. F1: 🔴 Keep Tasks accessible on narrow screens
F2: 🔴 Match repositories without explicit branches
SuggestionsThese are optional follow-ups and are not sent to No suggestions. ScoreThe implementation is focused and has useful coverage with passing current checks, but two reachable selection and accessibility gaps remain. Both can be corrected locally. Score: 6/10 🤖 Review Details
Copy and edit to choose records from this review: 🤖 Review by ProPR |
|
/fix |
|
✅ Applied the requested follow-up changes in commit c79207b
Summary of ChangesI fixed both selected findings, F1 and F2, and the unit and browser tests for them pass. F1: Tasks button missing on narrow screens
F2: repositories without an explicit branch
Tests
I captured one preview: the 390px search palette with the new footer Tasks action. Review digestRisk-tiered paths
Validation evidence
Diff size: 7 files changed, +131/−11 lines Visual previewNarrow-screen repository Tasks actionGlobal search at 390px (preview pane hidden): the highlighted repository's explicit "Tasks for mcptest →" action in the palette footer 🤖 Implementation Details
Undo Changes • View Task Execution 💡 ProPR Slash Commands
🤖 Generated by ProPR |
… browser tests for them pass. I fixed both selected findings, F1 and F2, and the unit and browser tests for them pass. **F1: Tasks button missing on narrow screens** - Below the `md` breakpoint the preview pane, and its Tasks button, is hidden. The palette footer now shows a **Tasks for <repo> →** action whenever a repository is highlighted. It opens the same `/tasks?repository=…` route through the same callback as the Tasks button in the preview pane. - It isn't the default action: Enter still opens the repository. It doesn't show for plans or tasks, and it hides itself at `md` and wider, where the preview's Tasks button is visible. - It's a small `NarrowRepositoryTasksAction` component in `GlobalSearchResults.tsx`. I didn't write it inline in `GlobalSearch.tsx` because that pushed the component past the lint complexity limit, which allows no warnings. **F2: repositories without an explicit branch** - `getItemState` now always sends a branch. If the entry has no explicit branch (missing or empty), it sends `selectBranch: null`, so the "no explicit branch" case is no longer dropped. - A new `findSelectedRepository` in `globalSearchModel.ts` handles the matching, and `RepositoriesPage` uses it. When a branch is given, including `null`, it must match exactly. If only a name is given, as QuickAddTodo's "View Todos" link does, it still picks the first entry with that name. It also falls back to the name if the branch no longer exists. - I found no other code that produces or reads this navigation state. **Tests** - **Unit tests:** I added tests for: - turning a missing or empty branch into `null` - picking the no-branch entry when a `release` entry with the same name comes first - exact matching on a named branch - the name-only fallbacks Three tests in `GlobalSearch.palette.test.tsx` check the footer action: it sits outside the preview, is hidden at `md` and up, opens the repository's tasks, and doesn't appear for non-repository results. Two of the new unit tests fail when I put the old `getItemState` back, so they do catch the bug. All 43 tests in these files pass. - **Browser tests:** The Playwright file now includes a third `integry/mcptest` entry with no branch, and has two new tests: - Choosing that entry selects it rather than the `release` entry. - At 390px, with search opened from the mobile menu, the preview pane is hidden, the footer Tasks action is fully on screen, and tapping it opens the repository's tasks. All 4 browser tests pass. - Lint is clean on the changed files, and typecheck shows no new errors. I captured one preview: the 390px search palette with the new footer Tasks action. PR: #3583 Comment by: @integry (ID: 6915767062) Model: Claude Opus 5.5
|
/review |
|
✅ AI Code Review Complete requested by @integry Posted 1 review: |
🔍 AI Code Review — codex:gpt-6-astraOverall EvaluationThe PR meets the objective: repository results open the selected repository by default, while Tasks remains an explicit secondary action. The implementation is focused and merge-ready within scope, conditional on the remaining test shard completing successfully. ✅ Consistent default navigation — Enter, result clicks, and the primary preview button share ✅ Branch-aware selection — Navigation distinguishes explicit branches from the implicit default entry and preserves compatibility with existing name-only navigation. ✅ Explicit Tasks access — Dedicated desktop and narrow-screen actions retain the repository task filter, with unit and browser tests covering the changed behavior. This review used the supplied code and context only; no commands or tests were run. The supplied checks report no failures and one pending shard. Merge blockersNo merge blockers. SuggestionsThese are optional follow-ups and are not sent to S1: 🟢 Clarify branch fallback documentationIn ScoreThe change fulfills the requested behavior with focused implementation and relevant regression coverage. No merge-blocking defect was verified; final readiness remains conditional on the pending check. Score: 9/10 🤖 Review Details
Copy and edit to choose records from this review: 🤖 Review by ProPR |

AI Implementation Summary
Closes #3582
Branch:
3582/claude-opus-5-5-when-searching-for-reposi-20261116-1009-e3uCommits: ✅ Changes committed (9010091)
AI Processing Completed
Execution Details:
Summary:
When you pick a repository in global search, it now opens that repository instead of its tasks. The tasks list is still there, behind its own Tasks button that you have to click.
What changed
/tasks?repository=<name>as before.The changes are in
globalSearchModel.ts,GlobalSearch.tsx,GlobalSearchResults.tsxandRepositoriesPage.tsx.Tests
GlobalSearch.palette.test.tsx: Enter opens the repository with its branch, the Tasks button opens the task list, and plans and tasks don't get a Tasks button. All 37 tests in the search and Repositories page test files pass.e2e/global-search-repository.pw.ts, checks the full flow in Chromium, including that the highlightedreleasebranch entry is the one selected. Both of its tests pass.electronmodule in this container; none of those files were changed here.In the preview pane, the GitHub button now wraps onto a second line, under Open repository and Tasks, because three buttons don't fit on one row (see the preview).
I captured two previews: the new repository actions in the search panel, and the Repositories page opened from search with the right branch selected.
Review digest
Risk-tiered paths
propr-ui/src/components/GlobalSearch.tsx(+10/−2)propr-ui/src/components/GlobalSearchResults.tsx(+15/−2)propr-ui/src/components/globalSearchModel.ts(+19/−2)propr-ui/src/pages/RepositoriesPage.tsx(+4/−3)propr-ui/e2e/global-search-repository.pw.ts(added, +72/−0)propr-ui/src/components/GlobalSearch.palette.test.tsx(+25/−2)Validation evidence
Diff size: 6 files changed, +145/−11 lines
Detailed Logs:
9eadd652-31ec-4143-ab40-43e6576b79fcLog files stored at:
/usr/src/app/logs/executions/issue-3582-2026-11-16T10-17-41-292Z-conversation.json/usr/src/app/logs/executions/issue-3582-2026-11-16T10-17-41-292Z-output.txtLatest Conversation Messages
This PR was created automatically by ProPR after processing issue #3582.
💡 Need changes?
Comment on this PR to request refinements — the AI agent monitors comments and will update the implementation based on your feedback. Keep iterating until you're satisfied!
Visual preview
Repository result actions
A repository search result now offers "Open repository" as the default (Enter) action, with a separate explicit "Tasks" button and the GitHub link.
Full-size original
Repository opened from search
After pressing Enter on the highlighted integry/mcptest (release branch) result, the Repositories page opens with that exact branch entry selected.
Full-size original