Skip to content

Add menu item to view the upstream repository of a fork on GitHub - #23122

Draft
joelng25 wants to merge 2 commits into
desktop:developmentfrom
joelng25:view-upstream-on-github
Draft

joelng25 wants to merge 2 commits into
desktop:developmentfrom
joelng25:view-upstream-on-github

Conversation

@joelng25

@joelng25 joelng25 commented Nov 4, 2026 •

Copy link
Copy Markdown

Closes #13533

Description

Adds a View upstream on GitHub item to the Repository menu, right below View on GitHub. It opens the parent repository of the current fork in the browser.

  • The item is only enabled when the current repository is a fork with a known parent on GitHub (gitHubRepository.parent.htmlURL); otherwise it's disabled.
  • Windows/Linux access key: Alt+R, A (u was already taken by Push).
  • No keyboard shortcut added, to avoid clashing with existing accelerators.

Tested locally on Windows with a fork (joelng25/material-ui → opens mui/material-ui) and a non-fork repository (item disabled).

Screenshots

Release notes

Notes: [Added] Add "View upstream on GitHub" menu item to open the parent repository of a fork

Copilot AI balanced review requested due to automatic review settings November 4, 2026 11:35

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has insufficient remaining quota. Try requesting a review at a lower effort level.

@github-actions github-actions Bot added external Pull request originating outside of the Desktop core team needs-triage labels Nov 4, 2026
@joelng25
joelng25 marked this pull request as ready for review November 4, 2026 11:37
@joelng25
joelng25 requested a review from a team as a code owner November 4, 2026 11:37
@joelng25
joelng25 requested review from tidy-dev and a lite review from Copilot November 4, 2026 11:37

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟡 Changes recommended

Focused tests are still missing for the fork and missing-parent-URL enablement cases and for opening the upstream repository, leaving a moderate regression risk in the new menu behavior.

1 open issue

Review effort: Lite

Comment thread app/src/lib/menu-update.ts Resolved
@tidy-dev tidy-dev added the ready-for-review Pull Requests that are ready to be reviewed by the maintainers label Nov 4, 2026
@joelng25

Copy link
Copy Markdown
Author

Can @tidy-dev please look at it?

@joelng25

joelng25 commented Nov 12, 2026 •

Copy link
Copy Markdown
Author

Hi @tidy-dev. The only failing CI job was the artifact upload flake in E2E Smoke Windows x64, the tests themselves passed. Happy to make any changes needed. Thanks!

@joelng25
joelng25 marked this pull request as draft November 24, 2026 15:56

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

external Pull request originating outside of the Desktop core team ready-for-review Pull Requests that are ready to be reviewed by the maintainers

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Menu - Repository - Add 'View fork on GitHub'

3 participants