Repository navigation
feat(source-control): Graph in the Changes overflow menu; drop extra review-page button - #50204
Merged
AmethystLiang merged 1 commit intoNov 27, 2026
Merged
Conversation
… the extra review-page button The Changes header's ... menu now lists Graph next to the existing icon button, sharing its open action and support probe (disabled while the host probe runs or the host is too old). The branch row no longer shows the separate external-link button; the PR link remains the review entry point. Its now-unused compare-URL builder, dead remote-repo exports and the orphaned locale string are removed.
orca-remote-automation
Bot
requested a review
from brennanb2025
as a code owner
November 27, 2026 00:49
dluxhu
pushed a commit
to dluxhu/orca
that referenced
this pull request
Nov 27, 2026
… the extra review-page button (stablyai#50204) The Changes header's ... menu now lists Graph next to the existing icon button, sharing its open action and support probe (disabled while the host probe runs or the host is too old). The branch row no longer shows the separate external-link button; the PR link remains the review entry point. Its now-unused compare-URL builder, dead remote-repo exports and the orphaned locale string are removed. Co-authored-by: orca-remote-automation[bot] <359726236+orca-remote-automation[bot]@users.noreply.github.com> (cherry picked from commit 88ae778)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
ELI5
The Changes header's
...menu now has a Graph item, so the graph is reachable from the menu as well as the icon button. The branch row also drops a second "open in browser" icon that sat next to the PR link, so that row shows only the branch and the PR link.What Changed
...menu:SourceControlPanelActionsgainsonOpenGitGraph/gitGraphDisabled. The panel passes the sameopenGraphaction and the same singleuseGitGraphSupportprobe the icon button uses. The item is disabled while the probe runs or when the host is too old, and it is absent where there is no Git history (folders). All three places the overflow menu mounts (file-list header, folder-workspace card portal, toolbar) get it throughpanelActions. It reuses the existingGraphstring.PR #…link is unchanged: GitHub/GitLab open the Checks tab, which links to the review page, and other providers open the review page directly.manual-review-url.ts(the button was its only consumer), themanualReviewUrlmemo and its now-unused hook inputs, the unusedbranchFromRef/parseUpstreamexports inremote-repo.ts, and the orphaned locale key in all 11 catalogs.overflowOpenGraphUnsupportedvariant.Why
Graph was the only header action you couldn't reach from the overflow menu. The external-link button duplicated the PR link's job and crowded the branch row, especially at narrow widths with long branch names. Checked against comparable products.
Linked Issue
N/A (maintainer request)
Visual Proof
Fixture screenshots (seeded data, light and dark) are attached below: the overflow menu with Graph enabled and disabled, plus PR rows at minimum and narrow width with a long branch name.
Testing
pnpm fixtures:shot right-sidebar/source-control/panel/source-control-header --theme both)No new tests. Both changes are UI wiring ("menu item does X", "button is gone"), which the repo's test rules exclude.
pnpm check:changedpassed all 31 checks: format, oxlint, typecheck (node and web), localization extraction/coverage/catalogs, React Compiler compat, import boundaries and the other ratchets.change-scope-bar.test.tsxpasses.Performance
None. The menu item reuses the panel's existing Graph support probe, so nothing new is fetched or subscribed to. Removing the compare-URL memo means slightly less work per render.
Risk
Level: Low. Users who relied on the extra icon to open the compare/review page in the browser now go through the PR link (or the Checks tab for GitHub/GitLab). The Graph item disables itself under the same conditions as the icon button. A plain revert backs this out.
Review